Quote:
Originally Posted by Tanner
Protecting kicker->Act(); from re-entering? Sorry, but what do you mean by that? I've never heard of that.
-Tanner
|
You are running AutonomousContinuous, which means the cRIO is repeatedly running your autonomous code as fast as it possibly can. You are calling the kicker->Act() method each time. I haven't seen the rest of your code; if there's another concurrent thread which also calls kicker->Act() it might cause a problem.
Removing everything except
drivetrain->ArcadeDrive(autonomousForwardPower, 0.0);
and testing to see if that fixes the problem is a quick way to help pinpoint the problem.