Skip to content

Overview

Volt is an open-source software library developed in Kotlin for FIRST Tech Challenge teams. It offers a new object-oriented approach to building modular and readable FTC software.

Built on RoadRunner

Extends RoadRunner Actions for a modular and readable codebase.

Visual Flow Editor

Includes a Web UI for building Action flows with zero coding knowledge required.

Volt adds structure and readability to your codebase, making it easier to develop quickly, collaborate, and debug. Volt allows you to write complex robot behaviors as highly readable, composable actions:

// A quick taste of Volt's Action DSL in Kotlin
val scoreSample = voltAction {
+intake.grab()
+lift.toHighBasket()
wait(0.5)
+outtake.drop()
parallel {
+lift.toHome()
+drivetrain.path { lineTo(Pose(20.0, 20.0, 0.0)) }
}
}

Volt is built to be Kotlin-first. It takes advantage of advanced Kotlin features to improve readability and composability. Volt also works in Java, with increased complexity.

Before getting started with Volt, it is recommended that your team is familiar with:

  • Kotlin/Java: Basic syntax and concepts
  • FTC SDK: Hardware configuration and programming
  • RoadRunner/PedroPathing: For advanced autonomous pathing and localization
  • FTC Dashboard/Panels: For live configuration and logging