Skip to content

Vayu-Robotics/novatel_oem7_driver

 
 

Repository files navigation

NovAtel OEM7 Driver

ROS Driver for NovAtel OEM7 GNSS/SPAN Receivers.

Getting Started

This documents how to custom-build the novatel_oem7_driver for ROS from the provided source code. Typical users will prefer to install the pre-made binary release that has been published in the ROS distribution.

Refer to our documentation under the ROS community wiki for:

  • Hardware Setup
  • Binary Driver Installation
  • Driver Configuration
  • Driver Runtime Operation
  • Post-Processing data
  • Information on Relevant NovAtel Services and Products
  • Advanced Topics

novatel_oem7_driver documentation on ROS community wiki is located here: http://wiki.ros.org/novatel_oem7_driver


Building novatel_oem7_driver from source code

Prerequisites

  • Install ROS2 Foxy.
  • Obtain OEM7 receiver.

Installation

Option A: Install binary package (not supported yet; coming soon)

There is substantial documention regarding use of the binary release of this driver on the ROS community wiki, located here: https://wiki.ros.org/novatel_oem7_driver

The key step is:

sudo apt install ros-${ROS_DISTRO}-novatel-oem7-driver

Please refer to the Community Wiki for detailed run-time documentation for novatel_oem7_driver (link given above).

Option B: Build from source (docker)

These instructions assume that you are using Ubuntu 18.04.

  1. Install Docker, add the user you intend on using to the 'docker' group. For example:
    1. Add the current user to the 'docker' group: sudo usermod -aG docker ${USER}
    2. Apply the membership changes to the current session: su - ${USER}
  2. From the base directory of the repository, create container for the desired ROS architecture and distro, e.g. Foxy:
    ./docker/run.sh -r amd64 foxy
    Note: only amd64 and arm64v8 architectures are supported at this point.
  3. From within your docker container, use standard ROS2 tools, like colcon.
  4. Alternatively, use the build.sh script.

Option C: Build from source (local environment)

Here are approximate instructions for building this driver with your local ROS development environment. Please note this is for reference. The Docker approach is recommended.

  1. Install ROS with developer support to your environment (ROS Wiki Ubuntu 20.04)
  2. Install ROS dependencies using rosdep install --from-paths src --ignore-src -r -y
  3. Set ROS_DISTRO environment variable (Ex: ROS_DISTRO=foxy)
  4. Run source /opt/ros/${ROS_DISTRO}/setup.bash
  5. Run build: ./build.sh -f
  6. After a successful build, source your local environment: . install/setup.sh

Install .deb packages

Building produces two deb package, novatel-oem7-driver and novatel-oem7-msgs.

You can then install these via apt or dpkg:

sudo apt install ./ros-{$ROS_DISTRO}-novatel-oem7*.deb

Next Steps

Refer to the novatel_oem7_driver documentation in the ROS wiki for more information: http://wiki.ros.org/novatel_oem7_driver

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

ROS Driver for NovAtel OEM7 GNSS/SPAN Receivers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 82.2%
  • Python 13.0%
  • Shell 2.4%
  • CMake 2.4%