E

Triangulation LIDAR

RPLIDAR A1

Basic model

RPLIDAR A2

Cost effective

RPLIDAR A3

Multipoint interaction
E

TOF LIDAR

LPX-T1

AGV preferred

RPLIDAR S2

Indoor & Outdoor

RPLIDAR S3

Best performance in black objects

RPLIDAR C1

The newest model
E

Mapping Solution

Mapper M2

M2M2 Mapper

Slamkit

SLAM spatial localization
E

Robot Base

Hermes

Max loadweight 80KGS

Athena 2.0

Compact and flexible

Apollo

Autonomous Navigation
E

Robot

F3

food delivery robot

H2

hotel robot

P3 PRO

factory robot
E

Discount

Limited time special offer

LiDAR Procurement Season Shopping now up to 10% off

【Tutorial】Introduction Guide to SLAMWARE ROS SDK

Mar 20, 2024 | Technology

ROS, as one of the most widely used infrastructures in the robotics industry, is the preferred framework for many users developing robot applications. If you want to integrate SLAMWARE’s robot chassis or SLAMKit mapping and localization solutions into a system developed based on ROS, what is the most convenient method? ROS SDK is designed for this purpose. This article will introduce you to the basic architecture, deployment methods, and application examples of ROS SDK.

ROS SDK connects the robot or SLAMKit software through an internal SDK and operates as an independent ROS node. ROS SDK can publish standard messages such as laser scans, localization, maps, sensor data, etc., while subscribing to control commands such as setting robot poses, starting/pausing mapping, relocating, moving, etc. The overall architecture is shown in the figure below:

In this Slamware ROS SDK introductory tutorial, you will:

– Learn how to download and install the corresponding version of the ROS SDK package.

– Understand how to deploy and develop with SLAMWARE ROS SDK.

– Understand the relevant topic functionalities list.

Development Environment Requirements:

– Operating system: Ubuntu 16.04 with ROS packages installed.

Hardware Requirements:

To use ROS SDK, you need a mobile robot based on Slamware, with the appropriate IP address configured and enabled. Once the slamware_ros_sdk_server_node is started, it will attempt to connect to this robot.

Downloading and Installing the SDK:

Due to the strong coupling between ROS and the Ubuntu system, and compatibility issues between different versions, we recommend users to install the corresponding version according to the table below:

The ROS SDK we provide supports both ROS1 and ROS2, across two platforms: aarch64 and x86_64. Additionally, it is compatible with different versions of GCC, as listed below:

* Relevant versions can be obtained from the Slamtec official website.

The Slamware ROS SDK includes resources and code that you may need during the development process, organized in the following directory structure:

Deployment and Examples

Taking the example of an x86_64 platform running Ubuntu 20.04, the directory structure after extracting the downloaded slamware_ros_sdk_linux-x86_64-gcc9.tar.gz file is as follows:

1. Compilation

Navigate to the directory slamware_ros_sdk_linux_x86_64_gcc9 and execute catkin_make (for ROS1) or colcon build (for ROS2) to compile the SDK.

2. Configure Workspace System Environment

3. Start Nodes

If the mobile robot is in AP mode, connect to the robot’s WiFi and start the nodes.

View robot pose, map, and laser observations using rviz.

Node Explanation

https://developer.slamtec.com/docs/slamware/ros-sdk/2.8.2_rtm/slamware_ros_sdk_server_node/#slamware_ros_sdk_server_node

Feature List

The relevant topic list is as follows:

Troubleshooting for Example Applications

If you encounter any issues while trying to run the example applications according to the tutorial, please send an email to support@slamtec.com to contact Slamtec technical support. We will address your concerns promptly and provide assistance to ensure smooth operation.