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

RTH message is missing after completing waypoint mission #5330

Closed
haybeseret opened this issue Jan 15, 2020 · 4 comments
Closed

RTH message is missing after completing waypoint mission #5330

haybeseret opened this issue Jan 15, 2020 · 4 comments
Labels

Comments

@haybeseret
Copy link

Current Behavior

On a waypoint mission, when RTH is selected at the end of a mission, the OSD is not showing RTH once the mission ends
Adding to the above, with no clear indication on the mission progress you cannot really tell when your mission is over.
Adding to that when mission is over and craft is in loitr there is no indication on that state as well (i,.e that the mission is over)

Steps to Reproduce

  1. Configure mission
  2. Select the Checkbox "RTH at the end of mission"

Expected behavior

Change the osd from "en route to waypoint" to RTH when the mission is over (and the RTH option is selected as stated above)

Suggested solution(s)

Change the osd from "en route to waypoint" to RTH when the mission is over (and the RTH option is selected as stated above)

version is Inav 2.2.1

  • FC Board name and vendor: Omnibus f4 AIO
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label BUG to this issue, with a confidence of 0.89. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the BUG label Jan 15, 2020
@hali9
Copy link
Contributor

hali9 commented Jan 17, 2020

This is because when WPRTH not landing go to state WAYPOINT_FINISHED.
When WPRTH have set land than rth landing is called and when landing success then go also to WAYPOINT_FINISHED. So it's not clear what to print on osd "Landing" or "Loitering" and it's "en route to wp".

So better change WAYPOINT_FINISHED mwState
from MW_NAV_STATE_WP_ENROUTE "EN ROUTE TO WAYPOINT"_
to MW_NAV_STATE_HOVER_ABOVE_HOME "HOVERING/LOITERING AROUND HOME"
and
not call navOnEnteringState_NAV_STATE_RTH_FINISHING in navOnEnteringState_NAV_STATE_WAYPOINT_RTH_LAND
but switch to it.

@peteoz
Copy link

peteoz commented Mar 2, 2020

similarly during WP Mission there is no indication what WP number the model is approaching or has already passed, can this be modified to display "EN ROUTE TO WAYPOINT 21" (or "EN ROUTE TO WP21") when the model is moving towards WP no. 21 (as an example) ?

@breadoven
Copy link
Collaborator

Closed by:

#6979
#6524

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

No branches or pull requests

4 participants