|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
To set the drive to tankdrive I put this in my DriveWithJoysticks command file, right?
(had to put spaces on oi because it would make the face)void DriveWithJoysticks::Execute() { Robot::driveTrain->robotDrive41->TankDrive( Robot:: oi->getopStick()->GetRawAxis(1), Robot:: oi->getopStick()->GetRawAxis(5)); } OR Should I just create an if statement that checks if getrawaxis(1) > deadZone, then set left motor outputs to 1. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|