Skip to content

Software

at_sonde_ros_driver

From github.com/ma-shangao/at_sonde_ros_driver (opens in a new tab)

  • Drones and boats
  • Driver or SDK
  • BSD-3-Clause

A ROS 2 driver that streams monitored parameters from an In-Situ Aqua TROLL multiparameter sonde over Modbus serial communication. It has been tested with the AT600 sonde.

Facts

GitHub stars
2read on 27 Nov 2026
Last update
12 Feb 2026Newest commit on main
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Intermediate
Hardware it needs, as the project states it
It also requires a system with ROS 2 installed; no other hardware is stated.

Checked on GitHub on 27 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 7c50e93 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Streams selected sonde parameters over Modbus serial and publishes each one as a Float32 ROS 2 topic.
  • Topic names are paired with register addresses through the pub_topic_names and streaming_param_reg_adds parameters.
  • Serial port, baud rate, sonde address, timeouts and retry count are all configurable as ROS parameters or via a YAML file.
  • Includes a sensor scan option that runs on first use after reconfiguration.
  • Installable as a binary package or built from source with colcon.
  • Some parameters can only be set when the node starts.

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
Maintained, last commit on 12 Feb 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

Facts read at commit 7c50e93

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 @ma-shangao, at commit 7c50e93, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

at_sonde_ros_driver

(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) (opens in a new tab) (opens in a new tab)

Overview

This package provides a ROS 2 driver to stream the monitored parameters of an In-Situ Aqua TROLL Multiparameter Sonde, through modbus serial communication.

This package has been tested with the AT600 Sonde.

Installation

Make sure you have ROS 2 (opens in a new tab) installed on your system.

Binary

To install the binary package, use the following command:

sudo apt update
sudo apt install ros-$ROS_DISTRO-at-sonde-ros-driver
From Source

To build the package from source, follow these steps:

  1. Create a workspace directory:
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
  1. Clone the repository:
git clone https://github.com/ma-shangao/at_sonde_ros_driver.git
  1. Prepare the required dependencies with rosdep:
cd ~/ros2_ws
rosdep install --from-paths src --ignore-src -r -y
  1. Build the package:
colcon build
ROS 2 Node: at_sonde_ros_driver_node
Published Topics

The node publishes the following topics:

Topic NameMessage TypeDescription
see ROS param pub_topic_namesstd_msgs/msg/Float32Publisher of selected sonde parameters
...
ROS Parameters

The configurable ROS parameters for the node:

Parameter NameTypeDefault ValueDescription
baudint19200Baud rate for serial communication
modbus_debug_flagboolfalseEnable debug messages for modbus communication
modbus_timeout_microsecondsint700000Timeout for modbus communication in microseconds
modbus_timeout_secondsint0Timeout for modbus communication in seconds
pub_topic_nameslist[string]["temperature", "battery_remaining"]Names of the topics to publish the streamed data
retry_limitint5Number of retries for modbus communication
sensor_scan_flagboolfalseScan the sensor on the first use after reconfiguration
serial_portstring"/dev/ttyUSB0"Serial port for modbus communication
sonde_addint1Sonde address for modbus communication
streaming_param_reg_addslist[int][5450, 5674]Register addresses of the parameters to be streamed

The pub_topic_names and streaming_param_reg_adds parameters must be set in pairs. The first element of pub_topic_names corresponds to the first element of streaming_param_reg_adds, and so on.

Usage

To run the node, use the following command:

ros2 run at_sonde_ros_driver at_sonde_ros_driver_node

The ROS parameters can also be configured using a YAML file.

ros2 run at_sonde_ros_driver at_sonde_ros_driver_node --ros-args --params-file <path_to_yaml_file>
Known Issues

Some ROS 2 parameters can currently only be set at the start of the node.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.