ArduPilot / ArduPilot/MAVProxy

REQUEST_AUTOPILOT_CAPABILITIES: failed because also connected with MP

Open
#1,338 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
595
Forks
773
Avg merge
2d 6h
Merged PRs (30d)
18

Description

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](https://github.com/ArduPilot/MAVProxy/assets/1498098/991847b8-18e3-4c0a-9e67-8cfec65b46fc)

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the MAVProxy code for the REQUEST_AUTOPILOT_CAPABILITIES error and the heartbeat handling that identifies MAV_TYPE_GCS. Reproduce the message while connected to Mission Planner, then verify that capability requests are skipped for GCS heartbeats without affecting autopilot connections.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.