View Single Post
  #15   Spotlight this post!  
Unread 05-04-2003, 23:52
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
multiple switches

Multiple switches isn't a good idea. We had 4 switches, however, we decided to separate the different programs into different files and only use the switch for left and right, which simply reverses the pwms. The reason being, the robot takes x amounts longer to load when it has more code to process. By removing and separating the programs into different files, we were able to speed up our auton from 5 seconds to 3 seconds.

- Ryan
__________________
R