Revision 2237e1f0
ID | 2237e1f0a505e07f01a4d3d3bfa818fba34e9386 |
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.
scout/scoutsim/src/sim_frame.h | ||
---|---|---|
80 | 80 |
#define ID_TELEOP_PRECISE 8 |
81 | 81 |
#define ID_TELEOP_FLUID 9 |
82 | 82 |
|
83 |
// Absolute speeds (-128 - 127)
|
|
83 |
// Absolute speeds (-100 - 100)
|
|
84 | 84 |
/// @todo: Clean this up a little; we should be risking overflowing shorts. |
85 |
#define TELEOP_PRECISE_SPEED 60
|
|
86 |
#define TELEOP_PRECISE_TURN_SPEED 124
|
|
87 |
#define TELEOP_FLUID_MAX_SPEED 100
|
|
88 |
#define TELEOP_FLUID_INC 8
|
|
85 |
#define TELEOP_PRECISE_SPEED 47
|
|
86 |
#define TELEOP_PRECISE_TURN_SPEED 98
|
|
87 |
#define TELEOP_FLUID_MAX_SPEED 79
|
|
88 |
#define TELEOP_FLUID_INC 6
|
|
89 | 89 |
|
90 | 90 |
// Teleop types |
91 | 91 |
#define TELEOP_OFF 0 |
Also available in: Unified diff