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

Right Stick vs. Left?

Which joystick is used for driving the robot is largely based on driver preference.

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 blocks!

Downloads

These premade programs do not include control of the Class Bot V2's "claw" servo. To learn about programming a servo visit Programming Servos.

Class Bot V2 / Hello Robot Configuration File:

Note: This configuration file includes the test_motor from Part 1 and no color sensor.

Class Bot V2 / Hello Robot Full TeleOp:

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

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

Last updated

Was this helpful?