Quote:
Originally Posted by pfish3138
Okay. I'm new to Chief Delphi. So, do you have an answer?
|
Try removing the dash->putnumber (and potentially replacing it with a printf). Sometimes interacting with smart dashboard crashes the robot code. Also look at the netconsole/ WTX console output for errors.
Edit: as I look at it again, dash-> put number is never actually called. You have to put it in a function/constructor. I think you want:
Code:
void PWMTester::Update
{
dash->PutNumber("PWM Output", m_PWMTester.GetRaw());
}
I'm not sure if it was initialized somewhere else, but looking at this snippet, "dash" was never declared... Although I'm not exactaly sure what your trying to do here. The default victor class values should work, shouldn't they?