![]() |
Output not updated often enough
So I am using command-based programming. I have a cliche tankDrive command class which calls a tankDrive method of my chassisSubsystem class. Pretty straightforward. When I call any method of the RobotDrive class, everything works fine. However, when I call one of the CANJaguar's that I passed into the RobotDrive constructor individually, I get the following message:
Quote:
Code:
Can anyone help me? Thank you so much in advance! |
Re: Output not updated often enough
It means exactly what it says. You have to update the outputs often enough or they won't function. It's a safety device built into the WPILib and the cRIO.
As for how to fix it, I'm not sure, as I can't see all of your code and I'm not familiar with the CANJaguar and RobotDrive classes. |
Re: Output not updated often enough
This is a function that is repeatedly called by a command every few milliseconds. That's not often enough? Would I have to call the setX commands more often?
|
Re: Output not updated often enough
Quote:
|
| All times are GMT -5. The time now is 10:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi