FTC11940 / 2023-PowerPlay

BSD 3-Clause Clear License
0 stars 0 forks source link

Fix the main teleop (MecanumDrive) so it strafes properly #18

Closed JediScoy closed 2 years ago

JediScoy commented 2 years ago

Possible references

We have a robot-centric drive setup

JediScoy commented 2 years ago

Coding was right all along. The labeling in Control was not what we thought it was. frontLeftMotor and backLeftMotor has to swtich places. This was found by troubleshooting control over each wheel i.e. comment all code for wheels except for one, then another, and so on.

Corrected: frontLeftMotor = assigned 1 in Driver Hub frontRightMotor = assigned 0 in Driver Hub backRightMotor = assigned 2 in Driver Hub backLeftMotor = assigned 3 in Driver Hub