If all of your connections are sound, I'm with Frank as to problem #1 - two CIMs through CIMple boxes does not give you much drive force, especially with tank treads.
Looking at your code, I also noticed that you declared one jaguar motor controller but say you are using two Victors. I'm not sure what is supposed to happen with one jaguar.
Also, the sleep(10) inside the while(active) loop means that you are only executing the loop once every 10 milliseconds unless you catch an exception. I'm not sure what you're trying to do, but this probably doesn't do it. If I read it correctly, the jaguar will get a small speed value the first pass through, then ten ms later jump considerably towards if not right to the targetSpeed. The 10 ms sleep mostly undoes what appears to be an attempt to slowly ramp up the voltage.
Edit:
Quote:
Originally Posted by team3192
Something to note is that the build team tells me that there is a two stage reduction gear ratio inside the CIMple box itself.
|
Only if you've made serious modifications to it - it's a singe stage gear box (two gears). A single-speed two-stage gear box will have four gears, plus another for each motor after the first.
Here's the web page on the CIMple box.