Revision 0121ead7
Added the ROS stack with the libscout, motors, and sonar packages to the reposititory, and associated files. There are probably still things missing. Libscout won't run properly, but it and motors will compile. Sonar is probably broken, but nothing depends on it yet, so this shouldn't be an issue.
scout/motors/src/motors.h | ||
---|---|---|
43 | 43 |
#include "motors/query_motors.h" |
44 | 44 |
#include "motors/set_motors.h" |
45 | 45 |
|
46 |
/* Motor state variables */ |
|
47 |
int motor_fl_speed; /**< The current speed of the front left motor. */ |
|
48 |
int motor_fr_speed; /**< The current speed of the front right motor. */ |
|
49 |
int motor_bl_speed; /**< The current speed of the back left motor. */ |
|
50 |
int motor_br_speed; /**< The current speed of the back right motor. */ |
|
51 | 46 |
|
52 | 47 |
/** @brief Initialize the motors module and driver **/ |
53 | 48 |
int main(int argc, char **argv); |
Also available in: Unified diff