Thread: RobotDrive Bug?
View Single Post
  #2   Spotlight this post!  
Unread 02-02-2010, 15:20
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: RobotDrive Bug?

Quote:
Originally Posted by Bryscus View Post
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
Bryce,

Can you describe exactly what happens? It's possible you found a bug, but we'll need you to do more experimentation to narrow it down.

You are using C++, right? I can't tell since you are in the generic Programming forum.

Are you getting any errors (in the diagnostics tab on the Driver Station)... the C++ classes use the ErrorBase and depending on where the errors get passed could cause this type of behavior. Other than that, I have no idea what could cause it.

-Joe