mavlink / MAVSDK

API and library for MAVLink compatible systems written in C++17
https://mavsdk.mavlink.io
BSD 3-Clause "New" or "Revised" License
637 stars 510 forks source link

Could Dronecode send a RTK message? #534

Closed Seunghwan17 closed 5 years ago

Seunghwan17 commented 6 years ago

I test RTK GPS now. The product is drotek's. As I know, QGC send a RTK message. But I don't know droncode can do that. I want to discuss about it. Thank you.

julianoes commented 6 years ago

@Seunghwan17 ok sure let's discuss it. First I need some more detailed information about the GPS and then we need to figure out what exactly is needed from the SDK.

Seunghwan17 commented 6 years ago

Maybe, I think the SDK could detect base RTK module and send this message(https://mavlink.io/kr/messages/common.html#GPS_RTK) from base to the rover. RTK module make RTCM3 data. The SDK need to pass a data use mavlink protocol... But now I don't know well about RTK and mavlink. I am sorry. Now I just tested with QGC.

julianoes commented 6 years ago

We're open for contributions, e.g. a plugin that takes care of this.

AlexisTM commented 6 years ago

For anybody willing to contribute on this matter, you will need a node reading the base_station and a plugin to forward the data to the Pixhawk.

An example of the base_station node using the GPSDriver (without using QT5) and publishing the RTCM messages (on ROS): https://github.com/AlexisTM/rtk_ros

An example for the plugin that needs to be implemented in Dronecore: https://github.com/mavlink/mavros/blob/master/mavros_extras/src/plugins/gps_rtk.cpp

julianoes commented 5 years ago

Actually, this is a duplicate of #112. Closing this but I agree we should add it!