-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AP_NavEKF2: added EK2_OPTIONS #27852
Conversation
libraries/AP_NavEKF2/AP_NavEKF2.h
Outdated
}; | ||
|
||
// return true if an option is set | ||
bool option_is_set(Options option) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bool option_is_set(Options option) { | |
bool option_is_set(Options option) const { |
libraries/AP_NavEKF2/AP_NavEKF2.h
Outdated
|
||
// enum for processing options | ||
enum class Options { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enum class Options { | |
enum class Option { |
libraries/AP_NavEKF2/AP_NavEKF2.cpp
Outdated
|
||
// @Param: OPTIONS | ||
// @DisplayName: Optional EKF behaviour | ||
// @Description: This controls optional EKF2 behaviour. Disabling external navigation prevents use of external vision data in the EKF2 solution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove "this controls"
libraries/AP_NavEKF2/AP_NavEKF2.cpp
Outdated
|
||
// @Param: OPTIONS | ||
// @DisplayName: Optional EKF behaviour | ||
// @Description: This controls optional EKF2 behaviour. Disabling external navigation prevents use of external vision data in the EKF2 solution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's remove the "This controls" because that's what all parameter do
this allows for disabling of external navigation data (such as visual odomotry) in EKF2. This is very useful when using EKF2 as a fallback and truth reference when testing visual odomotry on EKF3
4b4017a
to
91f8f25
Compare
this allows for disabling of external navigation data (such as visual odomotry) in EKF2. This is very useful when using EKF2 as a fallback and truth reference when testing visual odomotry on EKF3