|
Re: Free programming help
Ok to those who claim i am not done with my code i admit that is an exaduration, i still have a lot of testing and debugging that i need our mechanical to finish the design so until then i am done, also i have done a number of playing with kevin watson's code for the camera and i have even modified his tracking algorith so that i can tell it to search certain zones where the light should be.
Now for those asking help:
OUMONKEY: for dead reckoning i would generally recomend against it, but if you want you can do it for a basic autonomous(2 of my three autonomous start out with it then they calculate where they are and travel to where it needs to go based on the camera input)
basically in dead reckoning you depend on the way your robot has behaved to tell where it should be on the feild, you can calculate this by taking what PWM value was sent for how long and use the robots speed to find where it is, accelerometers and gryos can be used to tell how the robots possition is changed, a vertically mounted gyro can tell you how much the robot has turned to make sure you know where you are pointed.
when you have actual code email it to me and i will help you get it working if you want
DALCH17:
I would recomend that you start by looking at some C tutorials found hiding on USFIRST.org also download the default code from ifirobotics.com or download the camera code from kevin.org/frc and use that if you still have questions once you have started then just let me know
|