Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
958e5e31
Commit
958e5e31
authored
10 years ago
by
Emile Castelnuovo
Committed by
Randy Mackay
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Build: VRBRAIN corrected order of MAG startup for 4.5 board
parent
0e118eb3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rc.APM
+15
-14
15 additions, 14 deletions
mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rc.APM
mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rc.APMNS
+14
-14
14 additions, 14 deletions
mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rc.APMNS
with
29 additions
and
28 deletions
mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rc.APM
+
15
−
14
View file @
958e5e31
...
...
@@ -76,20 +76,7 @@ else
sh /etc/init.d/rc.error
fi
echo "[APM] Starting HMC5883 Internal"
if hmc5883 -I start
then
echo "[APM] HMC5883 onboard started OK"
if hmc5883 calibrate
then
echo "[APM] HMC5883 onboard calibrate OK"
else
echo "[APM] HMC5883 onboard calibrate failed"
fi
else
echo "[APM] HMC5883 onboard start failed"
# sh /etc/init.d/rc.error
fi
echo "[APM] Starting HMC5883 External GPS"
if hmc5883 -X start
...
...
@@ -106,6 +93,20 @@ else
# sh /etc/init.d/rc.error
fi
echo "[APM] Starting HMC5883 Internal"
if hmc5883 -I start
then
echo "[APM] HMC5883 onboard started OK"
if hmc5883 -I calibrate
then
echo "[APM] HMC5883 onboard calibrate OK"
else
echo "[APM] HMC5883 onboard calibrate failed"
fi
else
echo "[APM] HMC5883 onboard start failed"
# sh /etc/init.d/rc.error
fi
echo "[APM] Starting MPU6000 Internal"
if mpu6000 -I start
then
...
...
This diff is collapsed.
Click to expand it.
mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rc.APMNS
+
14
−
14
View file @
958e5e31
...
...
@@ -49,20 +49,6 @@ else
sh /etc/init.d/rc.error
fi
echo "[APMNS] Starting HMC5883 Internal"
if hmc5883 -I start
then
echo "[APMNS] HMC5883 onboard started OK"
if hmc5883 calibrate
then
echo "[APMNS] HMC5883 onboard calibrate OK"
else
echo "[APMNS] HMC5883 onboard calibrate failed"
fi
else
echo "[APMNS] HMC5883 onboard start failed"
# sh /etc/init.d/rc.error
fi
echo "[APMNS] Starting HMC5883 External GPS"
if hmc5883 -X start
...
...
@@ -79,6 +65,20 @@ else
# sh /etc/init.d/rc.error
fi
echo "[APMNS] Starting HMC5883 Internal"
if hmc5883 -I start
then
echo "[APMNS] HMC5883 onboard started OK"
if hmc5883 -I calibrate
then
echo "[APMNS] HMC5883 onboard calibrate OK"
else
echo "[APMNS] HMC5883 onboard calibrate failed"
fi
else
echo "[APMNS] HMC5883 onboard start failed"
# sh /etc/init.d/rc.error
fi
echo "[APMNS] Starting MPU6000 Internal"
if mpu6000 -I start
then
...
...
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