CogniPilot

MODELICA LIBRARY · ENGINEERING REFERENCE

record

Planning.DubinsPolynomial.State

Geometry and metric derivatives of a transverse-offset path

Public declarations

Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.

RoleNameTypeDimensions / attributes / defaultDescription
fieldpositionReal[2]
fieldheadingReal
fieldfirstDerivativeReal[2]Unit tangent d(position)/ds
fieldsecondDerivativeReal[2]d2(position)/ds2
fieldthirdDerivativeReal[2]d3(position)/ds3
fieldcurvatureRealSigned curvature
fieldcurvatureDerivativeRealDerivative of signed curvature with metric distance
fieldoffsetRealLeft-normal offset from the nominal path
fieldoffsetDerivativeReal[4]P, P', P'', and P''' with respect to nominal metric distance
fieldmetricScaleRealds_offset/ds_nominal
fieldsegmentIndexInteger

Modelica declarations and implementation

Show parameters, interfaces and source

Parameters, inputs, outputs, defaults and equations from the source file.

record State "Geometry and metric derivatives of a transverse-offset path"
  Real position[2];
  Real heading;
  Real firstDerivative[2] "Unit tangent d(position)/ds";
  Real secondDerivative[2] "d2(position)/ds2";
  Real thirdDerivative[2] "d3(position)/ds3";
  Real curvature "Signed curvature";
  Real curvatureDerivative "Derivative of signed curvature with metric distance";
  Real offset "Left-normal offset from the nominal path";
  Real offsetDerivative[4]
    "P, P', P'', and P''' with respect to nominal metric distance";
  Real metricScale "ds_offset/ds_nominal";
  Integer segmentIndex;
end State;