ActivityBot mobility issue
metalRabbit
Posts: 5
My friend and I are working together on an Activity Bot. He handled the circuitry and I'm handling the C language for what we eventually want to do. I'm having a problem with this little thing where the left wheel does not want to move forward. This is the simple code used to test the wheels:
This makes the right wheel move forward as expected, but not the left. When the parameters are changed to (-16,16) the left wheel moves backwards while the right moves forward. Every other combination where the left wheel is supposed to be moving forward doesn't seem to work. I've tried running the tutorials for the Activity Bot, and the problem seems to persist. I really just want to know if there's anything I can do programming-wise, before blaming the hardware or circuitry. >_<
#include "simpletools.h"#include "abdrive.h" int main() { drive_goto(16,16); return 0; }
This makes the right wheel move forward as expected, but not the left. When the parameters are changed to (-16,16) the left wheel moves backwards while the right moves forward. Every other combination where the left wheel is supposed to be moving forward doesn't seem to work. I've tried running the tutorials for the Activity Bot, and the problem seems to persist. I really just want to know if there's anything I can do programming-wise, before blaming the hardware or circuitry. >_<
Comments
-Phil
If you try recalibrating and are still having issues, could you post the output from your calibration table here for us to see? That might help us find the problem.
This is the output on the console after running ActivityBot Display Calibration:
-Phil
http://learn.parallax.com/activitybot/electrical-connections
http://learn.parallax.com/activitybot/test-encoder-connections
Notes: Make sure to stick with the 20 k pullups called for in the Electrical Connections page. Here is an example of what your interpolation table should resemble when the electrical connections are correct. Although this table is showing top speeds in the 170 ticks/second range, yours will vary with battery voltage. Top speeds in the 170 to 200 range are typical.