Quote:
Originally Posted by Bryscus
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