You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
398 B

3 years ago
3 years ago
  1. #include "stdbool.h"
  2. void motor_init();
  3. void motor_encoder_init();
  4. void motor_set_position(int speed_level, double position, int direction);
  5. bool motor_cmd_set_position(int speed_level, double position, int direction);
  6. bool motor_validation_set_position_parameters(int speed_level, double position, int direction);
  7. int motor_find_short_path_direction(double position);
  8. double motor_read_encoder();