Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
82682ac7
Commit
82682ac7
authored
5 years ago
by
Julian Oes
Committed by
Beat Küng
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ROMFS/px4fmu_common/init.d-posix/rcS
+5
-2
5 additions, 2 deletions
ROMFS/px4fmu_common/init.d-posix/rcS
with
5 additions
and
2 deletions
ROMFS/px4fmu_common/init.d-posix/rcS
+
5
−
2
View file @
82682ac7
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment