Closed alexispascual closed 3 years ago
For the most part, the greenbot.ino Arduino script does this already. We now have to figure out how to do reversing.
TODO: Reversing wheels
I just realized. It would be better if we do the processing on the node and simply send movement commands to the Arduino. This would be way better in the long run.
We also need to send speeds. For now, the movement we'll have to worry about first is just going forwards and backwards, and turning on the spot. We'll worry about turning while moving forward in the future (if we have to).
Successfully wrote a package for listening to Joy messages. This package sends speed as well as direction information.
TODO: Modify teleop_greenbot package to accept the new messages.
This was completed yesterday. Testing will resume once the encoder cables have arrived.
Twist messages output linear and angular velocities. We need to translate this directly to PWM signals on the motor controllers.