modelFlatRoad
Straight road along x-axis (perpendicular to world z-axis)
Extends from VehicleInterfaces.Icons.Road (Icon for a road), VehicleInterfaces.Roads.Interfaces.Base (Base model for all roads).
Information
The road is a line along the x-axis of the world system. The road surface parameters are defined as:
s: x-coordinate in world frame (x-axis is road heading direction) w: y-coordinate in world frame (y-axis is lateral displacement)
The point s=0, w=0 has position vector r={0, 0, 0};
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | animation | true | = true, if road shall be visualized |
| Real | mu | 0.5 | Friction coefficient of road |
| SI.Distance | offset | 0 | Offset from the road centre line |
| Animation | |||
| Modelica.Mechanics.MultiBody.Types.Color | roadColor | {255, 0, 0} | Color of road |
| SI.Length | width | 8 | Width of road |
| SI.Position | x_min | -100 | Roads is visualized in the range [x_min .. x_max] |
| SI.Position | x_max | 100 | Roads is visualized in the range [x_min .. x_max] |
Contents
| Name | Description |
|---|---|
| Determine point on road | |
| Determine offset from road centre line | |
| Determine unit normal on road | |
| Determine unit heading direction on road | |
| Determine friction coefficient at point on road |