functionnormalBase
Determine unit normal on road
Extends from Modelica.Icons.Function (Icon for functions).
Information
Partial base model for unit normal 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_n_0 | {0, 0, 1} | Unit normal of road at (s,w), resolved in world frame |