LogoLogo
v1.0.0
v1.0.0
  • Welcome
  • Installation
  • Features
    • Controllers
    • Drivebases
    • Gamepad
    • Geometry
    • Hardware
      • Motors
    • Computer Vision
  • Kinematics
    • Odometry
    • WPILib Kinematics
      • Differential Drive Kinematics
      • Differential Drive Odometry
      • Swerve Drive Kinematics
      • Swerve Drive Odometry
      • Mecanum Drive Kinematics
      • Mecanum Drive Odometry
  • Pathing
    • Pure Pursuit
    • Trajectory
      • Trajectory Generation
      • Trajectory Constraints
      • Manipulating Trajectories
      • Transforming Trajectories
      • Ramsete Controller
  • Command Base
    • Command System
      • Subsystems
      • Command
      • Command Groups
      • Command Scheduler
      • Binding Commands to Triggers
    • Old Commands
  • Support FTCLib
  • Additional Reading
Powered by GitBook
On this page

Was this helpful?

  1. Pathing

Trajectory

package com.arcrobotics.ftclib.trajectory

PreviousPure PursuitNextTrajectory Generation

Last updated 4 years ago

Was this helpful?

In FTC, there are often games that require an autonomous where robots are moving from one position to another—sometimes repeatedly. A lot of teams implement this motion by moving forward, turning, then moving forward again. Sometimes this is done with a time-base or a unit of known distance.

While these methods are functional, it is better if we can have the robot turn and drive at the same time to optimize the motion. Below is a video showing how this trajectory generation and following works:

You can find the same information in the .

wpilib docs