|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
4 Motor RobotDrive Errors
We are having a problem with this years RobotDrive. When using the four channel input constructor the motor controllers don't work. We are using four jaguars and when we deploy the below code, they never work. The jaguar status lights just blink when the code is reloaded.
We are instantiating a RobotDrive like this: RobotDrive * drive; drive = new RobotDrive(1,2,3,4); and then in our main code: drive->TankDrive(leftJoystick,rightJoystick); HOWEVER,if re-compile with this: drive = new RobotDrive(1,2); The two jaguars and motors hooked up to channels one and two work. Also using the example code that ships with WindRiver this year, we can get a RobotDrive instantiated like this working: RobotDrive drive(1,2,3,4); Has anyone else seen a bug like this? Are we doing something wrong? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|