This section will highlight how to code arcade drive.
Arcade drive is a control scheme where forward/backward motion and rotation of the robot are mapped to separate, independent inputs.
Standard Arcade Configuration
The standard configuration for arcade drive uses the y axis on the left stick to control forward/backward motion and uses the x axis on the right stick to control robot rotation.
Alternate Arcade Configurations
Of course, there are many other ways to configure arcade drive, too. Some examples are shown below:
Ultimately, which one you decide to use comes down to driver preference.
Split Arcade Coding (Basic)
Start by clicking add a device to add our drivetrain configuration.
Select the ports that match with your drivetrain configuration.
Return to the Devices menu and add a controller. Then, map the controller sticks to the drivetrain using your preferred configuration.
Split Arcade Coding (Advanced)
If you want to use a different arcade configuration, change the throttle and turn variables accordingly.