|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Trouble with Drive System
Hey guys. We just finished our robot today (yay!) and went to test our program (LabView, we had too many problems teaching Java last year...). It was basic drive program with a single motor being turned based on whether the trigger was pressed. I ran it and enabled the robot on TeleOp on the DS and ... no luck.
![]() The error the driver station threw back was that the TeleOp loop was going too slowly. It also spit out a slew of random characters. I tried a default drive program too (the basic RoboRio arcade drive program) and got the same error. I'll post the exact error later when I have the DS with me along with the program. but for now does anyone have any idea what may be wrong? Thanks for all the help! |
|
#2
|
||||
|
||||
|
Re: Trouble with Drive System
If you have too much code in your teleop.vi it'll bog down the roboRIO which will affect your ability to drive. Try to minimize your teleop code to just drive and maybe a couple of other things. You can run a lot of your code in periodic tasks.
|
|
#3
|
|||||
|
|||||
|
Re: Trouble with Drive System
If the too slow error only prints once or twice, after the robot is first started, that might be okay. To check, clear the errors after the code's running and see if it occurs again while operating the driver controls normally.
|
|
#4
|
||||
|
||||
|
That's the thing, there is not code in the teleop because the error occurred even when we were using the basic arcade drive program template in LabVIEW. And Mr. McLeod I don't understand what you mean...
|
|
#5
|
||||
|
||||
|
Re: Trouble with Drive System
Hey guys, so I finally was able to get a hold of the DS laptop to look at the DS logs and this is the exact error that is being spit back out during teleop:
Code:
3:33:49.792 PM ERROR -44061 occurred at "Left and Right Motors" in the VI path: Robot Main.vi FRC: The loop that contains RobotDrive is not running fast enough. This error can occur if the loop contains too much code, or if one or more other loops are starving the RobotDrive loop. |
|
#6
|
||||
|
||||
|
Re: Trouble with Drive System
Quote:
|
|
#7
|
||||
|
||||
|
Re: Trouble with Drive System
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|