|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Robot drive... Output not updated enough.
Im triying to call a digital in from the driverstation and when i enable the robot i get spammed with this line, any ideas thanks
|
|
#2
|
||||
|
||||
|
Re: Robot drive... Output not updated enough.
This is affecting our team as well. Were you using the SmartDashboard at the time by any chance? We think it might have to do with that.
|
|
#3
|
|||
|
|||
|
Re: Robot drive... Output not updated enough.
Our team was also having problems with this, but we found that it has to do with the RobotDrive object in your code. As long as it does not have access to the specified jaguars or there is no joystick, it will be unable to perform the task RobotDrive.arcadeDrive(), or whatever method you are using to drive. For testing purposes, just comment out everything having to do with RobotDrive and you should be fine.
|
|
#4
|
|||
|
|||
|
Re: Robot drive... Output not updated enough.
Another thing you can do is call the RobotDrive method: setSafetyEnabled(false)
-Maciej |
|
#5
|
||||
|
||||
|
Re: Robot drive... Output not updated enough.
Quote:
![]() |
|
#6
|
||||
|
||||
|
Re: Robot drive... Output not updated enough.
Our program, test, was working on SimpleRobot and we switched to Iterative, but now the error for updating Robot Drive appear. I tried setSafetyEnabled(false) but that only stopped the error. Nothing moves and I don't know what to do
Any advice or comment would be helpful right now. Thank you in advanced! |
|
#7
|
||||
|
||||
|
Re: Robot drive... Output not updated enough.
UPDATE: just after my post, the robot drive train moved. After a few minutes, it disconnected because a CRIO wire came loose. Then the autonomous made one motor move really slowly, which was not supposed to HAPPEN! Now it doesn't move again.
Any comments, advice, or anything else will be greatly appreciated1 |
|
#8
|
|||
|
|||
|
Re: Robot drive... Output not updated enough.
Quote:
|
|
#9
|
||||
|
||||
|
Re: Robot drive... Output not updated enough.
Our team has encountered this error a lot. It mostly has to do with either the Timer.delay() method or the robotDrive.setSafetyEnabled() method. Check to see also if your code contains
Code:
while(isEnabled() && isOperatorControl()) {
}
|
|
#10
|
|||
|
|||
|
Re: Robot drive... Output not updated enough.
Restart the driver station.
|
|
#11
|
|||
|
|||
|
Re: Robot drive... Output not updated enough.
Scratch that. It only fixed it for a second. After inverting one side of the wheels (only one line of code), everything stopped working again. This happened even after I stripped the code of everything except joysticks and robotdrive. Help!!!
|
|
#12
|
|||
|
|||
|
Re: Robot drive... Output not updated enough.
Did anyone ever get a definitive solution to this? We are at the regional and cannot figure this out!!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|