yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
PALMSLAM📖
1. Product Introduction
  • 0.Get started
  • 1. Learning route
  • 2. Frequently Questions
  • 3. Control panel introduction
  • 4. Introduction to LiDAR
  • 5. Robot charging and battery considerations
  • 6.Unboxing and reviewing
2. Assembly video
  • Installation Video
3. Basic configuration
  • 0. Get started quickly
  • 1. Write the firmware
  • 2. Virtual machine installation and startup system
  • 3. Expansion board configuration parameters
  • 4. How to choose the alarm level and radar model
  • 5. Connection Agent
4. LiDAR course
  • 0. Enter the same docker terminal
  • 1. Robot information release
  • 2. Robot URDF model
  • 3. Basic distance measurement function
  • 4. SLAM Gmapping
  • 5. SLAM Cartographer
  • 6. APP mapping
5. Linux operating system
  • 1.Introduction to Linux system
  • 2.Ubuntu file system
  • 3.Ubuntu common commands
  • 4.Ubuntu common editors
  • 5.Ubuntu software operation commands
  • 6.Virtual machine installation
  • 7.SSH remote control
  • 8.VNC remote control
  • 9.Transfer files remotely
  • 10.Driver library and communication
  • 11.Static IP and hotspot mode
  • 12.Bind device ID
  • 13.Capacity expansion and resource allocation
  • 14.Update system software sources
  • 15.Set root user password
  • 16.sudo free password
  • 17.Connect to WiFi network
  • 18.View system version
  • 19.Customized service management
  • 20.Back up system image
6. ROS2 Basic Course
  • 1.Introduction to ROS2
  • 2.ROS2 install Humble
  • 3.ROS2 development environment
  • 4.ROS2 workspace
  • 5.ROS2 function package
  • 6.ROS2 node
  • 7.ROS2 topic communication
  • 8.ROS2 service communication
  • 9.ROS2 action communication
  • 10.ROS2 custom interface message
  • 11.ROS2 parameter service case
  • 12.ROS2 meta-function package
  • 13.ROS2 distributed communication
  • 14.ROS2 DDS
  • 15.ROS2 time related API
  • 16.ROS2 common command tools
  • 17.ROS2 rviz2 use
  • 18.ROS2 rqt toolbox
  • 19.ROS2 Launch startup file configuration
  • 20.ROS2 recording and playback tool
  • 21.ROS2 URDF model
  • 22.ROS2 Gazebo simulation platform
  • 23.ROS2 TF2 coordinate transformation
Download
  • System_File
  • VM_File
  • Code
  • Software_Tool
  • Hareware_Info
  • 3D_Model_File
  • Instruction_Manual
  • ROS2_Basic_VM
Download ZIP

Welcome to PALMSLAM repository

1. Robot information release

Robot information release

Note: The virtual machine needs to be in the same LAN as the car, and the ROS_DOMAIN_ID needs to be consistent. You can view [Expansion Board Parameter Configuration] to set the IP and ROS_DOMAIN_ID on the board.

1. Program function description

After the car connects to the proxy, it will publish sensor data such as radar and imu. You can run commands in the matching virtual machine to query this information, and you can also control the data of sensors such as buzzers.

2. Query the car information

2.1. Start and connect the agent

If you are using the factory virtual machine system, you can enter in the terminal:

xxxxxxxxxx
sh ~/start_agent_computer.sh

If you are using a third-party virtual machine system, you need to install the docker development environment first, and open the terminal to enter:

xxxxxxxxxx
sudo docker run -it --rm -v /dev:/dev -v /dev/shm:/dev/shm --privileged --net=host microros/micro-ros-agent:humble udp4 --port 8090 -v4

image-20240102115129150

Then, turn on the car switch, select the warning level and radar model, and wait for the car to connect to the proxy. The connection is successful as shown in the figure below.

image-20231215164706528

2.2. Query the car node information

If it is the Raspberry Pi desktop version and the Jetson Nano and X5 desktop versions, you need to enter docker in advance and enter the terminal.

xxxxxxxxxx
sh ~/ros2_humble.sh

When the following interface appears, it means that you have successfully entered docker.

image-20240229164047252

Take the matching virtual machine as an example, enter the following command in the terminal to query the node,

xxxxxxxxxx
ros2 node list

image-20241122111027927

Then enter the following command to query which topics the node has published/subscribed to,

xxxxxxxxxx
ros2 node info /YB_PLAMSLAM_Node

image-20241122111123725

It can be seen that the subscribed topics are,

/beep: buzzer control

The published topics are,

/imu: imu module data

/scan: radar module data

We can also query the topic command, terminal input,

xxxxxxxxxx
ros2 topic list

image-20241122111156180

2.3, query topic data

Query radar data,

xxxxxxxxxx
ros2 topic echo /scan

image-20231215170527461

Query imu data,

xxxxxxxxxx
ros2 topic echo /imu

image-20231215170635077

3. Release car control information

3.1. Control buzzer

First query the following buzzer topic related information, terminal input,

xxxxxxxxxx
ros2 topic info /beep

image-20231215171054137

The data type is std_msgs/msg/UInt16. Then enter the following command to turn on the buzzer, terminal input,

xxxxxxxxxx
ros2 topic pub /beep std_msgs/msg/UInt16 "data: 1"

image-20231215171304563

Enter the following command to turn off the buzzer, terminal input,

xxxxxxxxxx
ros2 topic pub /beep std_msgs/msg/UInt16 "data: 0"

image-20231215171355932

Enter the same docker terminal
Robot URDF model

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文