functionconstantOffset

Determine offset from road centre line

Extends from VehicleInterfaces.Roads.Interfaces.trackOffsetBase (Determine track offset from road centre line).

Inputs

TypeNameDefaultDescription
Reals (from trackOffsetBase)0Roads surface parameter 1 (usually arc length along road)
Realw (from trackOffsetBase)0Roads surface parameter 2 (usually lateral direction)

Outputs

TypeNameDefaultDescription
SI.Position[3]trackOffset (from trackOffsetBase)zeros(3)Track offset vector from road centre line to desired trajectory point