Skip to content
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

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Aug 15, 2024

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

@tridge tridge added the EKF label Aug 15, 2024
@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Aug 17, 2024
};

// return true if an option is set
bool option_is_set(Options option) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bool option_is_set(Options option) {
bool option_is_set(Options option) const {


// enum for processing options
enum class Options {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
enum class Options {
enum class Option {


// @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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "this controls"


// @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
Copy link
Contributor

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
@peterbarker peterbarker merged commit 1b4fb40 into ArduPilot:master Aug 20, 2024
93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants