|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: Programming help
Looking at the default code
Navigate.h contains Left Sensor servo in pwm01 Right Sensor servo in pwm02 Left Drive Motor in pwm03 Right Drive Motor in pwm04 The IR Sensors 1,2,3,4 are configured like this 1 - Left/Left (LL) - Left Sensor on Left Servo 2 - Left/Right (LR) - Right Sensor on Left Servo 3 - Right/Left (RL) -Left Sensor on Right Servo 4 - Right/Right (RR) - Right sensor on Right Servo They get plugged into LL - digital 3 LR - digital 4 RL - digital 5 RR - digital 6 The Digital input rc_dig_07 (digital 7) is the switch which states which beacon you are going to chase. Wire a toggle switch on you robot and plug it into Digital 7. When you set up you robot on the field, you can flip this switch to have the code point to the beacon emmitting the "0" pulse or the beacon emitting the "1" pulse. Hope this helps. Phil |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Compatition | Angela06 | Programming | 30 | 08-04-2005 23:12 |
| A few questions on programming the Control System | Avarik | Control System | 21 | 08-02-2004 11:42 |
| Pneumatics electrical wiring and programming | archiver | 2001 | 1 | 23-06-2002 23:10 |
| Error found in programming for the pump and pressure switch | sjharobotics | Programming | 4 | 06-02-2002 17:46 |
| pbasic programming | punarhero | Programming | 4 | 21-01-2002 23:32 |