Files
bizhang_-obav/ROMFS/px4fmu_common/init.d/rc.logging

27 lines
393 B
Plaintext
Raw Normal View History

#!nsh
#
2014-01-20 13:19:49 +01:00
# Initialize logging services.
#
if [ -d /fs/microsd ]
then
if ver hwcmp PX4FMU_V1
2013-08-25 19:27:11 +02:00
then
if sdlog2 start -r 40 -a -b 3 -t
then
fi
2013-08-25 19:27:11 +02:00
else
# check if we should increase logging rate for ekf2 replay message logging
if param greater EKF2_REC_RPL 0
then
if sdlog2 start -r 500 -e -b 20 -t
then
fi
else
2016-02-29 09:51:55 +01:00
if sdlog2 start -r 100 -a -b 12 -t
then
fi
fi
2013-08-25 19:27:11 +02:00
fi
fi