ANROT Tutorial

ROS Melodic Serial Reading Tutorial

Minimal public workflow for exposing ANROT serial output as ROS topics on Ubuntu 18.04 and ROS Melodic.

Updated Jan 1, 2025 Products 6
  • ros
  • melodic
  • ubuntu
  • tutorial

Download the example package

Protocol Support

Protocol / frameSupportHow this example handles it
0x91 IMUSOLSupportedPublishes /IMU_data (sensor_msgs/Imu).
0x62 GWSOLParse-only, not publishedch_serial has a 0x62 case, but serial_imu.cpp does not publish a topic when the frame is KItemGWSOL.
0x63 GWSOL CompactNot supportedThere is no compact gateway decoder.
0x90, 0xA0, 0xB0, 0xC0, 0xD0, 0xD1, 0xF0Partially supportedThe parser handles loose items; the main node publishes single-device /IMU_data, and pressure is not included in the standard IMU topic.

Download the ROS Melodic example package.

Test environment

  • Ubuntu 18.04
  • ROS Melodic
  • ANROT serial device available under /dev/ttyUSB*

Minimal flow

  1. Confirm the serial device and permissions.
  2. Install ros-melodic-serial.
  3. Build the workspace.
  4. Update the serial port and baud rate as needed.
  5. Validate raw data, sensor_msgs/Imu, and rviz visualization.

When this page matters

Use this page for existing Ubuntu 18.04 / ROS Melodic deployments that still need a stable public reference after the legacy resource viewer is retired.