Skip to content

Example that connects to a GPS and sends RTCM RTK data via MAVLink using MAVSDK

License

Notifications You must be signed in to change notification settings

julianoes/rtk-sender-example

Repository files navigation

rtk-sender-example

Example that connects to a GPS and sends RTCM RTK data via MAVLink using MAVSDK.

Prerequisites

  1. Install MAVSDK on your system.
  2. Install cmake and a compiler such as GCC.
  3. Then clone the rtk-sender-example: git clone https://github.com/julianoes/rtk-sender-example.git
  4. Then go inside the rtk-sender-example directory: cd rtk-sender-example
  5. Get the git submodule: git submodule update --init --recursive

Build

cmake -Bbuild -H.
cmake --build build

Run

Connect GPS over serial, find the serial device, as well as baudrate. Also find the MAVSDK connection URL to connect to the vehicle using MAVLink.

usage: build/rtk-sender-example <serial device> <baudrate> <mavlink connection>

e.g.: build/rtk-sender-example /dev/ttyUSB0 38400 udp://:14550

Note: use baudrate 0 to determine baudrate automatically

About

Example that connects to a GPS and sends RTCM RTK data via MAVLink using MAVSDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published