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

commander: HITL skip auto disarm if lockdown #15690

Merged
merged 1 commit into from
Sep 6, 2020

Conversation

dagar
Copy link
Member

@dagar dagar commented Sep 6, 2020

I'd actually like to purge most of these HITL special cases in commander, but not today.

@dagar
Copy link
Member Author

dagar commented Sep 6, 2020

@bperseghetti

@dagar dagar requested a review from julianoes September 6, 2020 13:32
@dagar dagar force-pushed the pr-commander_auto_disarm_hil branch from fa247e6 to 1e42171 Compare September 6, 2020 13:33
 - auto disarm when locked down was added in #14766 to prevent user
confusion in regular usage, but also breaks HITL where lockdown is
enabled for safety
 - fixes #15686
@dagar dagar force-pushed the pr-commander_auto_disarm_hil branch from 1e42171 to 99b8d42 Compare September 6, 2020 13:33
Copy link
Member

@bperseghetti bperseghetti left a comment

Choose a reason for hiding this comment

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

@dagar PR tested with fmu-v5_default, QGC daily, F710 controller, modified iris.sdf for HITL in Gazebo, SYS_AUTOSTART=1001 and it succeeded in eliminating issue with disarm on lockdown, allowing for over 10 minute flight test in HITL Gazebo.

@TSC21
Copy link
Member

TSC21 commented Sep 6, 2020

@dagar can you rebase now that the fix for Nuttx in MacOS is in?

@dagar
Copy link
Member Author

dagar commented Sep 6, 2020

This works for now, but again I'd really like to cut down on the HITL special cases.

@dagar dagar merged commit 1ac3110 into master Sep 6, 2020
@dagar dagar deleted the pr-commander_auto_disarm_hil branch September 6, 2020 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Sim: HITL hardware in the loop simulation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In HIL mode, motor will be disarmed after 10s even if disable the auto disarmed function on the QGC
3 participants