Skip to content
learnFRC.org
programmingcourseadvanced140 min

Autonomous Trajectory Engineering

Advanced swerve trajectory generation, time-optimal kinodynamic optimization, dynamic obstacle avoidance, and sensor-fused autonomous alignment.

What you will learn

  • Formulate kinodynamic swerve trajectory constraints using motor torque curves and friction ellipses.
  • Generate time-optimal paths using Choreo and integrate them with PathPlannerLib.
  • Implement real-time on-the-fly pathfinding and obstacle avoidance on the roboRIO.
  • Choreograph parallel mechanism actions using distance-based and time-based event markers.
  • Mitigate high-speed wheel scrub and maintain terminal alignment accuracy with AprilTag pose fusion.

Prerequisites:Guided Learning Course

Moving from basic autonomous routines to championship-caliber autonomous execution requires treating the robot as a constrained dynamic system. Standard kinematic path planners treat maximum velocity and acceleration as static scalars, leaving significant field transit time on the table or commanding wheel torques that induce wheel slip and degrade odometry.

This course teaches advanced autonomous trajectory engineering: time-optimal kinodynamic optimization, dynamic obstacle avoidance, multi-subsystem choreography, and closed-loop vision realignment.

Prerequisites

This course assumes completion of Guided Learning Course, including swerve kinematics, Command-Based programming, and pose estimator setup.

The curriculum consists of two focused modules totaling 140 minutes across 4 lessons:

1. Kinodynamic Trajectories (70 min, 2 lessons)

Section titled “1. Kinodynamic Trajectories (70 min, 2 lessons)”
  • Choreo vs PathPlanner Optimization (35 min): Understand the mathematical distinction between geometric spline parameterization and numerical interior-point kinodynamic optimization. Account for motor torque-speed curves, chassis inertia, and normal force distribution across swerve modules.
  • Dynamic Obstacle Avoidance (35 min): Deploy grid-based A* algorithms and live trajectory replanning on the roboRIO to navigate around disabled alliance partners or defense robots during match play.

2. Choreography & Sensor-Fused Realignment (70 min, 2 lessons)

Section titled “2. Choreography & Sensor-Fused Realignment (70 min, 2 lessons)”
  • Event Markers & Action Choreography (35 min): Trigger intake deployment, flywheel pre-spooling, and elevator elevation at exact spatial points or time offsets along a trajectory using parallel deadline command compositions.
  • Field Pose Correction & Terminal Alignment (35 min): Address wheel scrub during aggressive maneuvers, filter out transient vision jumps, and implement terminal closed-loop scoring routines that lock onto game targets with high precision.

Verified Sources & Standards

Evergreen Standard

Course modules