Class MotionModel
Defined in File motion_models.hpp
Inheritance Relationships
Derived Types
public mppi::AckermannMotionModel
(Class AckermannMotionModel)public mppi::DiffDriveMotionModel
(Class DiffDriveMotionModel)public mppi::OmniMotionModel
(Class OmniMotionModel)
Class Documentation
-
class MotionModel
Abstract motion model for modeling a vehicle.
Subclassed by mppi::AckermannMotionModel, mppi::DiffDriveMotionModel, mppi::OmniMotionModel
Public Functions
-
MotionModel() = default
Constructor for mppi::MotionModel.
-
virtual ~MotionModel() = default
Destructor for mppi::MotionModel.
-
inline virtual void predict(models::State &state)
With input velocities, find the vehicle’s output velocities.
- Parameters:
state – Contains control velocities to use to populate vehicle velocities
-
virtual bool isHolonomic() = 0
Whether the motion model is holonomic, using Y axis.
- Returns:
Bool If holonomic
-
inline virtual void applyConstraints(models::ControlSequence&)
Apply hard vehicle constraints to a control sequence.
- Parameters:
control_sequence – Control sequence to apply constraints to
-
MotionModel() = default