Quote:
Originally Posted by thefro526
Tdorthebnator and I were talking about this the other day. This Auto/Hybrid mode is easier than 06's (if you were a dumper or defense). I'm gonna go harass our programmer on monday about this and see if he wants to get started on it. If your using easy c the code can be written in about 30 seconds so i think most teams are gonna have some kind of hybrid action
|
In EasyC Pro which we use it is easy to get the four points.
Once Hybrid startrts, wait a bit to let people clear, drive forward for XX seconds calculate how long it takes to cross line then stop. Most robots will not go straight but the distance is so close that it will be ok. You can even aim different to adjust.
For 8 points: Drive straight until clear the lane, again guess on time and adjust, do a 90 left again guess the time it takes and adjust and then drive straight again for xx seconds. You should be able to get 8 points with practice a certain percentage of the time, but should always get 4 points.
To get various amounts of wait, have a jumper on one of your digital input ports and read that. You can have several for several times to wait.
Ours is a bit more ambitious using encoders and other sensors.