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
eb594075
Commit
eb594075
authored
6 years ago
by
acfloria
Committed by
Lorenz Meier
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix starting the iridium driver in the start script
parent
5c6fad84
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ROMFS/px4fmu_common/init.d/rc.mavlink
+11
-5
11 additions, 5 deletions
ROMFS/px4fmu_common/init.d/rc.mavlink
src/modules/systemlib/system_params.c
+1
-1
1 addition, 1 deletion
src/modules/systemlib/system_params.c
with
12 additions
and
6 deletions
ROMFS/px4fmu_common/init.d/rc.mavlink
+
11
−
5
View file @
eb594075
...
...
@@ -109,11 +109,6 @@ if param compare SYS_COMPANION 319200
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 19200 -r 1000 -f
fi
if param compare SYS_COMPANION 419200
then
iridiumsbd start -d ${MAVLINK_COMPANION_DEVICE}
mavlink start -d /dev/iridium -b 19200 -m iridium -r 10
fi
if param compare SYS_COMPANION 519200
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 19200 -m minimal -r 1000
...
...
@@ -162,6 +157,17 @@ if param compare SYS_COMPANION 3115200
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 115200 -r 1000 -f
fi
if param compare SYS_COMPANION 4115200
then
usleep 200000 # add a sleep here to make sure that the module is powered
if iridiumsbd start -d ${MAVLINK_COMPANION_DEVICE}
then
mavlink start -d /dev/iridium -m iridium -b 115200
else
echo "WARN: Iridiumsbd driver not started, reboot"
tune_control play -m "ML<<CP4CP4CP4CP4CP4"
fi
fi
if param compare SYS_COMPANION 5115200
then
mavlink start -d ${MAVLINK_COMPANION_DEVICE} -b 115200 -m minimal -r 1000
...
...
This diff is collapsed.
Click to expand it.
src/modules/systemlib/system_params.c
+
1
−
1
View file @
eb594075
...
...
@@ -125,7 +125,7 @@ PARAM_DEFINE_INT32(SYS_MC_EST_GROUP, 2);
* @value 338400 Normal Telemetry (38400 baud, 8N1)
* @value 357600 Normal Telemetry (57600 baud, 8N1)
* @value 3115200 Normal Telemetry (115200 baud, 8N1)
* @value 41
9
200 Iridium Telemetry (1
9
200 baud, 8N1)
* @value 41
15
200 Iridium Telemetry (1
15
200 baud, 8N1)
* @value 519200 Minimal Telemetry (19200 baud, 8N1)
* @value 538400 Minimal Telemetry (38400 baud, 8N1)
* @value 557600 Minimal Telemetry (57600 baud, 8N1)
...
...
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