|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Positioning with Mr. Watson's code
I am basically trying to get the robot to keep note of its own (x,y) position then later go to a set (x,y).
To do the first part I think I must get some trig functions imported to do what //pos_x += sin_int(heading) * dist; //pos_y += cos_int(heading) * dist; are supposed to do in robot_position() Now to go to get to a set (x,y) I guess I must complete cmd_goto_waypoint(void). Can anyone help me with that? I lack PID knowledge. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kevin Watson's encoder code with RPM output | MaxM | Programming | 2 | 05-02-2005 00:06 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| Kevin Watson's Kick-off Demo Code! | Mr. Lim | Programming | 27 | 22-01-2005 03:38 |
| White Paper Discuss: Code and Walkthrough for Global Positioning System using IR Sensors | CD47-Bot | Extra Discussion | 2 | 20-05-2004 21:22 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |