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
POSITION_TARGET_LOCAL_NED stream not appearing #12757
Comments
I think you would need to request the MAVLink message stream using: It would probably be a nice addition to QGC to be able to request certain sets of messages for tuning, e.g. a button "enable position tuning stream". |
According to the code I've read, this stream is supposed to be on for "normal" and "onboard" stream types. |
Ok, and what mode are you using? |
This is on default TELEM1 port with Normal mode (the default). |
I'm trying to reproduce this and I can see However, the values in ALTCTL are all In POSCTL everything seems sane, except |
@bresch it looks like the z setpoint is |
The issue where the z setpoint is NaN is a recent problem -> #12776. |
Maybe it is because of this that the mavlink message is not visible (some not Nan guard avoid publication)? |
Let me check! |
Ok, and that's with a GPS lock? |
No, no lock. This is a board with only RC attached. It is on altitude mode using baro. |
This might be the issue then. Can you check if you see the message with GPS? |
Do you mean that the setpoint will not be visible without GPS? In altitude mode I believe it should appear even without GPS since it is sending an altitude setpoint to follow with barometer. Right? |
I agree that it should but first I need to understand why it doesn't. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Describe the bug
Quadcopter set to altitude mode (on ground, disarmed) with PX4FLOW sensor attached. No POSITION_TARGET_LOCAL_NED stream on QGC visible
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to be able to switch to altitude mode and observe the setpoint in order to tune the altitude controller. Same thing happens if set to position control with local position input from onboard computer. I'm using FMUv2 board. I tried observing the visible mavlink streams from TELEM1 (set to "Normal" as per default) and from USB port. PX4 version is 1.9.2.
Log Files and Screenshots
No log as the drone was not armed.
Add screenshots to help explain your problem.
Drone (please complete the following information):
The text was updated successfully, but these errors were encountered: