|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Robot Drive Not Running Fast Enough
That means your Teleop processing is taking longer than 100ms.
If you'd like to attach your Teleop.vi we could check it for low code. Generally, no delays, no loops, no massive amounts of complex code. If the msg occurs just once, then there is not much cause for alarm. It could just be a startup delay. If it repeats regularly, then the user code is too slow. Last edited by Mark McLeod : 20-02-2015 at 09:37. |
|
#2
|
||||
|
||||
|
Re: Robot Drive Not Running Fast Enough
Quote:
|
|
#3
|
|||||
|
|||||
|
Re: Robot Drive Not Running Fast Enough
Quote:
For instance, while the default code running at startup doesn't typically throw any "too slow" errors, it will during autonomous because the motors aren't used in there by default. However if the identical code is run in debug with all it's attendant front panels and comms back to the laptop we might see one "too slow" message during initialization. More msgs will appear as we just drag any front panel around. Another possible cause might be the addition of code somewhere that takes longer to initialize, for instance a Gyro that has a default calibration time of 2 seconds. Last edited by Mark McLeod : 20-02-2015 at 19:18. |
|
#4
|
||||
|
||||
|
Re: Robot Drive Not Running Fast Enough
Here's my code:
![]() ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|