11 Utilities Tools
User Manual 329/374
-q <NUMBER>, --quantity <NUMBER>
Print specific <NUMBER> of acceleration values.
<NONE>
Print endless acceleration values.
EXAMPLES
stw_ReadACC -q 10
8; -312; 1008
8; -296; 1016
8; -312; 1012
4; -312; 1012
4; -304; 1016
4; -308; 1008
12; -316; 1008
4; -300; 1008
8; -292; 1000
24; -320; 1012
stw_ReadACC -q 10 -d
Config file '/sys/bus/i2c/devices/0-0018/control':
power=on [on/off]
powermode=normal [normal/low_power]
fifomode=stream [off/fifo/stream/bypass]
datarate=100Hz [1Hz/10Hz/25Hz/50Hz/100Hz/200Hz/400Hz/1.25kHz/1.6kHz/5kHz]
scale=2g [2g/4g/8g/16g]
setting=default [wakeup/default]
wakeup_threshold=05 (default=10 [05 .. 101])
Sample quantity: 10
Sleeptime (us): 16666
-- X --|-- Y --|-- Z --
-4; -312; 1004
0; -308; 1008
4; -304; 1004
4; -304; 1004
8; -312; 1008
4; -320; 1012
4; -304; 1004
8; -292; 1028
4; -316; 1032
-4; -288; 1040
11.4 stw_acc2can
NAME
acc2can - acceleration sensor to can
SYNOPSIS
acc2can [-h] [-v] [-m] [-d] [-c] <CAN_BUS> --msg_id <msg id> [--msg_int] [--
sample_rate] [--agg_type]
DESCRIPTION
The application acc2can is part of the teleservice application framework utilities.
Its purpose is to send the acceleration values of the internal sensor on CAN bus.
For further information, see the "User Manual" of the device.