MR60

Is there a Mavlink library or programming API (not python) ?

Hi,

I'm looking for a simple libray or programming API I could use on a windows PC to send commands to a pixhawk via telemetry. But I do not want to use an existing GUI (groundstation), and preferably I'd like to avoid the complexity of the python mavproxy approach (way too much dependencies to install).

So is there such a windows mavlink library/API I could use to program in C/C++ to communicate with a pixhawk ?

Thx

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hello,

    you can test my MAVlink Java Library here :

    https://github.com/ghelle/MAVLinkJava

    There is a MAVLink generator from your xml files and a mavlink Library is generated with your messages and enum...

    Have fun! :-)

    Guillaume

    ghelle/MAVLinkJava
    A Java code generator and a Java library for MAVLink - ghelle/MAVLinkJava
  • Has anyone seen the announcement that Chris referenced a couple of weeks ago?  Yesterday was March 23 but I can't find anything yet.  I have high hopes for this API.

    • 3D Robotics

      The Mobile/Android one is Java

    • Yes, understood, thanks. But there's still a need for an airborne java API, rather than python. Are there plans for this? 

    • 3D Robotics

      Launching tonight. DroneKit

      DroneKit
      DroneKit makes it easy to create custom applications to control any vehicle powered by MAVLink. Best of all, it is open sourced and free for everyone…
    • MR60

      Hi Chris,

      Thx for that ! This is fantastic.

      Still lots of sub-pages lead to "This page can't be displayed". Anyone on the team can check what's happening on the web server ?

    • 3D Robotics

      I can't find any of those misbehaving subpages. Can you give me some example URLs?

      Thanks!

    • MR60

      Currently all is working fine. Seems erratic once in a while. Will Watch it and report back if needed.

    • Congrats on the DroneKit API rollout, Chris. 

      I see from the link that the airborne API is still only available for python. As this thread's original post requested, many of us are looking for a java or c/c++ API to send commands to the autopilot. Can you perhaps address whether or not there are plans for such APIs, as well as their estimated availability? 

      Thanks!

    • Thanks Chris -- that's great news.  A student and I have a summer research project (using our beautiful new Iris+) for which I think the API will be very useful.

This reply was deleted.