|
Re: Little help Please (with dead reconing code)
I had thught abot the possibilitie of drifing as well as the costing from the winding down of or motors but i plan on settin a small revers flow for .2 seconds inorder to have the motor wind down quicker then turn. i do need to know how to get a motor running for so many second then stop becuaewe need to raise our arm durring autonomous mode aswell as get it to swing to remove those 10 point balls and i want to have a backup autonomus just incase our line seeking doesnt work. I have been toying with IR but, im not exactly sure how to implement the IR beacon tracing, it seems s though the robot would not work as exact.
what i really need to know is how to:
1. get a motor to spin for X-many seconds at Y-many speed
2. get each line to execute at the right time.
3. get the code to execute 2 lines a the same time for differnt lengts of time and power
all of which im havng trouble figuring out, so if anyone could give me a hand i would appreciate it !!
__________________
If saftey is first and i put FIRST ahead of everything, then i must be the safest guy in the world.
Team 521 Alumni -- Team 1740 Mentor-- Go Go 1740!
Sometimes I think I've been doing this too long and other times I think I haven't done this enough... but all the times I'm sure I'm crazy Photonics, It's Your Future
Last edited by Xufer : 20-02-2004 at 22:15.
|