Example of using Facts in QML

#1

I’ve added several new MAVLink message groups in vehicle.cc/h. I’m having trouble getting them to be available in QML screens.

Any ideas…

void Vehicle::handleFuelCellStatus(mavlinkmessage_t& message)
{
mavlink_fuelcell_status_t fuelCellStatus;
mavlink_msg_fuelcell_status_decode(&message, &fuelCellStatus);
fuelCellStatusFactGroup.currentAllowed()->setRawValue(fuelCellStatus.currentallowed);
// Todo - Rest of fuel cell fields
}

How do I reference that “Fact” in the QML?