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
7ef7c7f0
Commit
7ef7c7f0
authored
12 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
AHRS: update example for new ins interface
parent
94f73b83
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
libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.pde
+3
-1
3 additions, 1 deletion
libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.pde
with
3 additions
and
1 deletion
libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.pde
+
3
−
1
View file @
7ef7c7f0
...
@@ -106,7 +106,9 @@ void setup(void)
...
@@ -106,7 +106,9 @@ void setup(void)
isr_registry
.
init
();
isr_registry
.
init
();
scheduler
.
init
(
&
isr_registry
);
scheduler
.
init
(
&
isr_registry
);
ins
.
init
(
AP_InertialSensor
::
COLD_START
,
delay
,
flash_leds
,
&
scheduler
);
ins
.
init
(
AP_InertialSensor
::
COLD_START
,
AP_InertialSensor
::
RATE_100HZ
,
delay
,
flash_leds
,
&
scheduler
);
ins
.
init_accel
(
delay
,
flash_leds
);
ins
.
init_accel
(
delay
,
flash_leds
);
compass
.
set_orientation
(
MAG_ORIENTATION
);
compass
.
set_orientation
(
MAG_ORIENTATION
);
...
...
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