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

REQUEST_AUTOPILOT_CAPABILITIES: failed because also connected with MP #1338

Open
rmackay9 opened this issue Mar 14, 2024 · 2 comments
Open

Comments

@rmackay9
Copy link
Contributor

rmackay9 commented Mar 14, 2024

It's not a huge deal but there's a slightly distracting error message, "REQUEST_AUTOPILOT_CAPABILITIES: FAILED" which is apparently caused by MAVProxy asking Mission Planner for it's capabilities and MP doesn't respond. MP isn't an autopilot so I think the correct fix would be for MAVProxy to skip asking for capabilities from vehicle's emitting a HEARTBEAT message with "type" of MAV_TYPE_GCS (e.g. 6)
image

@peterbarker
Copy link
Contributor

It's not a huge deal but there's a slightly distracting error message, "REQUEST_AUTOPILOT_CAPABILITIES: FAILED" which is apparently caused by MAVProxy asking Mission Planner for it's capabilities and MP doesn't respond.

If that were true then we wouldn't get "FAILED" - we'd probably just get nothing instead.

It's MissionPlanner sending in the command and MAVProxy printing the response to MissionPlanner's command (https://github.com/ardupilot/MissionPlanner/blob/master/ExtLibs/ArduPilot/Mavlink/MAVLinkInterface.cs#L5744)

I do have this PR which allows you to stop showing ACKs for commands that you (probably) didn't send: #1063

@rmackay9
Copy link
Contributor Author

Hi @peterbarker,

OK, thanks for that. So the cause is different but the best place to do the fix is on the MAVProxy side I guess (e.g. the PR you've linked). MAVProxy is a developer focused GCSs so I'm not hugely fussed but I'd vote for your PR getting merged I think.

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

No branches or pull requests

2 participants