qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

I can't add a fence in the Daily build, but it works correctly in v428

Open Drone-Lab opened this issue 1 year ago • 2 comments

Expected Behavior

When I connect QGC with PX4 jmavsim and try to add a fence on QGC, I find the buttonis gray and I can't click it.

1 (2)

Drone-Lab avatar Aug 30 '24 09:08 Drone-Lab

I don't personally have this problem nor do I see any obvious changes related to it from the daily but maybe @DonLakeFlyer has an idea

HTRamsey avatar Sep 02 '24 15:09 HTRamsey

This works fine for me with MockLink. I can't test jmavsim on OSX. The code is as follows:

bool GeoFenceController::supported(void) const
{
    return (_managerVehicle->capabilityBits() & MAV_PROTOCOL_CAPABILITY_MISSION_FENCE) && (_managerVehicle->maxProtoVersion() >= 200);
}

My guess is that jmavsim is not running mavlink v2.

DonLakeFlyer avatar Oct 13 '24 21:10 DonLakeFlyer