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

WIP: commander re-evaluate RC mode switch when local position becomes valid #12110

Merged
merged 1 commit into from
Oct 14, 2019

Conversation

dagar
Copy link
Member

@dagar dagar commented May 29, 2019

@MaEtUgR I wanted to extend the RC mode switch re-evaluation logic for a multicopter with optical flow to enter position control mode as soon as possible on bootup.

Now that I look at this logic again I'm wondering if it should be limited to prevent forcing the re-evaluation in a failsafe scenario after position validity is regained.

@dagar
Copy link
Member Author

dagar commented May 29, 2019

One idea would be to limit it to when disarmed or landed.

@dagar dagar force-pushed the pr-commander_reevaluate_lpos branch from 12732cc to a16daa6 Compare July 26, 2019 18:46
@dagar dagar added this to the Release v1.10.0 milestone Jul 26, 2019
@dagar
Copy link
Member Author

dagar commented Jul 26, 2019

@MaEtUgR thoughts on this one?

Copy link
Contributor

@julianoes julianoes left a comment

Choose a reason for hiding this comment

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

The change looks sane in my opinion.

@julianoes
Copy link
Contributor

@dagar still draft or good to go?

@mrpollo
Copy link
Contributor

mrpollo commented Oct 9, 2019

This came up during the October 9, 2019 dev call.

@MaEtUgR can you please drive this forward?

Copy link
Member

@MaEtUgR MaEtUgR left a comment

Choose a reason for hiding this comment

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

Looks good and I tested the logic in gazebo with optical flow only and with optical flow and gps (make posix gazebo_iris_opt_flow with joystick, changing the EKF aid mask and starting gpssim start).

@MaEtUgR MaEtUgR marked this pull request as ready for review October 14, 2019 12:15
@MaEtUgR MaEtUgR merged commit 97efbde into PX4:master Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants