Programming TeleOp

Getting Started!

This year's Starter Bot program aims to offer flexibility to teams in terms of complexity. This walkthrough will begin with the basic version for Blocks. A version with autonomous built in is also available!

If your team is new to FTC, or in need of a review, we strongly recommend checking out our updated Hello Robot Programming Guide before diving in!

To begin, let's take a look at the configuration and actuators used in this year's design.

Configuration

Before getting started with programming we needed to create a configuration file. Below is an overview of how the robot is configured for the TeleOp code to function as expected:

Port Type
Port Number
Device Type
Name

Motor

0

REV Robotics Ultraplanetary HD Hex Motor

rightDrive

Motor

1

REV Robotics Ultraplanetary HD Hex Motor

leftDrive

Motor

2

REV Robotics Core Hex Motorr

coreHex

Motor

3

REV Robotics Ultraplanetary HD Hex Motor

flywheel

Servo

0

Continuous Servo

servo

Configuration File Download

Right click the file below and select "save link as". To put this configuration file on your robot, drag this file into the "FIRST" folder of your Control Hub's file system.

You will need to activate the configuration using the Driver Hub before proceeding. Click here to learn more about the configuration process.

Wiring Diagram

Device Name
Device Type
Port

rightDrive

UltraPlanetary Gearbox Kit and HD Hex Motor

Motor/Encoder Port 0

leftDrive

UltraPlanetary Gearbox Kit and HD Hex Motor

Motor/Encoder Port 1

coreHex

Core Hex Motor

Motor/Encoder Port 2

flywheel

UltraPlanetary Gearbox Kit and HD Hex Motor

Motor/Encoder Port 3

servo

Smart Robot Servo - set to CR mode

Servo Port 0

The Smart Robot Servo can be changed to continuous mode using the SRS Programmer!

Gamepad Setup

The 2025-26 REV DUO FTC Starter Bot is designed to use a split arcade drive for the default. Check out our Upgrades page for the arcade drive version of the program.

In split arcade drive, the left joystick will control forward and reverse motion of the robot, and the right joystick will control turning. This is similar to how some RC cars are driven and video games are played.

Not all gamepads have buttons labeled the same way. Check the manufacturer's documentation for accurate button mapping.

2025-26 REV DUO FTC Starter Bot Gamepad Layout:

Gamepad Input
Function

Right Joystick

Turn left and right

Left Joystick

Drive forward and reverse

Home/PS Button

Cycle OpModes during Initialization (Auto code only)

Right Bumper

Activates flywheel, feeder Core Hex, and agitator servo to automatically fire at "bank shot" (near) range

Left Bumper

Activates flywheel, feeder Core Hex, and agitator servo to automatically fire at "far shot" range

Left Dpad/Right Dpad

Manually rotate agitator servo

Y/Triangle

Manually spins the Core Hex at half speed

A/Cross

Manually spins the Core Hex at half speed

B/Circle

Manually spins flywheel to "bank shot" (near) velocity

X/Square

Manually spins flywheel to "max" velocity

M1 (back button)

Manually spins flywheel to "bank shot" (near) velocity

M2 (back button)

Manually spins flywheel to "max" velocity

Options

Runs the flywheel motor in reverse

More information on programming gamepads for use with your robot can be found at Hello Robot - Using Gamepads.

Basic TeleOp Program Downloads

Blocks:

Check out FIRST's guide on uploading a Blocks program!

OnBot Java:

TeleOp with Autonomous Program Downloads

Blocks Auto:

Check out FIRST's guide on uploading a Blocks program!

OnBot Java Auto:

Any updates to our example programs are documented in our changelog.

The following pages will dig deeper into unraveling the secrets behind this code. Grab your pickaxe and let's get started!

Last updated

Was this helpful?