|
Re: Has anyone posted their autonomous code from 2007?
this year we didnt have auto mode, but next year i hope to. so far, unless the competition has absolutely no point in using omni wheel, we want to use them. over the long weekend i was bored and wrote some dead-reckoning omni wheel autonomous code. some of the functions are not included. honestly, i dont even know if this code works.lol
anyways, the not included functions:
blend - inputs 2 numbers, subtracts 127, adds them together, spits out the value
speed - subtracts 127 from the values so 0 becomes neutral instead of 127.
*EDIT*
the robot also uses a gyroscope, and when doing a straight line, should correct itself.
also, the turnLeft and turnRight functions just turn the robot on a pivot point, like tank drive.
|