functionheadingDirectionBase
Determine unit heading direction on road
Extends from Modelica.Icons.Function (Icon for functions).
Information
Partial base model for unit heading direction on road. Extend this model appropriately to define final user model.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | s | 0 | Roads surface parameter 1 (usually arc length along road) |
| Real | w | 0 | Roads surface parameter 2 (usually lateral direction) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[3] | e_s_0 | {1, 0, 0} | Unit vector in direction of road heading at (s,w), resolved in world frame |