derivative
Time derivative of vehicle state
Description
returns the current state derivative, stateDot
= derivative(motionModel
,state
,cmds
)stateDot
,
as a three-element vector [xDot yDot thetaDot] if the motion model is a
bicycleKinematics
, differentialDriveKinematics
, or unicycleKinematics
object.
It returns stateDot
as a four-element vector, [xDot yDot
thetaDot psiDot], if the motion model is a ackermannKinematics
object. xDot and
yDot refer to the vehicle velocity, specified in meters per second.
thetaDot is the angular velocity of the vehicle heading and
psiDot is the angular velocity of the vehicle steering, both
specified in radians per second.
For articulatedSteeringKinematics
motion model, it returns
stateDot
as a four-element vector, [xDot yDot thetaDot
gammaDot].xDot and yDot refer to the
vehicle velocity, specified in meters per second. thetaDot is the
angular velocity of the front body and gammaDot is the angular velocity
of the front body relative to the rear body, both specified in radians per second.
Examples
Input Arguments
Output Arguments
References
[1] Lynch, Kevin M., and Frank C. Park. Modern Robotics: Mechanics, Planning, and Control. 1st ed. Cambridge, MA: Cambridge University Press, 2017.