Skip to content
CrocoDocs
Starter GuideProgrammingEngineeringDesignPortfolio
Documentation

Introduction

IntroductionBIOBUZZ game overview

Getting started

Getting startedBlocksOnBot JavaAndroid StudioYour first OpModeJava basicsMotors and servosNonblocking codeDebugging robot code

Control systems

Control systemsJoystick mappingField-centric mecanum drivePID controlFeedforwardFlywheel velocity controlSystem identificationMotion profilingKalman filterLow-pass filter

Autonomous

AutonomousTimed and encoder movementOdometryLocalization troubleshootingMotion planningReliable autonomous sequencesPure PursuitSensor fusionAuto to TeleOp handoff

Season topics

Season topicsProjectile mathematicsTurret aimingShooting on the move

Code practices

Code practicesNaming conventionsCode organizationLoop timing and bulk readsFormattingComments and documentationTeam collaboration

Libraries

LibrariesNextFTCFTCLibSolversLibPedro PathingRoad RunnerFTC DashboardMercurial v2Mercurial v1PanelsSloth

Community software

Community softwareBlaze FTCOpenLoopHive Vision

Sensors and vision

Vision overviewVision basicsLimelight 3A
Starter Guide
Engineering
Design
Portfolio
Appearance

OnBot Java

Write, build, and run Java OpModes in a browser

Overview

OnBot is a text-based Java editor served by the . You connect a browser to the Program & Manage server, edit Java source there, build it on the robot controller, and select the resulting from the .

It does not require Android Studio, but you still need to understand Java and the SDK's hardware APIs. Your code and build environment live on the Robot Controller, so save and use version control for team code where practical.

First steps

  1. Configure the hardware in the Robot Controller app.
  2. Connect to the device's Program & Manage address.
  3. Open OnBot Java, create an OpMode from a sample, and use the editor's build control.
  4. Fix build messages before selecting the OpMode on the Driver Station.

Use the address shown by the connected Robot Controller. FTC Docs lists common addresses for and Robot Controller phones, but network configuration can vary.

Sources

  • OnBot Java Programming Tutorial
  • Creating and running an OnBot Java OpMode
  • Choosing an FTC programming tool
  • Official FTC programming resources

Blocks

Create FTC OpModes with the browser-based visual programming tool

Android Studio

Set up the FTC project and run one small Java OpMode

On this page

OverviewFirst stepsSources