MAVLink
Mavlink Communication with the Autopilot and other systems that use the MAVLink protocol
Connect to on-board mavlink network
How to use libmav in your App
auto message_set = mav::MessageSet("/path/to/common.xml");auto message_set = mav::MessageSet("mavlink/common.xml");auto phy = std::make_shared<mav::TCPClient>("172.17.0.1", 5790);
auto runtime = std::make_shared<mav::NetworkRuntime>(_message_set, heartbeat, *_phy);
auto connection = _runtime->awaitConnection(1000);Last updated