Open 5yler opened 7 years ago
Using the usec_left
values on arduino/motors
instead of velocity on the state
topic because they are equivalent to the radio commands received at the same timestep, as converted by the formula:
mot_msg.usec_left = 1500 + (2 * radio_msg.speed_left)
This needs to be updated because the values on
arduino/radio
are invalid. Thegigatron_hardware/Radio.msg
definition incorrectly had the speed command fields asuint8
instead ofint16
, so all throttle radio commands from rosbags before thegigatron_msgs
refactoring are unusable - though we can use the actual velocity values of the car instead.