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

chalmers-revere/opendlv-device-gps-peak

Repository files navigation

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

OpenDLV Microservice to interface with PEAK GPS units

This repository provides source code to interface with a PEAK GPS unit providing data over CAN for the OpenDLV software ecosystem. This decoder extracts latitude, longitude, heading, and groundspeed.

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 PEAK GPS unit broadcasting data to can0 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-peak-multi:v1.0.0 --can=can0 --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