|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Problems with LabView Default Code
I agree, it would be good to know why it is throwing errors (what does the 44061 even mean?), but with one day left until ship, I'm sure that a rookie team just wants to bag a functioning robot.
My team, LASA Robotics, was encountering this same issue. We lengthened the safety timeout to 3 sec. and all our errors went away. On the original issue, if you are using the KOP ribbon, you should read this: http://www.usfirst.org/sites/default...structions.pdf that would explain the mismatch of channels in software and hardware. |
|
#2
|
|||
|
|||
|
Re: Problems with LabView Default Code
The error is -44061 and the Explain error tool describes it as ...
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. Greg McKaskle |
|
#3
|
||||
|
||||
|
Re: Problems with LabView Default Code
hmm, sounds pretty generic, how fast is fast?
|
|
#4
|
|||||
|
|||||
|
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. |
|
#5
|
|||
|
|||
|
Re: Problems with LabView Default Code
Quote:
Quote:
Quote:
|
|
#6
|
|||||
|
|||||
|
Re: Problems with LabView Default Code
You can probably find one on your 2011 LogoMotion robot.
|
|
#7
|
|||
|
|||
|
Re: Problems with LabView Default Code
We could, if we had one, this is our first year as a team!
|
|
#8
|
|||||
|
|||||
|
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. |
|
#9
|
||||
|
||||
|
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 |
|
|