Revision 2814387f
Updated motors code.
Changed the definitions for the set_motors message, which forced a few
implementation changes as well.
Changed "libscout_node" to "node" and "n" to "node" in other packages.
scout/motors/msg/set_motors.msg | ||
---|---|---|
1 | 1 |
Header header |
2 |
int8 fl_speed |
|
3 |
int8 fr_speed |
|
4 |
int8 bl_speed |
|
5 |
int8 br_speed |
|
2 |
|
|
3 |
# Keeps track of which motors need to be changed |
|
6 | 4 |
int8 which |
5 |
|
|
6 |
# Set these to true if the motor should be updated |
|
7 |
bool fl_set |
|
8 |
bool fr_set |
|
9 |
bool bl_set |
|
10 |
bool br_set |
|
11 |
|
|
12 |
# The motor speeds, from -255 to 255 if absolute |
|
13 |
# -100 to 100 if percentage |
|
14 |
# Decimal values if in measured units |
|
15 |
float32 fl_speed |
|
16 |
float32 fr_speed |
|
17 |
float32 bl_speed |
|
18 |
float32 br_speed |
|
19 |
|
|
20 |
# Allows motor speeds to be specified mm/s, cm/s, percent, or absolute |
|
7 | 21 |
int8 units |
Also available in: Unified diff