accel cond r a [d] [l] [mt]
Set acceleration trigger condition.
r = 1 to 8 | Acceleration trigger condition
|
a = 0 | Longitudinal acceleration disabled (Default)
|
a > 0 | Longitudinal acceleration threshold in km/h/s (Must be positive)
|
d = 0 | Longitudinal deceleration (braking) disabled (Default)
|
d < 0 | Longitudinal deceleration threshold in km/h/s (Must be negative)
|
l = 0 | Lateral acceleration disabled (Default)
|
l > 0 | Lateral acceleration threshold in km/h/s (Must be positive)
|
mt = 0 to 65535 | Minimum time between reports in seconds (Default 0)
|
Notes:
- A report is triggered when one of the following conditions applies:
- acceleration > a
- acceleration < d
- abs(lateral acceleration) > l
Examples:
- Trigger on hard acceleration only when longitudinal acceleration exceeds 15 km/h/s :
cmd accel cond 1 15 0 0
- Trigger on hard braking only when longitudinal deceleration exceeds -20 km/h/s :
cmd accel cond 1 0 -20 0
- Trigger on hard acceleration when longitudinal acceleration exceeds 15 km/h/s OR braking when longitudinal deceleration exceeds -20 km/h/s :
cmd accel cond 1 15 -20 0
- Trigger on hard turning only when lateral acceleration exceeds 35 km/h/s :
cmd accel cond 1 0 0 35
- Set a minimum timeout of 30s between reports :
cmd accel cond 1 0 0 35 30
See also: Acceleration
Firmware revision 2.0.3.2255-80