Replies

  • Rolf Stefani, my i look about your code ?
  • Developer

    It does not matter what programming software you are using as long as this programming software can open serial ports and you know how to port generic MAVLink libraries/messages from MAVLink files. Eg. you just need to make your preferred language to understand MAVLink protocol. This all goes both readon and writing MAVLink messages.

    There are really detailed guides on MAVLink website about this at Qgroundcontrol.org take a look at it. Also you can take a look at ArduCopter/ArduPlane codes how they implement MAVLink and jD-IOBoard and MiniOSD as they implement MAVLink simple way.

    jani / jDrones

  • Hi,

    This is how I do this in Visual Basic.....

    In Mission Planner, if you enter a Ctrl 'g' while running, the mission planner will pop up a dialogue box for selection of a com port and baud rate. What will happen is that the mission planner will then send out a copy of the NMEA GPS messages that it received or converted form the Mavlink data. The NMEA messages seem quite good for position info. There are 2 types of NMEA messages output, one is the RMC that shows lat,long, height and satellite info. And the other message is the GCA message that contains good track info. I use the lat and long from the CGA message.

    So, in VB.net I am able to open the com port and read in the NMEA data every 250 milliseconds and parse and convert the data in accurate geo reference data including, speed, altitude and direction and use that as I wish.

    Also must point out that I use a virtual port software running in the background to allow VB to read the com port that does not actually exist. The software I use is called xport.exe and is freeware that is easily used.

    I hope this helps you out.

    Rolf
    • my i look your code, pliss
  • Developer

    what are you trying to do?

This reply was deleted.

Activity