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

Rover: Fix bug in failsafe initiation while in HOLD mode #12301

Closed
wants to merge 1 commit into from

Conversation

Hwurzburg
Copy link
Collaborator

@Hwurzburg Hwurzburg commented Sep 15, 2019

fixes a bug that prevents failsafes from being executed anytime Rover is in HOLD mode....particularly troublesome when HOLD comes at end of mission (its the default mission end) and FS happens in the middle of a lake! ask me how I know!

Pierre says this bug is intended behavior...I disagree, but perhaps this should be limited to boat frames and not ground vehicles...discuss in DEVCALL

tested on vehicle....easily tested on bench

r
Rover: limit FS in HOLD to only Rovers, not Boat
@Hwurzburg
Copy link
Collaborator Author

limited fix to only boats....still need to discuss issue in ground rovers since current code does not prevent RTLs if FS occuring in other modes....for ground rovers, you can walk to retrieve...for boats you usually cannot so FS should work at all times...

@Hwurzburg Hwurzburg changed the title Fix bug in Rover failsafe initiation Rover: Fix bug in failsafe initiation while in HOLD mode Sep 15, 2019
@khancyr
Copy link
Contributor

khancyr commented Sep 15, 2019

Discussion in #12295 (comment)

Could you fix the commit message ? It should be "Rover: Fix bug in failsafe initiation while in HOLD mode". Thanks

@Hwurzburg
Copy link
Collaborator Author

Hwurzburg commented Sep 15, 2019 via email

@Hwurzburg
Copy link
Collaborator Author

Hwurzburg commented Sep 15, 2019

another option would be to allow FS in HOLD in ground rovers also as I originally PR'd, since the FS_ACTION is already HOLD by default and let the use decide on how FS affects the vehicle...

@khancyr
Copy link
Contributor

khancyr commented Sep 15, 2019

Yep we could add a parameter for that. That what we got on copter, we get a parameter to allow or not rtl failsafe if we are already in LAND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants