-
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
DO_REPOSITION ignores frame, always assumes AMSL #10246
Comments
It looks like we ignore the frame for ALL command_ints: @dagar did you know? |
Yes I'm aware. I wanted to make all of these things respect frame (both commands and missions), but what is it supposed to be if sent with COMMAND_LONG (no frame)? |
I guess it would be more consistent to have |
I vote to start ignoring warning when receiving a |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@julianoes Can we just stop accepting COMMAND_LONG now. Probably safer. If we do accept it then should we should emit a deprecation STATUS_TEXT with frame used info included? That way there is a cost to sending us those messages. |
@hamishwillee agreed. |
@julianoes So this went stale last time, how do we get work done so it gets completed? |
Ok, so I started looking into it and found that we don't even store the frame from any incoming |
That has implications for any test suite :-(. Proposal.
|
Sure, I think that would make sense. |
It's still wrong you bot. |
One day I will find time |
I think the current version still doesn't support any other frames besides |
I am having issue with this bug as well. We would prefer to run |
@julianoes @dagar Recent discussion on this area is that if it is sent with COMMAND_LONG (which has no frame) it should be rejected with a result of MAV_RESULT_COMMAND_INT_ONLY. I am also proposing
@jperez-droneup No. I have unassigned me as I am never going to find time, and would not be the most efficient person to do so. Given @dagar hasn't done it in years probably he won't either. You are most welcome to create a PR that implements another frame and/or errors if unsupported frames are used. |
It looks like the frame of a DO_REPOSITION command is ignored. The altitude is always assumed to be AMSL:
https://github.com/PX4/Firmware/blob/96995852cb6a2e2e23894c7ea05dd8385c595172/src/modules/navigator/navigator_main.cpp#L357
This was discovered by @mzahana in mavlink/MAVSDK#485.
The text was updated successfully, but these errors were encountered: