Skip to content
learnFRC.org
programmingmoduleadvanced70 min

Kinodynamic Trajectory Optimization

Time-optimal swerve path generation, motor torque curves, friction limits, and dynamic obstacle avoidance.

What you will learn

  • Contrast kinodynamic trajectory solvers against geometric cubic splines.
  • Configure swerve module torque-speed curves, chassis mass, and friction limits.
  • Integrate Choreo trajectories with PathPlannerLib on the roboRIO.
  • Implement on-the-fly pathfinding to navigate around field obstacles during teleop and auto.

Prerequisites:Guided Learning Course

Traditional autonomous path planning relies on geometric Hermite splines. While intuitive, geometric splines assume constant linear and angular acceleration limits regardless of the robot’s current heading, velocity vector, or motor operating point.

Kinodynamic trajectory optimization models the physical limits of every individual motor, module gear ratio, and wheel-to-carpet contact patch. This allows the robot to accelerate harder, corner tighter without slipping, and shave seconds off multi-piece autonomous cycles.

  1. Choreo vs PathPlanner Optimization (35 min): Compare trapezoidal profile sampling with non-linear interior point solvers. Configure robot physical parameters (mass, moment of inertia, wheelbase geometry, motor curves) to compute provably time-optimal trajectories.

  2. Dynamic Obstacle Avoidance (35 min): Deploy real-time pathfinding on the roboRIO. Generate collision-free splines around disabled robots or dynamic field zones using grid-based A* algorithms and live trajectory generation.

Verified Sources & Standards

Evergreen Standard

Lessons