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

3. Expansion board configuration parameters

Control board configuration parameters

  1. The control board has been burned with factory firmware. If other routine firmware has been burned, please re-burn the factory firmware, then power on the board and turn on the power switch.
  2. Copy the configuration script (config_robot.py) file included in the product information to the virtual machine/computer.

The configuration file is stored in the [Program Source Code Summary] -> [Factory-Firmware] directory in the information.

  1. If the virtual machine/computer has an external USB serial port device, please temporarily remove the USB external serial port device of the virtual machine/computer, and then use a type-C data cable to connect the serial port of the virtual machine/computer and the control board. At this time, the system pops up a window and asks you to select the connection to the virtual machine.

image-20241121153047703

  1. Edit the config_robot.py file, scroll to the bottom of the file, update the parameters of the set_wifi_config function according to your home WiFi network name and password, and update the parameters of the set_udp_config function according to the IP address of the virtual machine/computer. The virtual machine/computer version needs to set the car type to CAR_TYPE_COMPUTER. The parameter robot.set_lidar_id(4) indicates setting the radar model. Other parameters remain default or modify as needed. Save the configuration file.
xxxxxxxxxx
if __name__ == '__main__':
    robot = MicroROS_Robot(port='/dev/ttyUSB0', debug=False)
    print("Rebooting Device, Please wait.")
    robot.reboot_device()
    robot.set_wifi_config("Yahboom2", "yah890729")
    robot.set_udp_config([192, 168, 2, 102], 8090)
    robot.set_car_type(robot.CAR_TYPE_COMPUTER)
    #robot.set_car_type(robot.CAR_TYPE_RPI5)
    robot.set_ros_domain_id(15)
    robot.set_lidar_id(1)      #Configure radar   #配置雷达 
    #1: Indicates X3Pro radar        #1:表示X3Pro雷达
    #2: indicates 4ros radar         #2:表示4ros雷达
    #3: indicates tminiplus radar    #3:表示tminiplus雷达
    #4: indicates Silan c1 radar     #4:表示思岚c1雷达
    #5: indicates ms200 radar        #5:表示ms200雷达
    robot.set_ros_serial_baudrate(921600)
    robot.set_ros_namespace("")
    robot.set_pwm_servo_offset(1, 0)
    robot.set_pwm_servo_offset(2, 0)
    robot.set_motor_pid_parm(1, 0.2, 0.2)
    robot.set_imu_yaw_pid_parm(1, 0, 0.2)
  1. After configuring the parameters, run the following command in the configuration state to configure the robot. At this time, check whether the returned data is consistent with your settings. If it is consistent, it means the setting is successful.
xxxxxxxxxx
python3 config_robot.py

image-20241121153253322

  1. Press the robot's reset button to reload the configuration. At this time, the oled will display the warning level and radar model selection to be selected. At this time, you can switch the warning level and radar model by turning left and right and holding the pistol. Switch to the desired position and press the button to confirm. At this time, you can remove the type-C data cable connecting the robot to the virtual machine/computer.
Virtual machine installation and startup system
How to choose the alarm level and radar 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/中文