Log in

View Full Version : What do u put here???????


HuskieRobotics
08-03-2004, 09:11
In the tracker default code it says (at the very bottom)

// both trackers have an angular solution; calculate beacon vector
// here using the known baseline distance between the trackers and
// angles derived from the two Tracker_Data[].Position variables
// calculate new drive motor PWM values here

I would like to know what you are sopposed to put here OR is it just telling you what it is doing. but since there is no line of code to do anything below it i suspect that i have to do something i just don't know what. Please help me. Thanks!!!!!!!!!!!!!!!

deltacoder1020
08-03-2004, 10:22
In the tracker default code it says (at the very bottom)

// both trackers have an angular solution; calculate beacon vector
// here using the known baseline distance between the trackers and
// angles derived from the two Tracker_Data[].Position variables
// calculate new drive motor PWM values here

I would like to know what you are sopposed to put here OR is it just telling you what it is doing. but since there is no line of code to do anything below it i suspect that i have to do something i just don't know what. Please help me. Thanks!!!!!!!!!!!!!!!

the code in the tracker package does not actually move the robot, but instead just locks the trackers onto the target. moving the robot is up to you.

if you want code that moves the robot as well, get the navigate package.

HuskieRobotics
08-03-2004, 10:23
Where can i get that?????

jacob_dilles
08-03-2004, 11:27
Where can i get that?????
http://kevin.org/frc/