POSITION TRACK
0 200 u
pos 0.0
vel 0.0
acc 0.0
t 0.00s
VELOCITY PROFILE
806040200ACCELCRUISEDECEL
POSITION
2001000
ACCELERATION
-40040
PARAMETERS
HOW IT WORKS
Acceleration Phase

Motor ramps up at max acceleration until reaching peak velocity. Duration = v_max / a_max.

Cruise Phase

Constant velocity. Only present if distance is large enough — short moves produce a triangular profile.

Deceleration Phase

Mirror of acceleration — motor decelerates at the same rate to arrive at the target with zero velocity.

Triangular Profile

When distance is too short to reach max velocity, the profile becomes a triangle. Peak vel = √(a_max × dist).

How it Works

1. The Profile

The simulator generates a velocity profile for a mechanism traveling a set distance. Adjust Max Velocity and Max Acceleration to see how the profile shape changes — including the switch from trapezoidal to triangular when the distance is too short to reach peak speed.

2. Tuning Guide

  • Distance: Total travel. Short distances produce a triangular profile — the robot never hits max velocity.
  • Max Velocity: The cruise speed. Higher = faster overall movement, but requires more deceleration distance.
  • Max Accel: How aggressively to ramp up/down. Low values = smoother but slower to respond.

Want to implement this in code?

Our motion profiling guide covers the math and provides a ready-to-use Java implementation for FTC autonomous.

View Motion Profiling Guide →