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
a9ee2ae2
Commit
a9ee2ae2
authored
10 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
PX4: change IMU order so vib isolated IMUs are 1 and 2
also try to start external ms5611
parent
d57c99f1
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
mk/PX4/ROMFS/init.d/rc.APM
+13
-9
13 additions, 9 deletions
mk/PX4/ROMFS/init.d/rc.APM
with
13 additions
and
9 deletions
mk/PX4/ROMFS/init.d/rc.APM
+
13
−
9
View file @
a9ee2ae2
...
@@ -261,15 +261,6 @@ else
...
@@ -261,15 +261,6 @@ else
fi
fi
if [ $HAVE_FMUV3 == true ]
if [ $HAVE_FMUV3 == true ]
then
then
# internal MPU6000 is rotated ROLL_180_YAW_270 from standard
if mpu6000 -R 14 start
then
echo "Found MPU6000 internal"
else
echo "No MPU6000"
echo "No MPU6000" >> $logfile
sh /etc/init.d/rc.error
fi
# external L3GD20 is rotated YAW_180 from standard
# external L3GD20 is rotated YAW_180 from standard
if l3gd20 -X -R 4 start
if l3gd20 -X -R 4 start
then
then
...
@@ -286,6 +277,19 @@ else
...
@@ -286,6 +277,19 @@ else
echo "No lsm303d"
echo "No lsm303d"
sh /etc/init.d/rc.error
sh /etc/init.d/rc.error
fi
fi
# internal MPU6000 is rotated ROLL_180_YAW_270 from standard
if mpu6000 -R 14 start
then
echo "Found MPU6000 internal"
else
echo "No MPU6000"
echo "No MPU6000" >> $logfile
sh /etc/init.d/rc.error
fi
if ms5611 -X start
then
echo "ms5611 external started OK"
fi
else
else
if mpu6000 start
if mpu6000 start
then
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