Skip to content
forked from uvdl/ntrip

Code for managing Networked Transport of RTCM via Internet Protocol

License

Notifications You must be signed in to change notification settings

Quark-Aerosystems/ntrip

 
 

Repository files navigation

ntrip

Code for managing Networked Transport of RTCM via Internet Protocol

Features

  1. Static IP for RJ45 (ethernet) network. default 10.223.1.1/16, change in config/network.conf before buiding the layer.
  2. Use a proxy to/from UART to Mavlink FMU and udp://10.223.255.255:14550.

(NOTE: 10.223.x.y/16 is the factory reset condition for the Doodle SmartRadio, a popular Digital Data Link device)

Setup

To configure the software, execute the following commands:

make dependencies
make install
make provision

This can be done on a variety supported machines and operating systems that are Debian-based (Debian, Ubuntu, etc.) and which use systemd as the init program. The commands are typically called in the above order (required for first time setup), but afterward can be done in any order desired or a-la-carte.

make dependencies

This ensures that the operating system has the necessary libraries, programs and configurations needed to operate the software. It uses the system package manager or pulls source code and compiles it as necessary and appropriate. It is via this command that the operating system is updated for security patches as needed.

make install

This causes the needed services and programs to be added to the system so that they will execute upon power on of the system. The philosophy of the software is that all code and configurations be part of the system. The files in this repository only exist to manipulate and configure the system, but otherwise are not a necessary part. This means, for example, that an external device could hold this code, setup the system and then be removed.

You would use this command whenever you wanted to apply any new feature that was provided to you.

make provision

This causes all the settings to be inspected and interactively changed. Typically, this command is executed by the factory to setup the various configurations needed to operate the software.

Services

The following services will be configured to execute upon system startup.

ensure-network

A script to make nmcli calls to setup the static IP for the RJ45 (ethernet) network. This exists to allow the network parameters to be kept in a configuration file/partition that can be edited and then applied at boot time, persist across software updates and configured easily via software update files.

gpsd

The GPS daemon. This is a service that interfaces to GPS devices and provides local access to location.

mavproxy

The program to connect a UDP port to the autopilot. The program connects UDP packets to/from the autopilot. It also handles the conversion of RTCM data into a format that can be sent to the GPS for location correction.

ntpd

A program to keep local system time synchronized. (currently, the program is configured to interpret the pulse-per-second signal available on PixC3/PixC4 hardware.

Yocto Layer

A Yocto layer meta-ntrip is provided. See the meta-ntrip/README.md file for details on its use and configuration.

Quick Start

To setup your build environment, you can give the following command:

make environment-update

References

About

Code for managing Networked Transport of RTCM via Internet Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 65.9%
  • BitBake 19.4%
  • Makefile 14.7%