|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Using TimerTasks
Is it a good idea to create TimerTasks to take care of updating certain portions of the robot, such as the drive train or the ball handling system? For instance, if there is something that needs to be called regularly (like setting the Jaguars for motors or checking limit switches, etc.) just set a TimerTask to call it at a 20ms period so that we don't have to worry about updating.
I have them working, but I'm wondering if there are any disadvantages that I'm missing, and also hoping to help anyone who wants to try. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Magnets | 1jbinder | Rules/Strategy | 6 | 23-01-2008 19:42 |
| using tangent | LightWaves1636 | Math and Science | 2 | 13-02-2006 08:06 |
| Using Potentiometers | arpus maximus | Electrical | 5 | 20-11-2004 16:45 |
| Using Linux? | Raven_Writer | IT / Communications | 41 | 05-07-2004 16:53 |
| Using Flash | Keys | Website Design/Showcase | 8 | 12-03-2003 18:31 |