MAVSDK
MAVSDK copied to clipboard
MAVSDK with Dronekit-SITL
Hi...
MAVSDK_SERVER is running with master as dronekit-sitl and having one udp output
with MAVSDK-PYTHON examples... especially im able to print telemetry data (by running telemetry.py) cnnecting to that UDP out
but
if i run any C++ examples from MAVSDK/examples, it says No Autopilot found
Anyone tried C++ examples with dronekit SITL or Ardupilot running Pixhawk?
I have just built MAVSDK and tested this using the Ardupilot SITL docker image found here:
https://hub.docker.com/r/radarku/ardupilot-sitl
./fly_mission tcp://:5760
[03:28:48|Info ] MAVSDK version: v0.44.0-59-gd3f476ba-dirty (mavsdk_impl.cpp:28)
Waiting to discover system...
[03:28:50|Debug] New: System ID: 1 Comp ID: 1 (mavsdk_impl.cpp:485)
[03:28:50|Debug] Component Autopilot (1) added. (system_impl.cpp:376)
[03:28:50|Debug] Discovered 1 component(s) (system_impl.cpp:524)
Discovered autopilot
Waiting for system to be ready
[03:28:50|Debug] MAVLink: info: Barometer 1 calibration complete (system_impl.cpp:245)
Waiting for system to be ready
[03:28:51|Debug] Falling back to gimbal protocol v1 (mission_impl.cpp:131)
[03:28:51|Debug] MAVLink: info: GPS 1: detected as u-blox at 115200 baud (system_impl.cpp:245)
Waiting for system to be ready
etc...
Perhaps you can try this SITL image instead?