Software
novatel_gps_driver
By Southwest Research Institute Robotics, from github.com/swri-robotics/novatel_gps_driver (opens in a new tab)
- Navigation and mapping
- Driver or SDK
- BSD-3-Clause
A C++ ROS driver that reads NovAtel GPS/GNSS receivers over serial, TCP, UDP or PCAP files and turns their logs into ROS messages.
Facts
- GitHub stars
- 175read on 28 Nov 2026
- Last update
- 30 Oct 2026Newest commit on ros2-devel
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Intermediate
- Hardware it needs, as the project states it
- A NovAtel GPS/GNSS receiver connected over serial, TCP, UDP, or a PCAP capture file; it has been tested primarily on NovAtel OEM628 receivers.
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- BSD-3-Clause (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 500a635 (opens in a new tab), on 31 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Connects to NovAtel receivers over serial, TCP, or UDP, and can replay PCAP capture logs for testing.
- Supports ASCII and binary NovAtel logs and works with OEM4, OEM6 and OEM7 receivers.
- Combines BESTPOS, BESTVEL and PSRDOP2 logs into gps_msgs/GPSFix messages, which are always published.
- Can publish NMEA sentences, IMU data from SPAN-equipped receivers, dual-antenna heading and many other NovAtel log types.
- Can send RTCM correction messages to the receiver from the /rtcm topic and configure INS lever arms and rotations.
- Ships as a library with a ROS node and a message package, novatel_gps_msgs.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- BSD-3-Clause. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 30 Oct 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/swri-robotics/novatel_gps_driver (opens in a new tab)
- The version Robotheca read500a635 (opens in a new tab)
- Latest release5.1.0 (30 Oct 2026)
Robotheca read the repository at two versions: the summary at 3cace11 and the facts and the README at 500a635 (read on 28 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by Southwest Research Institute Robotics, at commit 500a635, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
NovAtel GPS Driver
Build Status
Branches
| Item | Humble | Jazzy | Kilted | Lyrical | Rolling |
|---|---|---|---|---|---|
| Branch | humble (opens in a new tab) | jazzy (opens in a new tab) | kilted (opens in a new tab) | lyrical (opens in a new tab) | rolling (opens in a new tab) |
Released Versions
| Item | Humble | Jazzy | Kilted | Lyrical | Rolling |
|---|---|---|---|---|---|
| Version | (opens in a new tab) | (opens in a new tab) | (opens in a new tab) | (opens in a new tab) | (opens in a new tab) |
CI
| Item | Humble | Jazzy | Kilted | Lyrical | Rolling |
|---|---|---|---|---|---|
| GitHub Actions | (opens in a new tab) | (opens in a new tab) | (opens in a new tab) | (opens in a new tab) | (opens in a new tab) |
amd64 dev
| Item | Humble | Jazzy | Kilted | Lyrical | Rolling |
|---|---|---|---|---|---|
novatel_gps_driver (opens in a new tab) | Image: dev (opens in a new tab) (opens in a new tab) | Image: dev (opens in a new tab) (opens in a new tab) | Image: dev (opens in a new tab) (opens in a new tab) | Image: dev (opens in a new tab) (opens in a new tab) | Image: dev (opens in a new tab) (opens in a new tab) |
amd64 bin
| Item | Humble | Jazzy | Kilted | Lyrical | Rolling |
|---|---|---|---|---|---|
novatel_gps_driver (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) |
novatel_gps_msgs (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) |
arm64 bin
| Item | Humble | Jazzy | Kilted | Lyrical | Rolling |
|---|---|---|---|---|---|
novatel_gps_driver (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | not built | not built |
novatel_gps_msgs (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | Image: bin (opens in a new tab) (opens in a new tab) | not built | not built |
Overview
This is a C++ ROS (opens in a new tab) driver for NovAtel (opens in a new tab) GPS / GNSS Receivers.
Features:
- Fast and robust
- Supports serial, TCP, and UDP connections
- Can play back PCAP capture logs to test behavior
- Supports a variety of common NovAtel logs
- Easy to add support for more log types
- Supports ASCII and binary-format NovAtel logs
- Can synchronize
BESTPOS,BESTVEL, andPSRDOP2logs together in order to produce gps_common/GPSFix (opens in a new tab) messages - Tested with OEM4, OEM6, and OEM7 receivers
- Can produce IMU data from receives with SPAN support
It has been tested primarily on NovAtel OEM628 receivers, but it has been used with various OEM4, OEM6, and OEM7 devices. Please let the maintainers (opens in a new tab) know of your success or failure in using this with other devices so we can update this page appropriately.
Usage
The driver should function on ROS 2 Dashing, and binary packages are available for both of them. To install them, first install ROS, then just run:
sudo apt-get install ros-dashing-novatel-gps-driver
If you'd like to build it from source:
mkdir -p novatel/src
cd novatel/src
git clone https://github.com/swri-robotics/novatel_gps_driver
rosdep install . --from-paths -i
cd ../..
colcon build
Then create a .launch.py file and configure it as desired:
"""Launch an example driver that communicates using TCP"""
from launch import LaunchDescription
import launch_ros.actions
def generate_launch_description():
container = launch_ros.actions.ComposableNodeContainer(
name='novatel_gps_container',
namespace='',
package='rclcpp_components',
executable='component_container',
composable_node_descriptions=[
launch_ros.descriptions.ComposableNode(
package='novatel_gps_driver',
plugin='novatel_gps_driver::NovatelGpsNode',
name='novatel_gps',
parameters=[{
'connection_type': 'serial',
'device': '/dev/ttyUSB0',
'verbose': True,
'publish_novatel_positions': True,
'publish_novatel_velocity': True,
'publish_novatel_psrdop2': True,
'frame_id': '/gps',
'loop': True,
}]
)
],
output='screen'
)
return LaunchDescription([container])
gps_common/GPSFix messages will always be published, but by default, other message
types are not. See the config parameters for a list of which other message types can be
enabled.
Packages
-
novatel_gps_msgsROS messages that represent NovAtel message logs. Each supported log should have its own message type. A list of official log types can be found at http://docs.novatel.com/OEM7/Content/Logs/Log_Reference.htm (opens in a new tab) .
-
novatel_gps_driverA C++ library with an accompanying ROS node and node that can connect to a NovAtel device over a serial, TCP, or UDP connection and translate NovAtel logs into ROS messages.
Nodelets
-
novatel_gps_driver/novatel_gps_nodelet- ROS Parameters
connection_type: Type of physical connection to the device- One of
serial,tcp,udp, orpcap - Default:
serial
- One of
configure_commands: Receiver commands the driver sends on connect, one command per entry with no line endings, for configuration it has no parameter of its own for. See the OEM7 command reference (opens in a new tab).- e.g.
["CONNECTIMU COM3 HG1700_AG58", "SETIMUORIENTATION 5"] - Sent after the commands the driver builds from its own parameters (
dmi_source,ins_translation_ant1_offset,ins_rotation_rbv, ...) and before it requests any logs, so they can override those settings without interfering with logging. - Re-sent every time the driver reconnects, so a receiver that was power cycled comes back configured.
- An entry that is empty, holds a line ending, holds an unprintable character, or is longer than 500
characters is dropped with a warning. Anything else is passed through as typed, so a command that
writes the receiver's non-volatile configuration (
SAVECONFIG,FRESET) will do exactly that; the driver logs a warning when it sends one. - Ignored for
pcapconnections, which can't be written to. - Default: Empty
- e.g.
correction_connection_type: The correction port's connection type, one ofserial,tcp, orudp.- Default: the value of
connection_type
- Default: the value of
correction_device: Where RTCM corrections received on the/rtcmtopic are written: a serial device, or ahost:portfortcpandudp.- The receiver port has to be set to
INTERFACEMODE(opens in a new tab)... RTCMV3, which stops it accepting NovAtel commands, so this is normally not the port the driver reads logs from. - Set it to the same string as
deviceto send corrections over the driver's own connection instead of opening a second port. That needs the port set toINTERFACEMODE ... AUTOso it accepts both commands and corrections. - The port is opened when the driver connects to the receiver, and stays open across reconnections
to it. If it can't be opened the driver logs an error, keeps running without corrections, and retries
every
correction_reconnect_delay_sseconds. - Empty means corrections are not sent and
/rtcmis not subscribed to. - Default: Empty
- The receiver port has to be set to
correction_reconnect_delay_s: How long to wait, in seconds, between attempts to open a correction port that could not be opened.- A value that isn't positive is ignored and the default is used instead.
- Default:
5.0
correction_serial_baud: Baud rate for a serial correction port.- Default: the value of
serial_baud
- Default: the value of
device: Location of device connection.- For
serialconnections, the device node; e. g.,/dev/ttyUSB0 - For
tcporudpconnections, ahost:portspecification.- If the host is omitted, it will listen for connections on the specified port.
- If the port is omitted,
3001will be used as the default for TCP connections and3002as the default for UDP connections.
- For
pcapconnections, the location of a.pcapcapture file. Note that the node will exit automatically after finishing playback. - Default: Empty
- For
dmi_source: Where the receiver gets wheel sensor (Distance Measurement Instrument) data, sent via DMICONFIG (opens in a new tab) on connect, so the INS can use wheel ticks to reduce drift when GNSS is unavailable. Requires OEM7 firmware 7.07 or newer.EXT_COUNTorEXT_VELOCITY: cumulative or incremental wheel ticks sent to the receiver in RAWDMI commandsIMU: a wheel sensor wired to a NovAtel IMUENCLOSURE: a wheel sensor wired to a PwrPak7 or CPT7DISABLE: turn wheel sensor input off- Empty means don't send it, leaving the receiver's existing configuration in place.
- Default: Empty
frame_id: ROS TF frame to place in the header of published messages.- Default: Empty
gpsfix_sync_tol: Maximum difference, in seconds, between the timestamps of a BESTPOS and a BESTVEL log for them to be treated as synchronized when building agps_msgs/GPSFix.- Default:
0.01
- Default:
gpsfix_sync_timeout: Whenwait_for_syncistrue, the maximum time, in seconds of GPS time, that a BESTPOS log will wait for a matching BESTVEL. After this, thegps_msgs/GPSFixis published with speed & track set to NaN. It is also published that way if a newer BESTVEL has already arrived, or if enough BESTPOS logs have backed up that it would otherwise be discarded.- Default:
1.0
- Default:
imu_frame_id: TF frame id to use in IMU messages.- Default: Empty
imu_rate: Desired logging rate in Hz for IMU messages.- This is set as the rate for
CORRIMUDATAlogs. - Should be the IMU's sample rate, or that divided by a whole number.
CORRIMUDATAaccumulates the IMU samples over each logging interval, so logging it faster than the IMU samples gives logs that hold no data, and logging it at a rate that doesn't divide the sample rate gives logs that hold varying amounts. The driver logs a warning if it's set otherwise. - Default:
100
- This is set as the rate for
imu_sample_rate: Sample rate of the connected IMU. Normally this is automatically detected based on the IMU type.ins_rotation_rbv:[x, y, z]Euler angle rotation, in degrees, from the IMU body frame to the vehicle frame, sent to the receiver viaSETINSROTATION RBVon connect.- Default: Empty (don't send this command, leaving the receiver's existing configuration in place)
- Must be empty or exactly 3 elements.
ins_rotation_rbv_stdev:[x, y, z]standard deviation ofins_rotation_rbv, in degrees.- Default: Empty (use the receiver's default uncertainty)
- May be left empty even when
ins_rotation_rbvis set. Must be empty or exactly 3 elements.
ins_translation_ant1_offset:[x, y, z]lever arm, in meters, from the IMU to the primary GNSS antenna, in the IMU body frame, sent to the receiver viaSETINSTRANSLATION ANT1on connect.- Default: Empty (don't send this command)
- Must be empty or exactly 3 elements.
ins_translation_ant1_offset_stdev:[x, y, z]standard deviation ofins_translation_ant1_offset, in meters.- Default: Empty (use the receiver's default uncertainty)
- May be left empty even when
ins_translation_ant1_offsetis set. Must be empty or exactly 3 elements.
ins_translation_ant2_offset: Likeins_translation_ant1_offset, but for the secondary antenna on a dual-antenna receiver, sent viaSETINSTRANSLATION ANT2.- Default: Empty (don't send this command)
ins_translation_ant2_offset_stdev: Likeins_translation_ant1_offset_stdev, but forins_translation_ant2_offset.- Default: Empty (use the receiver's default uncertainty)
polling_period: Desired period between GPS messages.- This will be set as the period for
GPGGA,GPRMC,GPGSA,BESTPOS, andBESTVELlogs. - Default:
0.05(20 Hz) - A value that is non-positive is ignored, and the default is used instead.
- This will be set as the period for
expected_rate: Expected publish rate of GPS messages.- If time between GPS message stamps is greater than 1.5 times the excepted publish rate, diagnostic warning is published.
- Default: Based on
polling_periodparameter:20.0(20Hz) - A value that isn't a positive number is ignored, and the default is used instead.
publish_clocksteering:trueto publish novatel_gps_msgs/ClockSteering messages.- Default:
false
- Default:
publish_diagnostics:trueto publish node diagnostics.- Default:
true
- Default:
publish_gpgsa:trueto publish novatel_gps_msgs/Gpgsa messages.- Default:
false
- Default:
publish_gpgsv:trueto publish novatel_gps_msgs/Gpgsv messages.- Default:
false
- Default:
publish_gphdt:trueto publish novatel_gps_msgs/Gphdt messages.- Default:
false
- Default:
publish_imu_messages:trueto publish novatel_gps_msgs/NovatelCorrectedImuData, novatel_gps_msgs/Inspva, novatel_gps_msgs/Inspvax2, novatel_gps_msgs/Insstdev2, and sensor_msgs/Imu messages.- Default:
false
- Default:
publish_nmea_messages:trueto publish novatel_gps_msgs/Gpgga and novatel_gps_msgs/Gprmc messages.- Default:
false
- Default:
publish_nmea_sentences:trueto publish every NMEA sentence the receiver sends as an nmea_msgs/Sentence message on thenmea_sentencetopic, unparsed and exactly as it arrived.- Sentences the driver has no parser for are published too, but which sentences the receiver
sends is still controlled by the
publish_gpgsa,publish_gpgsv,publish_gphdtandpublish_nmea_messagesparameters. - Default:
false
- Sentences the driver has no parser for are published too, but which sentences the receiver
sends is still controlled by the
publish_novatel_dual_antenna_heading:trueto publish novatel_gps_msgs/NovatelDualAntennaHeading messages.- Default:
false
- Default:
publish_novatel_heading2:trueto publish novatel_gps_msgs/NovatelHeading2 messages.- Default:
false
- Default:
publish_novatel_insupdatestatus:trueto publish novatel_gps_msgs/NovatelInsUpdateStatus messages. These are only published when the values change.- Default:
false
- Default:
publish_novatel_positions:trueto publish novatel_gps_msgs/NovatelPosition messages. Note that even if this is false, these logs will always be requested from the receiver in order to generategps_msgs/GPSFixmessages.- Default:
false
- Default:
publish_novatel_psrdop2:trueto publish novatel_gps_msgs/NovatelPsrdop2 messages. If set, the data from these messages will be used to fill in the DoP values ingps_msgs/GPSFixmessages. Note that these messages are only published when the values change, not at the standard polling rate.- Default:
false
- Default:
publish_novatel_rawdmi:trueto publish novatel_gps_msgs/NovatelRawDmi wheel sensor messages.- Default:
false
- Default:
publish_novatel_utm_positions:trueto publish novatel_gps_msgs/NovatelUtmPosition messages.- Default:
false
- Default:
publish_novatel_velocity:trueto publish novatel_gps_msgs/NovatelVelocity messages. If set, the data from these messages will be used to fill in the speed and track values ingps_msgs/GPSFixmessages.- Default:
false
- Default:
publish_novatel_xyz_positions:trueto publish novatel_gps_msgs/NovatelXYZ messages.- Default:
false
- Default:
publish_rawimux:trueto publish novatel_gps_msgs/NovatelRawImu messages, from RAWIMUX (opens in a new tab) logs, e.g. for post-processing.- These are raw counts, logged at the IMU's full rate (
onnew), since raw IMU data can't be loggedontime. NovAtel's reference has the scale factors for converting them to physical units. - This is a lot of data: at 200 Hz in binary, about 144 kbit/s, which is more than a serial link at the
default
serial_baudcan carry. NovAtel also recommends logging only one log faster than 50 Hz at a time, andpublish_imu_messagesalready logs CORRIMUDATA and INSPVA atimu_rate. - Default:
false
- These are raw counts, logged at the IMU's full rate (
publish_range_messages:trueto publish novatel_gps_msgs/Range messages.- Default:
false
- Default:
publish_sync_diagnostic: If true, publish a time Sync diagnostic.- Ignored if
publish_diagnosticsis false. - Default:
true
- Ignored if
publish_dual_antenna_diagnostic: If true, publish diagnostics for the second antenna.- Ignored if
publish_diagnosticsis false. - Default: same as
publish_novatel_dual_antenna_heading
- Ignored if
publish_wheel_sensor_diagnostic: If true, publish a diagnostic reporting whether the INS is using the wheel sensor, from INSUPDATESTATUS logs.- Ignored if
publish_diagnosticsis false. - Default:
trueifdmi_sourceenables the wheel sensor,falseotherwise
- Ignored if
publish_time_messages:trueto publish novatel_gps_msgs/NovatelTime messages. Note that this message is named novatel_gps_msgs/Time on Lyrical and older.- Default:
false
- Default:
publish_time_reference:trueto publish sensor_msgs/TimeReference messages.- Default:
false
- Default:
publish_trackstat:trueto publish novatel_gps_msgs/Trackstat messages.- Default:
false
- Default:
publish_invalid_gpsfix:trueto publish the/gpstopic, even if the status of the GPS fix isSTATUS_NO_FIX.- Default:
false
- Default:
reconnect_delay_s: Second delay between reconnection attempts.- Default:
0.5
- Default:
serial_baud: Select the serial baud rate to be used in a serial connection.- Default:
115200
- Default:
span_frame_to_ros_frame: Deprecated and ignored. Setting it logs a warning and has no effect.sensor_msgs/Imuis always published in the ROS body frame (REP 103: x forward, y left, z up), with yaw measured counter-clockwise from East rather than as an azimuth clockwise from North. The driver converts out of the SPAN frame (x right, y forward, z up, azimuth clockwise from North) itself, so the receiver no longer needs to be asked to do it.- This previously sent
VEHICLEBODYROTATIONandAPPLYVEHICLEBODYROTATION, which could never do the whole job: they rotate only the attitude logs (INSPVA, INSPVAS, INSPVAX, INSATT, INSATTS, INSATTX), leaving the CORRIMUDATA rates and accelerations in the SPAN frame. - Default:
false
use_binary_messages:trueto request binary NovAtel logs,falseto request ASCII.- Binary logs are much more efficient and effectively required for IMU data, but ASCII logs are easier to parse for a human.
- Default:
false
wait_for_sync:truein order to wait for both BESTPOS and BESTVEL messages to arrive before publishinggps_msgs/GPSFixmessages. If this isfalse, GPSFix messages will be published immediately when BESTPOS messages are received, but a side effect is that the driver will often be unable to fill in the speed & track fields, which will be NaN. This has no effect ifpublish_novatel_velocityisfalse.- Default:
true
- Default:
loop:trueto keep replaying PCAP reply. Only effective when device ispcap.- Default:
false
- Default:
- ROS Topic Subscriptions
/gps_sync(builtin_interfaces/Time): (optional) Timestamped sync pulses from a DIO module. These are used to improve the accuracy of the time stamps of the messages published./rtcm(rtcm_msgs/Message): (optional) RTCM correction messages, e.g. from an NTRIP client, written to the receiver as they arrive. Only subscribed to ifcorrection_deviceis set.
- ROS Topic Publications
/bestpos(novatel_gps_msgs/NovatelPosition): BESTPOS (opens in a new tab) logs/bestutm(novatel_gps_msgs/NovatelUtmPosition): BESTUTM (opens in a new tab) logs/bestvel(novatel_gps_msgs/NovatelVelocity): BESTVEL (opens in a new tab) logs/bestxyz(novatel_gps_msgs/NovatelXYZ): BESTXYZ (opens in a new tab) logs/clocksteering(novatel_gps_msgs/ClockSteering): CLOCKSTEERING (opens in a new tab) logs/corrimudata(novatel_gps_msgs/NovatelCorrectedImuData): CORRIMUDATA (opens in a new tab) logs- Note: These are the receiver's increments accumulated over each logging interval, not rates. A log that
is all zeros held no IMU samples; see
imu_rate./imuconverts them to rates.
- Note: These are the receiver's increments accumulated over each logging interval, not rates. A log that
is all zeros held no IMU samples; see
/diagnostics(diagnostic_msgs/DiagnosticArray): ROS diagnostics/dual_antenna_heading(novatel_gps_msgs/NovatelDualAntennaHeading): DUALANTENNAHEADING (opens in a new tab) logs/fix(sensor_msgs/NavSatFix (opens in a new tab)): GPSFix messages converted to NavSatFix messages/gpgga(novatel_gps_msgs/Gpgga): GPGGA (opens in a new tab) logs/gpgsa(novatel_gps_msgs/Gpgsa): GPGSA (opens in a new tab) logs/gpgsv(novatel_gps_msgs/Gpgsv): GPGSV (opens in a new tab) logs/gphdt(novatel_gps_msgs/Gphdt): GPHDT (opens in a new tab) logs/gprmc(novatel_gps_msgs/Gprmc): GPRMC (opens in a new tab) logs/gps(gps_msgs/GPSFix (opens in a new tab)): Fixes produced by combining BESTVEL, PSRDOP2 and BESTPOS messages together- Note: GPSFix messages will always be published regardless of what other types are enabled.
/heading2(novatel_gps_msgs/NovatelHeading2): HEADING2 (opens in a new tab) logs/imu(sensor_msgs/Imu (opens in a new tab)): CORRIMUDATA logs converted to Imu messages/inscov(novatel_gps_msgs/Inscov): INSCOV (opens in a new tab) logs/inspva(novatel_gps_msgs/Inspva): INSPVA (opens in a new tab) logs/inspvax(novatel_gps_msgs/Inspvax2): INSPVAX (opens in a new tab) logs/insstdev(novatel_gps_msgs/Insstdev2): INSSTDEV (opens in a new tab) logs- Note: Earlier versions published these as novatel_gps_msgs/Inspvax and novatel_gps_msgs/Insstdev, which decoded the extended solution status incorrectly. Those messages are still defined so old recordings can be played back.
/nmea_sentence(nmea_msgs/Sentence (opens in a new tab)): Every NMEA sentence the receiver sends, republished unparsed and exactly as it arrived, for consumers that read NMEA directly/insupdatestatus(novatel_gps_msgs/NovatelInsUpdateStatus): INSUPDATESTATUS (opens in a new tab) logs/psrdop2(novatel_gps_msgs/NovatelPsrdop2): PSRDOP2 (opens in a new tab) logs/range(novatel_gps_msgs/Range): RANGE (opens in a new tab) logs/rawdmi(novatel_gps_msgs/NovatelRawDmi): RAWDMI (opens in a new tab) logs/rawimux(novatel_gps_msgs/NovatelRawImu): RAWIMUX (opens in a new tab) logs/rosout(rosgraph_msgs/Log): Console output/time(novatel_gps_msgs/NovatelTime): TIME (opens in a new tab) logs- Note: This message is named novatel_gps_msgs/Time on Lyrical and older.
/time_reference(sensor_msgs/TimeReference (opens in a new tab)): Generic time reference messages for time synchronization/trackstat(novatel_gps_msgs/Trackstat): TRACKSTAT (opens in a new tab) logs
- ROS Parameters
Adding New Logs
Do you need support for a new log type? Follow these steps:
- Find the log reference in the official documentation (opens in a new tab).
- Add a new .msg file to the
novatel_gps_msgspackage. - Add a new class in the
novatel_gps_driverpackage that extends thenovatel_gps_driver::MessageParserclass that can parse the log and return the appropriate ROS message.- Note that most MessageParsers produce
UniquePtrs to messages because this is more efficient for intraprocess communications. Some MessageParsers have to produceSharedPtrs because multiple references to their messages are kept for synchronization or other purposes. Choose the appropriate pointer type based on your needs and look at other messages as examples.
- Note that most MessageParsers produce
- Modify the
novatel_gps_driver::NovatelGpsclass:- Add an instance of your parser, a buffer for storing parsed messages, and a method for retrieving them.
- Modify the
NovatelGps::ParseBinaryMessage,NovatelGps::ParseNovatelSentence, orNovatelGps::ParseNmeaSentencemethods to use your parser to parse the new message type and store it in the appropriate buffer.
- Modify the
novatel_gps_driver::NovatelGpsNodeletclass:- Add a configuration parameter to enable the new message type.
- Add a publisher for publishing it.
- Modify
NovatelGpsNodelet::CheckDeviceForDatato retrieve messages from the appropriate buffer and publish them.
- Add a new unit test to
novatel_gps_driver/tests/parser_tests.cppto test your parser.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.