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
5d40ec80
Commit
5d40ec80
authored
10 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
AP_NavEKF: make use_compass() public
parent
f2f730ba
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_NavEKF/AP_NavEKF.h
+4
-3
4 additions, 3 deletions
libraries/AP_NavEKF/AP_NavEKF.h
with
4 additions
and
3 deletions
libraries/AP_NavEKF/AP_NavEKF.h
+
4
−
3
View file @
5d40ec80
...
...
@@ -135,6 +135,10 @@ public:
// return the innovation consistency test ratios for the velocity, position, magnetometer and true airspeed measurements
void
getVariances
(
float
&
velVar
,
float
&
posVar
,
float
&
hgtVar
,
Vector3f
&
magVar
,
float
&
tasVar
,
Vector2f
&
offset
)
const
;
// should we use the compass? This is public so it can be used for
// reporting via ahrs.use_compass()
bool
use_compass
(
void
)
const
;
/*
return the filter fault status as a bitmasked integer
0 = filter divergence detected via gyro bias growth
...
...
@@ -510,9 +514,6 @@ private:
perf_counter_t
_perf_FuseSideslip
;
#endif
// should we use the compass?
bool
use_compass
(
void
)
const
;
// should we assume zero sideslip?
bool
assume_zero_sideslip
(
void
)
const
;
};
...
...
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