... | ... | @@ -6,9 +6,9 @@ A `Sensor` reads a `PhysicalValue` inside the vehicle and sends its value with t |
|
|
| :---- | :--- | :--- | :---------- | :------------ |
|
|
|
| `type` | - | S | Must be `sensor` for a `Sensor` component. Must be the first entry. | |
|
|
|
| `physical_value_name` | - | S | Name of the watched value. | - |
|
|
|
| `update_interval` | s | Duration | Duration between to sensor "reads". | 100 ms |
|
|
|
| `read_time` | s | Duration | Duration to read the value. | 10 ms |
|
|
|
| `send_only_changed` | - | Bool | Whether the sensor sends a message only when the read value has changed or not. | false |
|
|
|
| `update_interval` | s | Duration | Duration between to sensor "reads". | `100 ms` |
|
|
|
| `read_time` | s | Duration | Duration to read the value. | `10 ms` |
|
|
|
| `send_only_changed` | - | Bool | Whether the sensor sends a message only when the read value has changed or not. | `false` |
|
|
|
|
|
|
List of `PhysicalValues` available for sensing:
|
|
|
|
... | ... | @@ -35,9 +35,9 @@ List of `PhysicalValues` from the powertrain that can be actuated: |
|
|
|
|
|
| Name | Description | Range |
|
|
|
| :---- | :--- | :--- |
|
|
|
| `gas` | How much the vehicle should accelerate. A value of `1` is full throttle. Negative values can be used as a simplified way to go reverse. | [-0.5 ; 1] |
|
|
|
| `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] |
|
|
|
| `gas` | How much the vehicle should accelerate. A value of `1` is full throttle. Negative values can be used as a simplified way to go reverse. | `[-0.5 ; 1]` |
|
|
|
| `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]` |
|
|
|
|
|
|
---
|
|
|
Next: [Bridge, Navigation and SimpleCommunicationGateway Properties](/user-docs/json-scenario-reference/Bridge,-Navigation-and-SimpleCommunicationGateway-Properties) |
|
|
\ No newline at end of file |
|
|
Next: [Bridge, Navigation, Lidar, SimpleCommunicationGateway](/user-docs/json-scenario-reference/Bridge,-Navigation,-Lidar,-SimpleCommunicationGateway) |
|
|
\ No newline at end of file |