Code for managing Networked Transport of RTCM via Internet Protocol
- Static IP for RJ45 (ethernet) network. default
10.223.1.1/16
, change inconfig/network.conf
before buiding the layer. - 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)
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.
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.
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.
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.
The following services will be configured to execute upon system startup.
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.
The GPS daemon. This is a service that interfaces to GPS devices and provides local access to location.
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.
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.
A Yocto layer meta-ntrip
is provided. See the meta-ntrip/README.md file for details on its use and configuration.
To setup your build environment, you can give the following command:
make environment-update