Skip to content
Snippets Groups Projects
Commit 82682ac7 authored by Julian Oes's avatar Julian Oes Committed by Beat Küng
Browse files

init.d-posix: re-use rc.logging

With this change the param SDLOG_MODE can be used for SITL as well.
parent 0bb52253
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ set PWM_OUT none
set SDCARD_MIXERS_PATH etc/mixers
set USE_IO no
set VEHICLE_TYPE none
set LOGGER_BUF 1000
set RUN_MINIMAL_SHELL no
......@@ -146,6 +147,8 @@ then
param set RTL_LAND_DELAY 5
param set RTL_RETURN_ALT 30
# By default log from boot until first disarm.
param set SDLOG_MODE 1
# enable default, estimator replay and vision/avoidance logging profiles
param set SDLOG_PROFILE 131
param set SDLOG_DIRS_MAX 7
......@@ -240,8 +243,8 @@ mavlink start -x -u $udp_offboard_port_local -r 4000000 -m onboard -o $udp_offbo
# execute autostart post script if any
[ -e "$autostart_file".post ] && sh "$autostart_file".post
logger start -e -t -b 1000
# Run script to start logging
sh etc/init.d/rc.logging
mavlink boot_complete
replay trystart
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment