|
Loop Timing on Robot Drive
We have been doing some experimenting with an issue we have put off for a while. We read our joysticks in teleop and then set global variables. We actuate the motors, including drive in periodic.
This works well and our robots drives just fine. However when we set our loop time to 100ms, setting our Drive vi, we get the following error/message at the diagnostic tab of the driver's console.
Robot drive is running too fast or being starved due to too much code.
When we set that loop for 10ms, no diagnostics error/message.
The performance of the robot does not change. The setting of the drive is the only action in the loop. This error does not seem to hurt us, but I have wondered for a while why we get it and was hoping for some help from the community.
__________________
http://www.team1912.com
2013, 2012, 2011, 2010 Regional Chairman's Award, Bayou Regional
2013 Woodie Flower's Award, Bayou Regional
2012 Dean's List Winner (Rachel Holladay)
2015, 2014, 2013, 2012, 2011, 2010 Beta Test Labview/Hardware
2012, 2011 Best Website, Bayou Regional
2011, 2009, 2006 Gracious Professionalism
2007 Bayou Regional Winner
|