![]() |
IR Navigate in Autonomous Mode
We are having an issue with the autonomous mode I am having some issues with the code and implementing it if I upload the tracker file modified to work with our bot the servos follow the beacon but I tried to merge everything into the default code the trackers don't move and the tracks don't move. Could someone who has implemented the navigate/tracker code into their default program please email it to webmaster@lhssfirst.dyndns.org. I can change the values for the pwm's for the servo and motors in the program.
We are using: pwm 2 for extend pwm 6 for elevate pwm 9 and 10 for servo trackers pwm 13 and 15 for track drive Any help with any of the programming would be great. I tried to follow the other forums about implementing the code but really I need a working code to study and look at. This is how I learn the best. :) My strengths are in c++, vb and qbasic. Also could someone explain how the included current sensors work and what equation is needed to come up with the number in the program. Thanks Thank you Brian Hawkins Webmaster/Programmer Lutheran South FIRST Robotics http://lhssfirst.dyndns.org |
Re: IR Navigate in Autonomous Mode
Quote:
Quote:
I hope I've been of some help. -Kesich |
Re: IR Navigate in Autonomous Mode
thanks i will work on that
|
Re: IR Navigate in Autonomous Mode
what do you mean about merging the tracker code into your user code?
in the default SW main.c calls the auton subroutine, and the code stays in that subroutine until auton mode ends - so maybe you unwittingly put your auton (tracker) code in a different place? that could be why its not running at all. They tell us not to edit main.c, but it really helps if you study it, make a flowchart of it, and understand how it works and when it calls the different subroutines. |
Re: IR Navigate in Autonomous Mode
Quote:
I read somewhere that i need to remove a line from the navigate code so that it will not wait for a push of a button. Could someone tell me what line needs to be removed, i know where it is but i really dont know what all has to be removed from it. Thanks :) |
Re: IR Navigate in Autonomous Mode
Quote:
|
| All times are GMT -5. The time now is 02:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi