View Single Post
  #13   Spotlight this post!  
Unread 24-03-2016, 15:51
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,564
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Severe voltage drop

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 View Post
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.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 24-03-2016 at 16:22. Reason: ms, not seconds