All pages
Powered by GitBook
1 of 1

Loading...

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:

694B
HelloRobot.xml
Open

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

Class Bot V2 / Hello Robot Full TeleOp:

8KB
HelloRobot_TeleOp.blk
Open

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

3KB
HelloRobot_ArmControl.blk
Open

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

5KB
HelloRobot_LimitSwitch.blk
Open