|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Problems with LabView Default Code
hmm, sounds pretty generic, how fast is fast?
|
|
#2
|
|||||
|
|||||
|
Re: Problems with LabView Default Code
As fast as you tell it to be. The error is caused by the Motor Safety for the drive code (since the error cites RobotDrive as the error's source). That means that the code has exceeded the time limit (defaults to 100 ms) set for the maximum time between updates to a motor's speed (this prevents runaway motors). Each time you set a new value to the motor, the timer is reset until the next update. You can change the timeout for the safety by using the Safety Config VI (WPI Robotics Library->RobotDrive->Advanced) and setting the timeout to whatever value you want.
But in order to solve the bigger problem, I'd recommend going through your code and trying to fix anything that could be slowing it down this much. Often, an unhandled error somewhere in your code is the culprit. Or you could have loops executing within your teleop code that cause one iteration to take too long. Or you could just have too much code in your loop and it simply takes too long to execute. |
|
#3
|
|||
|
|||
|
Re: Problems with LabView Default Code
Quote:
Quote:
Quote:
|
|
#4
|
|||||
|
|||||
|
Re: Problems with LabView Default Code
You can probably find one on your 2011 LogoMotion robot.
|
|
#5
|
|||
|
|||
|
Re: Problems with LabView Default Code
We could, if we had one, this is our first year as a team!
|
|
#6
|
|||||
|
|||||
|
Re: Problems with LabView Default Code
Oops. I misread your team number as 3636. Sorry about that.
Look to local teams as resources. You might try contacting someone on Team Hammond (team 71), The Black Knights (team 135) in Mishawaka, or the RoboDogs (team 2171) in Crown Point. |
|
#7
|
||||
|
||||
|
Re: Problems with LabView Default Code
I think 3936 would be a rookie number.
The DB37 cables are used in computers, try a local computer store. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|