# Robot Control Full Program

It's time to bring everything together so to have a fully mobile robot! Returning to our HelloRobot\_TeleOp program we can add our arm control to our loop below the drivetrain code.

## Full Program

<figure><img src="https://1359443677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUOOiQ4S2QcMWmVoSmeQ8%2Fuploads%2FiOKBLDYwqFi2ut34EJpy%2Fimage.png?alt=media&#x26;token=df15ffe6-ec42-42c5-861c-f4ed89e35b1a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Right Stick vs. Left?

Which joystick is used for driving the robot is largely based on driver preference.&#x20;

For Hello Robot, we will be referencing using the right stick due to the arm control using the Dpad. This can be changed at any time by selecting your preferred option from the dropdown menu on the ![](https://1359443677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUOOiQ4S2QcMWmVoSmeQ8%2Fuploads%2Fyqa6bCTA7irBr1jrZzGT%2Fimage.png?alt=media\&token=ba53ddb0-dfbe-4efd-9873-7d8cc7af80ff) blocks!
{% endhint %}

## Downloads

{% hint style="info" %}
These premade programs do not include control of the Class Bot V2's "claw" servo. To learn about programming a servo visit [Programming Servos](https://docs.revrobotics.com/duo-control/hello-robot-blocks/part-1/programming-servos).
{% endhint %}

#### Class Bot V2 / Hello Robot Configuration File:

{% file src="<https://1359443677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUOOiQ4S2QcMWmVoSmeQ8%2Fuploads%2FnYCRoapj3W7o2JUQMmBe%2FHelloRobot.xml?alt=media&token=7dfe5638-9368-49f8-ae39-9664360513a2>" %}

**Note:** This configuration file includes the test\_motor from Part 1 and no color sensor.

#### Class Bot V2 / Hello Robot Full TeleOp:

{% file src="<https://1359443677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUOOiQ4S2QcMWmVoSmeQ8%2Fuploads%2FKM5cEnjEr1QgbDgLI6mj%2FHelloRobot_TeleOp.blk?alt=media&token=c0205c73-705a-4477-be89-c54175181d4a>" %}

#### Class Bot V2 / Hello Robot Arm Control no Limit Switch:

{% file src="<https://1359443677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUOOiQ4S2QcMWmVoSmeQ8%2Fuploads%2F0l3xO5Beo6BFJb3on1t8%2FHelloRobot_ArmControl.blk?alt=media&token=b1b3b346-8b26-4602-b93e-7c90365f6663>" %}

#### Class Bot V2 / Hello Robot Arm Control with Limit Switch:

{% file src="<https://1359443677-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUOOiQ4S2QcMWmVoSmeQ8%2Fuploads%2FYhNy2xSGhOjeVwg17RoJ%2FHelloRobot_LimitSwitch.blk?alt=media&token=3806cfea-d7f3-4f16-8b36-fdeec03edbc4>" %}
