A dummy accessor for a vibration sensor that outputs a range of vibrations varying from a low of 0 m/s^2 to 100 m/s^2 in steps that default to 5 m/s^2 every second. The control input can be used to vary the step size. The output is a JSON object with the following properties:
- name: "Vibration sensor"
- units: "m/s^2"
- vibration: a number.
- Version:
- $$Id$$
- Source:
Inputs:
Name | Type | Description |
---|---|---|
control |
A JSON object that is expected to have one property, "step", a number. |
Outputs:
Name | Type | Description |
---|---|---|
data |
A JSON object. |