Ackermann MPPI Controller
R2026bControl motion planning of Ackermann vehicle model using Model Predictive Path Integral (MPPI)
Since R2025a
Libraries:
Offroad Autonomy Library /
Vehicle Controllers
Description
Add-On Required: This feature requires the Robotics System Toolbox Offroad Autonomy Library add-on.
The Ackermann MPPI Controller block enables you to plan a local path for an Ackermann Kinematic Model, following a reference path typically generated by a global path planner such as RRT* or Hybrid A*, using the model predictive path integral (MPPI) algorithm.
The Ackermann vehicle model represents a vehicle with two axles separated by the distance, specified in the Wheel Base parameter. The state of the vehicle is defined as a four-element vector, [x y θ ψ], with a global xy-position, vehicle heading, θ, and steering angle, ψ. The vehicle heading and xy-position are defined at the center of the rear axle.

At each state of the vehicle along the reference path, the MPPI controller samples potential trajectories for a short segment along the reference path, based on the current state and control of the vehicle. The controller evaluates these trajectories using a cost function to smooth the path and chooses an optimal trajectory and optimal control for the vehicle.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"offroadcontrollerlib/Ackermann MPPI Controller"
Example: add_block("offroadcontrollerlib/Ackermann MPPI Controller","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2025a
