Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Little help Please (with dead reconing code) (http://www.chiefdelphi.com/forums/showthread.php?t=25638)

Xufer 20-02-2004 22:03

Re: Little help Please (with dead reconing code)
 
then does anyone know how i could begin a counting steps or loops in the code ? I really only know C from when i did a litle cgi, i have never used it in this application before.

jacob_dilles 20-02-2004 22:16

Re: Little help Please (with dead reconing code)
 
we have the banner sensors hooked up so that every time the drill motor turns 1 revolution it clicks twice. both wheels have one. that way we can not only accuratly turn, but also compensate for errors in slipage as we know how many clicks SHOULD be per x loops and how many ARE per x loops. it works very well and i wrote easy_left_turn(time), easy_right_turn(time), hard_left_turn(time), hard_right_turn(time), drive_slow(time), drive_fast(time) functions that all have automatic slipage comensation. if i can get the code on a floppy ill be glad to post it. so far its worked perfectly

Xufer 22-02-2004 20:12

Re: Little help Please (with dead reconing code)
 
yea id like to see something like that, i looked at team 236's auton code like that durring the UTC scrimmage but i didn't get a good handle on how it worked it was only a quick glance they were helping me out with the timers heh i almost have them working now. ill post it if i get it working.


All times are GMT -5. The time now is 05:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi