Project

General

Profile

Revision 2237e1f0

ID2237e1f0a505e07f01a4d3d3bfa818fba34e9386

Added by Thomas Mullins about 11 years ago

Changed motor max speed and added constants in set_motors.msg

The new speed range is -100 to 100, to be consistent with the pwm
driver. They can be accessed with motors::set_motors::MIN_SPEED and
motors::set_motors::MAX_SPEED respectively.

View differences:

scout/motors/msg/set_motors.msg
5 5
bool br_set
6 6
bool teleop_ON
7 7

  
8
# The absolute motor speeds to set (-128 to 127)
9
# TODO check that this is the correct range
8
# The absolute motor speeds to set
10 9
int8 fl_speed
11 10
int8 fr_speed
12 11
int8 bl_speed
13 12
int8 br_speed
13

  
14
int8 MAX_SPEED = 100
15
int8 MIN_SPEED = -100

Also available in: Unified diff