Revision c9f87aaf
Added code inside motors.cpp to set and read individual speeds in different units. Also added appropriate headers to motors.h, and units field to query_motors.srv and set_motors.msg
scout/libscout/src/libmotors.h | ||
---|---|---|
68 | 68 |
#define MOTOR_PERCENT 'p' |
69 | 69 |
#define MOTOR_MMS 'm' |
70 | 70 |
#define MOTOR_CMS 'c' |
71 |
#define MOTOR_ABSOLUTE 'a' |
|
71 | 72 |
|
72 | 73 |
void libmotors_init(); |
73 | 74 |
int motors_set(int speed, int which); |
Also available in: Unified diff