# Programming - Manual Control and Drive

## Split Stick Arcade Drive

<figure><img src="https://268621232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHCAE012xNfg1h3SM9v%2Fuploads%2Fmg9NttwvVloFVGNlW8By%2Fimage.png?alt=media&#x26;token=d984d881-416b-4b82-a561-c1924dfd4288" alt=""><figcaption><p>Split Stick Arcade Drive</p></figcaption></figure>

This year's Starter Bot is designed for split arcade drive. This means the left joystick controls the forward and back motion while the right joystick allows for rotation.

The approached to Split Stick Arcade Drive used in this year's Starter Bot is intended to be similar to those available as examples in the SDK from *FIRST* and our tutorial for standard [Arcade Drive](https://docs.revrobotics.com/duo-control/hello-robot-blocks/part-2/arcade-style-teleop-blocks/programming-arcade-drive)!&#x20;

{% hint style="info" %}
To learn more about the variables used and the equation for deciding motor power, check out [Hello Robot's walkthrough](https://docs.revrobotics.com/duo-control/hello-robot-blocks/part-2/arcade-style-teleop-blocks/establishing-variables-in-blocks#creating-x-and-y-variables)!
{% endhint %}

## Manual Feeder and Servo Control

<figure><img src="https://268621232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHCAE012xNfg1h3SM9v%2Fuploads%2FIvkVsbOG0PA6hOzn2KoZ%2Fimage.png?alt=media&#x26;token=cf9f850d-b00f-457d-b8cb-1b0f0a8a7a7a" alt=""><figcaption><p>Manual Core Hex and Servo Controls</p></figcaption></figure>

Manual control is built into the program to allow flexibility in how team's approach launching balls or to aid in the event that a ball becomes stuck.

For visual clarity, the servo and Core Hex controls are separated into separate if/else statements.&#x20;

### Core Hex Feeder

<figure><img src="https://268621232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHCAE012xNfg1h3SM9v%2Fuploads%2Fzd3dtw9mSgmeIZkKLrfM%2Fimage.png?alt=media&#x26;token=14dd272c-736b-48ed-8079-305b3706c02f" alt=""><figcaption><p>Manual control for the Core Hex feeder</p></figcaption></figure>

When cross/A is held on the gamepad, the Core Hex feeder will rotate at half power. This would feed balls to the flywheel. While holding triangle/Y, it will rotate at half power in the opposite direction. This would pull balls away from the flywheel back into the hopper.&#x20;

Be aware both the Core Hex and flywheel motor may need to be reversed to free a ball in the lower area of the launcher.&#x20;

### Servo Agitator

<figure><img src="https://268621232-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHCAE012xNfg1h3SM9v%2Fuploads%2FBIihZ5RmWchf0HUUnP80%2Fimage.png?alt=media&#x26;token=f2fd7332-0cb1-4959-82f3-c9c81aa74196" alt=""><figcaption><p>Manual control for the servo agitator</p></figcaption></figure>

When dpad left or right is held on the gamepad, the agitator servo will continuously spin. This may help with adjusting balls already loaded in the hopper.
