|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
navigate and default code newbie question
If we use the default code to run our robot, how do we incorporate navigate to run the ir sensors in autonomous mode?
If you can make it simple, I would appreciate it. I'm just a fabricator who got elected to program the bot. |
|
#2
|
||||
|
||||
|
Re: navigate and default code newbie question
well, most of the code is contained in tracker.c and navigate.c - there shouldn't be too many modifications.
first, navigate uses pwms 3 and 4, whereas the default code uses 1 and 2 - you'll need to reconcile this. second, the call to navigate should go in User_Autonomous_Code. |
|
#3
|
|||||
|
|||||
|
Re: navigate and default code newbie question
Quote:
In addition to those instructions you'll also need the navigate.c and navigate.h files, and you'll need to add a call to navigate() to the User_Autonomous_Code() routine in the user_routines_fast.c file. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| navigate code | AlphaOmega870 | Programming | 2 | 02-02-2004 18:54 |
| Inserting Naviagation code into Default code? | actorindp | Programming | 3 | 28-01-2004 18:12 |