The NtripDriver ROS 2 node facilitates communication with an NTRIP (Networked Transport of RTCM via Internet Protocol) server, handling RTCM messages and serial port data transmission. This node is designed to work within the ROS 2 ecosystem.
Author: Robeff Technology
Maintainer : Robeff Technology
- Establishes communication with an NTRIP server.
- Handles RTCM messages received from the NTRIP server.
- Optionally publishes RTCM messages and/or transmits them over a serial port.
- Supports initialization of the NTRIP client's location using NavSatFix messages.
- Configurable parameters for NTRIP server connection, serial port settings, and RTCM message publication.
-
Clone this repository into your Humble workspace:
git clone https://github.com/Robeff-Technology/rbf_ntrip_driver.git
-
Build the Humble workspace:
colcon build
-
Configure the node's parameters by editing the YAML file located at
<path_to_repository>/config/rbf_ntrip_driver.param.yaml
. Adjust the parameters according to your setup. -
Launch the ROS 2 node using the provided launch file:
ros2 launch rbf_ntrip_driver rbf_ntrip_driver.launch.py
You can customize the behavior of the NtripDriver node by modifying the parameters in the rbf_ntrip_driver.param.yaml
file. Refer to the documentation within the file for detailed explanations of each parameter.
-
host
:- The IP address or domain name of the NTRIP server.
-
user_name
:- The username for authentication with the NTRIP server.
-
password
:- The password for authentication with the NTRIP server.
-
mount_point
:- The mount point on the NTRIP server.
-
port
:- The port number used for communication with the NTRIP server.
-
use_nav_sat_fix_init
:- A boolean flag indicating whether to initialize the NTRIP client's location using NavSatFix messages.
-
nav_sat_fix_topic_name
:- The topic name where NavSatFix messages are published.
-
init_ntrip_location_lat
:- The initial latitude position for the NTRIP client.
-
init_ntrip_location_lon
:- The initial longitude position for the NTRIP client.
-
publish_port_rtcm
:- A boolean flag indicating whether to publish RTCM messages over the serial port.
-
name
:- The name of the serial port device.
-
baud_rate
:- The baud rate for serial communication.
-
publish_rtcm
:- A boolean flag indicating whether to publish RTCM messages.
-
rtcm_topic
:- The topic name where RTCM messages are published.
-
rtcm_frame_id
:- The frame ID associated with RTCM messages.
These parameters allow you to configure various aspects of the NtripDriver node's behavior, including NTRIP server connection details, serial port settings, and RTCM message publication options. Adjusting these parameters enables customization to suit your specific application requirements.
- Published Topics:
/rtcm
(mavros_msgs/RTCM): Published ifpublish_rtcm
parameter is set totrue
.
- Subscribed Topics:
/fix
(sensor_msgs/NavSatFix): Subscribed ifuse_nav_sat_fix_init
parameter is set totrue
.