Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

OpenDLV Microservice to interface with Trimble GPS/INSS units

License

Notifications You must be signed in to change notification settings

chalmers-revere/opendlv-device-gps-nmea

Repository files navigation

Moved to https://git.opendlv.org.

OpenDLV Microservice to interface with Trimble GPS/INSS units

This repository provides source code to interface with a Trimble GPS/INSS unit providing data in NMEA data format for the OpenDLV software ecosystem. This NMEA decoder extracts latitude/longitude from GGA and RMC, and heading from RMC.

Build Status License: GPLv3

Table of Contents

Dependencies

No dependencies! You just need a C++14-compliant compiler to compile this project as it ships the following dependencies as part of the source distribution:

Usage

This microservice is created automatically on changes to this repository via Docker's public registry for:

To run this microservice using our pre-built Docker multi-arch images to connect to a Trimble GPS/INSS unit broadcasting data to 10.42.42.112:9999 and to publish the messages according to OpenDLV Standard Message Set into session 111 in Google Protobuf format, simply start it as follows:

docker run --init --rm --net=host chalmersrevere/opendlv-device-gps-nmea-multi:v0.0.16 --nmea_ip=10.42.42.23 --nmea_port=9999 --cid=111 --verbose

If you have an NMEA UDP producer, turn this microservice into a UDP-client listening to incoming UDP packets carrying raw NMEA messages:

docker run --init --rm --net=host chalmersrevere/opendlv-device-gps-nmea-multi:v0.0.16 --udp --nmea_ip=0.0.0.0 --nmea_port=9999 --cid=111 --verbose

Build from sources on the example of Ubuntu 16.04 LTS

To build this software, you need cmake, C++14 or newer, and make. Having these preconditions, just run cmake and make as follows:

mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
make && make test && make install

License

  • This project is released under the terms of the GNU GPLv3 License