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.
 
 
 
 

9 lines
398 B

#include "stdbool.h"
void motor_init();
void motor_encoder_init();
void motor_set_position(int speed_level, double position, int direction);
bool motor_cmd_set_position(int speed_level, double position, int direction);
bool motor_validation_set_position_parameters(int speed_level, double position, int direction);
int motor_find_short_path_direction(double position);
double motor_read_encoder();