Thread: RobotDrive Bug?
View Single Post
  #1   Spotlight this post!  
Unread 02-02-2010, 11:09
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: RobotDrive Bug?

Quote:
Originally Posted by Joe Ross View Post
I'm having trouble following what you are doing in your code. Are you constructing a RobotDrive object with 3 CanJaguars and one Victor?

Regardless of whether you can get the software to work, I would not mix Jaguars and Victors in the same drivetrain and especially not in the same transmission. Look at these speed curves and think about what happens when you have an output of .1 to both the Jaguar and the Victor and the Jaguar is going 10% speed and the Victor is going 50%. You're motors will be fighting the whole time.
Thanks for your reply Joe, but how many times did I mention that this is only a temporary hack? Regardless of whether it's a smart thing to do, the code should still work. And yes, essentially it breaks when I instantiate with 3 Jags and 1 Victor. What's worse is that it breaks other code that isn't even part of the same class.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.