5 #ifndef ARUNA_MOVEMENT_H 6 #define ARUNA_MOVEMENT_H 11 namespace aruna {
namespace movement {
141 #endif //ARUNA_MOVEMENT_H
uint8_t test_sensor()
test whenever the sensors are connected, sensor should be horizontal and facing up.
void set_velocity(axis_mask_t axisMask, int16_t mm_per_second)
Set the target velocity of the ROV.
void calibrate_sensors()
Calibarte the sensors, aka set 0 point.
int16_t get_speed(axis_mask_t single_axis)
Get the speed of an axis.
status_t get_status()
get the status of the movement unit.
int16_t get_velocity(axis_mask_t single_axis)
get the current velocity
int16_t get_degree(axis_mask_t single_axis)
get the angle of an axis (pitch, roll and yaw only)
err_t unregister_driver(Actuator *driver)
unregister a accelerator driver for use.
void set_damping(axis_mask_t axisMask, damping_t damp)
set the damping type.
void * comm_handler_task(void *arg)
task to handle all the incoming comm requests.
void set_degree(axis_mask_t axisMask, int16_t degree)
set the degree of an axis (only applies to yaw, pitch and roll)
status_t stop()
Stop all motors and free all processes.
Link * driver
stores the driver.
damping_t get_damping(axis_mask_t single_axis)
get the damping of a single mode.
axis_mask_t get_active_axis()
Get active modus (X,Y,Z,yawn,pitch,roll)
err_t register_driver(Actuator *driver)
register a accelerator driver for use.
void set_speed(axis_mask_t axisMask, int16_t speed)
Set the speed of the motors directly.
status_t start()
initialise movement and communicate with hardware for active modes.