global2frenet
Syntax
Description
converts global states to Frenet trajectory states.frenetState
= global2frenet(refPath
,globalState
)
[___,
returns latTimeDerivatives
] = global2frenet(refPath
,globalState
)latTimeDerivatives
containing 1st and 2nd order derivatives of
lateral deviation with respect to time and a flag indicating if the heading should flip when
converting to global coordinates.
[___] = global2frenet(
accepts a vector of arclengths, refPath
,globalState
,sFrame
)sFrame
at which the Frenet frame should
be centered at.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2020b