-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Conversation
One idea would be to limit it to when disarmed or landed. |
12732cc
to
a16daa6
Compare
@MaEtUgR thoughts on this one? |
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.
The change looks sane in my opinion.
@dagar still draft or good to go? |
This came up during the October 9, 2019 dev call. @MaEtUgR can you please drive this forward? |
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.
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 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.