KumarRobotics/ublox

A driver for ublox gps

What it solves

This package connects u-blox GPS receivers to the Robot Operating System (ROS), allowing robotics developers to receive satellite navigation data (position, velocity, time) as standard ROS messages. It handles the low-level serial or TCP/UDP communication and exposes a simple interface to configure and read a wide range of u-blox features.

How it works

The driver runs as a ROS node (ublox_gps) that communicates with the receiver over a serial port (default /dev/ttyACM0) or optionally over TCP/UDP. It sends configuration commands and parses incoming binary UBX and NMEA messages. Parameters are set via YAML files or the ROS parameter server. The node publishes standard sensor messages such as NavSatFix for position and TwistWithCovarianceStamped for velocity. Many additional u-blox messages (e.g., raw satellite data, monitoring, high-precision position) can be enabled individually and published to separate topics. It supports multiple firmware versions (6, 7, 8, 9) and specialized product lines (high-precision reference stations, rovers, ADR/UDR, TIM, FTS), adjusting its behavior accordingly.

Who it’s for

ROS users who need to integrate a u-blox GPS receiver into their robot or autonomous vehicle system, especially those requiring fine-grained control over message rates, GNSS constellations, and specialized features like survey-in or moving-base RTK.

Highlights

  • Configures many u-blox settings: baudrate, output protocols, fix mode, dynamic model, GNSS constellation toggles, NMEA settings, and more.
  • Publish control for dozens of u-blox messages, with per-message enable flags.
  • Special support for high-precision receivers (HPG reference and rover) including survey-in and RTK modes.
  • Works across firmware versions 6 to 9, automatically detecting the version and applying compatible messages.
  • Can save and load configuration to non-volatile memory, and supports flash save/clear on firmware 8.
  • Example launch files and YAML configs included.

Related

  • Project
  • Project
  • Project
  • Project