... | ... | @@ -39,5 +39,48 @@ List of `PhysicalValues` from the powertrain that can be actuated: |
|
|
| `steering` | Desired *wheel orientation* (not steering wheel). Negative is to the right. | `[-30 deg ; +30 deg]` |
|
|
|
| `braking` | How much the vehicle should brake. A value of `1` is full braking force. | `[0 ; 1]` |
|
|
|
|
|
|
# Examples
|
|
|
|
|
|
## Sensor
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"type": "sensor",
|
|
|
"name": "TrueVelocitySensor",
|
|
|
"physical_value_name": "true_velocity",
|
|
|
"update_interval": [ 0, 100000000 ],
|
|
|
"read_time": [ 0, 1000000 ],
|
|
|
"send_only_changed": false
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## Actuator without feedback sensor
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"type": "actuator",
|
|
|
"name": "SteeringActuator",
|
|
|
"physical_value_name": "steering",
|
|
|
"change_rate": 60.0
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## Actuator with feedback sensor
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"type": "actuator",
|
|
|
"name": "SteeringActuator",
|
|
|
"physical_value_name": "steering",
|
|
|
"change_rate": 60.0,
|
|
|
"sensor": {
|
|
|
"type": "sensor",
|
|
|
"update_interval": [ 0, 100000000 ],
|
|
|
"read_time": [ 0, 1000000 ],
|
|
|
"send_only_changed": false
|
|
|
}
|
|
|
}
|
|
|
```
|
|
|
|
|
|
---
|
|
|
Next: [Bridge, Navigation, Lidar, SimpleCommunicationGateway](/user-docs/json-scenario-reference/Bridge,-Navigation,-Lidar,-SimpleCommunicationGateway) |
|
|
\ No newline at end of file |