|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Autonomous Mecanum Drive
Hey guys, me again, I'm not entirely sure on how to set up the autonomous mecanum drive. This is what we have as of right now
Code:
public void autonomousPeriodic() {
while (isAutonomous() && isEnabled()){
myDrive.mecanumDrive_Cartesian(.25, .25, 1, scotbot.getAngle());
|
|
#2
|
||||
|
||||
|
Re: Autonomous Mecanum Drive
First off, you shouldn't do this. You're using Iterative so the autonomousPeriodic gets called over and over. If you put a while loop in it messes this up.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|