yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
ROSMASTER M1📖
01.Robot Configuration and Operation Guide
  • 0. Assembly video
  • 1. Servo PTZ calibration
  • 2. Quick start guide handle control
  • 3. First trial
  • 4. Enter Docker (For JETSON Nano and RPi 5)
  • 1.5 Quick Start video
02.AI Model Preparation
  • AI Model Preparation
03.AI Model Basics course
  • 1.AI large model types and principles
  • 2.RAG retrieval enhancement and model training samples
  • 3.Embodied intelligent robot system architecture
  • 4.Embodied intelligent functions core source code
04.AI Model Developmentnew
  • 1.Register a model service provider account
  • 2. Configuring API-KEY
  • 3. Introduction to Dify
  • 4. Basic Dify Features
  • 5. Deploy the RAG knowledge base
  • 6. AI Large Model Development - chatbot
  • 7. RAG knowledge base + chatbot
  • 8. AI agent workflow
  • 9. Custom wake-up response
  • 10. Core module testing tools
05.AI Model - Text Version
  • 1.Semantic understand and command follow
  • 2.Multimodal visual understand
  • 3.Multimodal visual understand + PTZ tracking
  • 4.Multimodal visual understand + visual following
  • 5.Multimodal visual understand + visual line patroling
  • 6.Multimodal visual understand + Depth Camera Distance Question Answering
  • 7.Multimodal visual understand+SLAM navigation
  • 8.Multimodal visual understand+SLAM navigation + visual line patroling
  • 9.Intention estimation + Multimodal visual understand + SLAM navigation + visual functions
06.AI Model - Voice Version
  • 1.Semantic understand and command follow
  • 2.Multimodal visual understand
  • 3.Multimodal visual understand + PTZ tracking
  • 4.Multimodal visual understand + visual following
  • 5.Multimodal visual understand + visual line patroling
  • 6.Multimodal visual understand + Depth Camera Distance Question Answering
  • 7.Multimodal visual understand+SLAM navigation
  • 8.Multimodal visual understand+SLAM navigation + visual line patroling
  • 9.Intention estimation + Multimodal visual understand + SLAM navigation + visual functions
07.Chassis Control Course
  • 1. ROS control
  • 2. Handle control
  • 3. Keyboard control
  • 4. Linear velocity calibration
  • 5. Angular velocity calibration
  • 6. URDF model
08.Mediapipe Visual Course
  • 1.Hand detection
  • 2.Posture detection
  • 3.Overall detection
  • 4.Facial landmark detection
  • 5.Face detection
  • 6.Face special effects
  • 7.3D object recognition
  • 8.Brush
  • 9.Finger control
  • 10.Gesture recognition
  • 11.Palm target positioning
  • 12.Fingertip trajectory recognition
09.Advanced Vision Course
  • 1.QR code
  • 2.Human Pose Estimation
  • 3.Object Detection
  • 4.AR Vision
  • 5.ROS+Opencv Basics
  • 6.Yolov8 Object Detection (ORIN)
  • 7.Deep Learning Object Tracking (ORIN)
10.HD Camera Vision Course(Standard Version)
  • 01.Color tracking
  • 02.Face Tracking
  • 03.AprilTag machine code tracking
  • 04.KCF Object Tracking
  • 05.QR code tracking
  • 06.Mediapipe gesture tracking
  • 07.Meidpipe human posture tracking
  • 08.Color Follow
  • 09.Face Following
  • 10.AprilTag machine code following
  • 11.QR code follow
  • 12.Mediapipe gesture recognition and following
  • 13.Meidpipe human posture following
  • 14.Visual tracking autonomous driving
  • 15.QR code motion control
  • 16.Gesture motion control
11.Depth Camera Vision Course(Superior Version)
  • 1.Basic use of depth camera
  • 2.Deep pseudo-color image
  • 3.Depth camera ranging
  • 4.Color block volume measurement
  • 5.Color Following
  • 6.Face Following
  • 7.QR code follow
  • 8.Machine code following
  • 9.KCF Object Following
  • 10.Mediapipe gesture following
  • 11.Mediapipe Posture Following
  • 12.Visual tracking autonomous driving
  • 13.Edge Detection
12.LiDAR Course
  • 1.Basic use of Lidar
  • 2.Lidar obstacle avoidance
  • 3.Lidar following
  • 4.Lidar patrol
  • 5.Gmapping-SLAM mapping
  • 6.Cartographer-SLAM mapping
  • 7.slam_toolbox mapping
  • 8.Navigation2 single-point navigation avoid
  • 9.Navigation2 multi-point navigation avoid
  • 10.Cartographer Repositioning navigation
  • 11.RTAB-Map mapping
  • 12.RTAB-Map navigation
  • 13.APP mapping navigation
13.Multi-Vehicle Course
  • 1.Multi-vehicle control
  • 2.Multi-vehicle navigation
  • 3.Multi-vehicle platoon
14.Autonomous Driving expand(Need purchase track map)
【Track Map】Multimodal visual understand+SLAM navigation
  • 1. Multimodal visual understand+SLAM navigation
【Track Map】Autonomous driving (RDKX5 & Orin)
  • 1. Venue placement and precautions
  • 2. Start testing
  • 3. Identify and debug
  • 4. Lane keeping
  • 5. Road sign detection
  • 6. Traffic light recognition
  • 7. Fixed point parking
  • 8. Steering decision
  • 9. Horn sounding
  • 10. Deceleration
  • 11. Speed limit
  • 12. Autonomous parking
  • 13. Comprehensive application
  • 14. Unmanned driving integrated AI large model
【Track Map】Autonomous driving (Jetson Nano)
  • 1. Venue placement and precautions
  • 2. Start testing
  • 3. Identify and debug
  • 4. Lane keeping
  • 5. Road sign detection
  • 6. Traffic light recognition
  • 7. Fixed point parking
  • 8. Steering decision
  • 9. Horn sounding
  • 10. Deceleration
  • 11. Speed limit
  • 12. Autonomous parking
  • 13. Comprehensive application
【Track Map】Road network planning
  • 1. Introduction to Road Network Planning and Navigation
  • 2. Constructing a Pose Map
  • 3. Road Network Labelling
  • 4. Road Network Planning Combined with Sand Table Map
  • 5. Path Replanning
【Track Map】Model Training
  • 1. Data Collection
  • 2. Dataset Annotation
  • 3. YOLOv11 Model Training
  • 4. Model Format Conversion
15.YOLOV11 development course (ORIN)
  • 1.YOLO environment construction
  • 2.CLI use
  • 3.Object detection
  • 4.Instance segmentation
  • 5.Pose estimation
  • 6.Image classification
  • 7.Oriented object detection
  • 8.Model conversion
  • 9.Dataset annotation
  • 10.Model Training_Conversion
  • 11.Model prediction
16.YOLOV11 development course(RPi&Jetson NANO)
  • 1.YOLO environment construction
  • 2.CLI use
  • 3.Object detection
  • 4.Instance segmentation
  • 5.Pose estimation
  • 6.Image classification
  • 7.Oriented object detection
  • 8.Model conversion
  • 9.Model prediction
17.YOLOV11 development course(RDK X5)
  • 1.YOLO environment construction
  • 2.CLI use
  • 3.Object detection
  • 4.Instance segmentation
  • 5.Pose estimation
  • 6.Image classification
  • 7.Oriented object detection
  • 8.Model prediction
  • 9.Model Quantization
18.Main control board course
Jetson Nano B01
  • 1. Introduction to the Jetson Nano B01 SUB Board
  • 2. Burn the system image
  • 3. Re-read the memory card or USB drive that has been burned
  • 4. Startup system
  • 5. Jetson Nano B01 System and Desktop Introduction
  • 6. Memory card or USB flash drive expansion
  • 7. Network Configuration
  • 8. SSH remote login & file transfer
  • 9. VNC Remote Login
  • 10. Jetson Nano B01 system backup
  • 11. Jetson Nano Swap space increased
  • 12. Installation and use of Jtop
  • 13. Third-party board + USB drive to start the car
Jetson Orin Nano_NX
  • 1.Jetson Orin board introduction
  • 2.Restore the factory image system
  • 3.Backup SSD system
  • 4.SSD expansion
  • 5.Network configuration
  • 6.SSH remote login
  • 7.VNC remote control
  • 8.Remote file transfer
  • 9.Jtop tool
  • 10.Exchange space expansion
Raspberry Pi
  • 1. Introduction to Raspberry PI 5
  • 2. Raspberry PI system installation and backup
  • 3. Powering the Raspberry PI 5
  • 4. Startup of Raspberry PI 5
  • 5. Update and upgrade operating system
  • 6. Introduction to raspi-config tool
  • 7. config.txt file description
  • 8. Network Configuration
  • 9. remote access
  • 10. Transfer files remotely
  • 11. Set display resolution and rotation
  • 12. Set screen to sleep
  • 13. Play audio and video
  • 14. Using USB camera
  • 15. Using MIPI camera
  • 16. Get real-time temperature of Raspberry Pi
RDK X5
  • 1.Introduction to RDK X5 board
  • 2.Write system file
  • 3.Hardware interface description
  • 4.Install case and other accessories
  • 5.Network configuration
  • 6.Remote login
  • 7.Update system
  • 8.srpi-config user guide
  • 9.config. txt configuration file
  • 10.Self-startup setting
  • 11.RDK exclusive command usage
  • 12.Linux command usage
  • 13.GPIO readwrite operation
  • 14.Image classification algorithm
  • 15.Use USB camera
  • 16.Use MIPI camera
  • 17.Binocular camera depth algorithm
19.AI large model course(ORIN-Pi-RDK X5)
Offline large model (Text Interaction)
  • 0. AI Large Model Mirroring Explanation
  • 1. Deployment of large-scale AI models
  • 2.Installation of the large-scale model dialogue platform
  • 3. Meta AI Llama 3.2 model
  • 4. Alibaba Cloud Qwen3 Model
  • 5. Microsoft Phi-4 mini model
  • 6. DeepSeek DeepSeek-R1 model
  • 7. Alibaba Cloud Qwen2.5vl Visual Multimodal Large Model
  • 8. Google Gemma3 Visual Multimodal Large Model
  • 9. Llava Visual Multimodal Large Model
  • 10.MiniCPM-V Visual Multimodal Large Model
  • 11. Multimodal Visual Understanding Applications
  • 12. Multimodal Text-Based Image Application
  • 13. Multimodal Video Analysis Application
  • 14. Multimodal visual positioning applications
  • 15. Multimodal table scanning application
  • 16. Multimodal Autonomous Agent Application
Offline large model (Voice Interaction)
  • 0. Voice Interaction Hardware Connection (Must Read)
  • 1. Offline speech-to-text (ASR)
  • 2. Offline Text-to-Speech (TTS)
  • 3. AI large model voice interaction
  • 4. Multimodal visual understanding and voice interaction
  • 5. Multimodal Text-Based Image Application
  • 6. Multimodal Video Analysis Application
  • 7. Multimodal visual positioning applications
  • 8. Multimodal table scanning application
  • 9. Multimodal Autonomous Agent Applications
  • 10. AI large model offline voice assistant
Online large model (Text Interaction)
  • 1. OpenRouter Large Model API Aggregation Platform
  • 2. Multimodal visual understanding applications
  • 3. Multimodal visual positioning applications
  • 4. Multimodal table scanning application
  • 5. Multimodal Autonomous Agent Applications
Online large model (Voice Interaction)
  • 0. Voice Interaction Hardware Connection (Must Read)
  • 1. Online speech-to-text (ASR)
  • 2. Online Text-to-Speech (TTS)
  • 3. AI large model voice interaction
  • 4. Multimodal visual and voice interaction
  • 5. Multimodal visual positioning applications
  • 6. Multimodal table scanning application
  • 7. Multimodal Autonomous Agent Applications
  • 8. AI large model online voice assistant
20.AI large model course(Jetson NANO)
Offline large model (Text Interaction)
  • 4.Multimodal visual understand speech interaction
  • 0.AI large model system image instructions
  • 1.AI large model environment deployment
  • 2.Install large model dialogue platform
  • 3.Meta AI llama 3.2 model
  • 4.Alibaba Cloud Qwen2 model
  • 5.Alibaba Cloud Qwen3 model
  • 6.SUTD TinyLlama
  • 7.DeepSeek DeepSeek-R1 model
  • 8.Microsoft Phi-3
  • 9.Microsoft Orca Mini
  • 10.NVIDIA StarCoder2
  • 11.Google Gemma3 Visual Multimodal Large Model
  • 12.Offline Text to Speech (TTS)
  • 13.Offline Speech to Text (ASR)
Online large model (Text Interaction)
  • 1.OpenRouter large model API aggregation platform
  • 2.Multimodal visual understand application
  • 3.Multimodal visual localization application
  • 4.Multimodal table scanning application
  • 5.Multimodal autonomous proxy application
Online large model (Voice Interaction)
  • 0.Voice interaction hardware connection (ReadMe)
  • 1.Online speech-to-text (ASR)
  • 2.Online Text-to-Speech (TTS)
  • 3.AI large model voice interaction
  • 5.Multimodal visual position application
  • 6.Multimodal table scanning application
  • 7.Multimodal autonomous proxy application
  • 8.AI large model online voice assistant
21.Linux operating system course
  • 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
22.Docker course
  • 1.Docker Introduction and Installation
  • 2.Docker basic commands
  • 3.Docker Submission and Multi-Terminal Access
  • 4.Docker Startup Script
  • 5.Docker-Vscode environment construction
23.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
24.Image processing course
  • 1. Introduction to Open Source CV
  • 2. Image reading and display
  • 3. Image writing
  • 4. Image quality
  • 5. Pixel Operation
  • 6. Image zoom
  • 7. Image cutting
  • 8. Image translation
  • 9. Image Mirroring
  • 10. Affine Transformation
  • 11. Image Rotation
  • 12. Perspective Transformation
  • 13. Grayscale processing
  • 14. Image Binarization
  • 15. Edge Detection
  • 16. Line drawing
  • 17. Rectangle and circle drawing
  • 18. Drawing text and pictures
25.STM32 driver course
  • 0. Notes (must read)
  • 1. About expansion board
  • 2. STM32 Development environment
  • 3. Button control
  • 4. FreeRTOS application
  • 5. Serial communication
  • 6. SBUS model aircraft remote control
  • 7. CAN bus communication
  • 8. RGB colorful light bar
  • 9. Timer interrupt to control PWM servo
  • 10. Control serial port servos
  • 11. Nine-axis attitude sensor to obtain data
  • 12. Control motor
  • 13. Timer captures the encoder data
  • 14. Robot kinematics analysis theory
  • 15. PID control robot movement
26.Main control communication course
  • 1. Update the expansion board firmware
  • 2. Install Rosmaster driver library
  • 3. Jupyter lab basic usage tutorial
  • 4. Buzzer whistle
  • 5. Control PWM servo
  • 6. RGB colorful light bar special effects display
  • 7. Control motor
  • 8. Control robot movement
  • 9. Control Serial Servo
Download
  • Mapping_APP(iOS_Android)
  • Robot_Image_System_File
  • Code-Firmware
  • Instruction_Manual
  • MainBoard_AI_Pure_System
  • VM_File
  • Software_Tools
  • Hardware_Info
  • 3D_Model_File
Download ZIP

Welcome to ROSMASTER M1 repository

4. Road Network Planning Combined with Sand Table Map

Road Network Planning Combined with Sand Table Map Case Study

Road Network Planning Combined with Sand Table Map Case Study1. Course Content2. Sand Table Lane Network Analysis3. Start the road network planning and navigation node4. Test Sandbox Road Network Navigation Case4.1 Point-to-Point Navigation Between Road Networks4.2 Arbitrary Pose Road Network Planning and Navigation5. Source Code Analysis3.1 route_bridge.py Analysis3.1.1 Waypoint Navigation3.1.2 Arbitrary Pose Navigation3.2 Analysis of conver_speed.py6. Navigation Parameter Debugging6.1 Navigation Controller Debugging6.2 Obstacle Avoidance and Cost Map Debugging

1. Course Content

[!IMPORTANT]

  • The rviz visualization used is all started in the virtual machine Rosmaster-RoadNet-Ubuntu24.04

    1. Using road network planning navigation, combined with a functional sand table map to build an urban vehicle road network, allowing the vehicle's navigation system to follow lane traffic rules and plan routes that conform to the road network when navigating in the sand table.
    1. Subsequent courses will include AI large-scale models combined with sand table autonomous driving and road network planning navigation case studies. This section explains how to build road network planning navigation in the sand table.

2. Sand Table Lane Network Analysis

  • Here we can see that the outermost ring lanes are all one-way lanes, allowing only clockwise one-way travel, while the middle lanes are two-way lanes. Therefore, we can use all corners and intersections as waypoints to connect edges and build the entire lane topology network.

image-20251120120000106

  • The lane traffic rule network is shown in the following figure.

[!TIP] The following figure shows an example lane traffic network. Users can also add more waypoints or modify the lane network direction according to their actual needs.

image-20251120121301645

3. Start the road network planning and navigation node

  • (Host side) Chassis radar driver
xxxxxxxxxx
ros2 launch yahboomcar_nav laser_bringup_launch.py
  • (Virtual Machine Side) Start Visualization
xxxxxxxxxx
ros2 launch road_net_route rviz_only.launch.py
  • (Host Side) Open a Terminal Inside a Container
xxxxxxxxxx
# If the ros2_kilted docker container is not running, you need to start it first
bringup_ros2kilted
# Enter the container
exec_ros2kilted

image-20251119150930513

Start the Road Network Planning and Navigation Node

xxxxxxxxxx
ros2 launch road_net_route roadnet_nav2.launch.py map:=map.yaml pose_map:=map roadnet_file:=/root/map/map.geojson

[!TIP]

Optional Startup Parameter Description

map The name of the raster map file to be loaded, defaulting to map.yaml pose_map The pose map file to be loaded. This must be passed when using slam_toolbox for pure localization in navigation. roadnet_file The road network description file, requiring a complete file path. params_file The navigation parameter file, defaulting to os.path.join(get_package_share_directory('road_net_route'), 'config', 'nav2_kilted.yaml') localization_mode The localization mode, defaulting to slam_toolbox.

Parameter nameInputFinal actual path
mapmap.yaml/root/map/map.yaml
pose_mapmap/root/map/map
roadnet_fileAbsolute path/root/map/map.geojson
  • Place the car on the map and use the 2D Pose Estimate tool to give the car its initial pose on the map we created. This approximate position on the map allows for quick and accurate location of the vehicle's global position.

image-20251120144441489

4. Test Sandbox Road Network Navigation Case

4.1 Point-to-Point Navigation Between Road Networks

  • Here we demonstrate using the navigation from point 10 in the road network to point 1 in the road network. Publish a topic in the terminal:

[!NOTE] If the starting position is not a point or edge in the road network, when performing road network navigation, the robot will automatically first enter the nearest road network edge and then move along the road network.

xxxxxxxxxx
ros2 topic pub -1 /road_net_nav_id std_msgs/msg/Int16MultiArray "{data: [10, 1]}"

image-20251120145603744

image-20251120145645751

4.2 Arbitrary Pose Road Network Planning and Navigation

  • Here we demonstrate using the arrow direction in the image as an example:

image-20251120150141473

  • First, control the robot to move to this pose (keyboard control, gamepad control, RViz 2D Goal Pose navigation).

image-20251120150335065

  • Use the following command to view the robot's current coordinates on the map:
xxxxxxxxxx
ros2 run tf2_ros tf2_echo map base_footprint

image-20251120150511441

  • Then, have the vehicle's infotainment system return to Waypoint 10 (this example uses Waypoint 10; it can be located anywhere on the map or within the road network).

image-20251120150718927

  • Publish the target pose topic on the terminal.
xxxxxxxxxx
ros2 topic pub -1 /road_net_nav geometry_msgs/PoseStamped "{
  header: {frame_id: 'map'},
    pose: {
      position: {x: 2.648, y: -1.388, z: 0.0},
      orientation: {x: 0.0, y: 0.0, z: 1.000, w: 0.000}
  }
}"
  • The vehicle will first follow the net to the nearest waypoint to the target position.

image-20251120151210759

  • Then adjust to the target pose.

image-20251120151242925

5. Source Code Analysis

  • Implementation program source code path:
xxxxxxxxxx
~/ros2_kilted/volumes/code_ws/src/road_net_route/road_net_route/route_bridge.py
xxxxxxxxxx
~/ros2_kilted/volumes/code_ws/src/road_net_route/road_net_route/conver_speed.py

3.1 route_bridge.py Analysis

3.1.1 Waypoint Navigation

  • The initialization function of the Route_Bridge class creates a road_net_nav_id topic subscriber, receiving Int16MultiArray data (format [start_id, goal_id]) from the road_net_nav_id topic. It directly calls getAndTrackRoute to initiate road network navigation:
  • Input validation: If the data length is not 2, an error is reported; if it is [-1, -1], navigation is canceled.
  • Navigation execution: Calling self.navigator.getAndTrackRoute(start_id, goal_id) returns a navigation task handle.
  • Feedback Processing: Loop through navigation feedback (feedback), listen for node switching (last_node_id/next_node_id) and rerouting (rerouted) events. If rerouting occurs, call followPath to update the local path.
  • Result Processing: Output logs based on TaskResult (success/cancellation/failure), and publish the results via /action_feedback.
xxxxxxxxxx
self.road_net_nav_ID_sub= self.create_subscription(Int16MultiArray, "road_net_nav_id", self.id_nav_callback, 10)
xxxxxxxxxx
    def id_nav_callback(self, msg:Int16MultiArray):
        ''' Callback function for navigation route messages using IDs '''
        if len(msg.data) != 2:
            self.get_logger().error(Fore.RED+"Invalid ID navigation message received."+Fore.RESET)
            return
        if msg.data[0]==-1 and msg.data[1]==-1 :
            self.navigator.cancelTask()
            self.get_logger().info(Fore.YELLOW+"navigation task canceled via message."+Fore.RESET)
            return
        route_tracking_task = self.navigator.getAndTrackRoute(msg.data[0], msg.data[1])
        task_canceled = False
        last_feedback = None
        follow_path_task = RunningTask.NONE
        while not self.navigator.isTaskComplete(task=route_tracking_task):
            feedback = self.navigator.getFeedback(task=route_tracking_task)
            while feedback is not None:
                if not last_feedback or (feedback.last_node_id != last_feedback.last_node_id or feedback.next_node_id != last_feedback.next_node_id):
                    self.get_logger().info('Passed node ' + str(feedback.last_node_id) +
                        ' to next node ' + str(feedback.next_node_id) +
                        ' along edge ' + str(feedback.current_edge_id) + '.')
                last_feedback = feedback
                if feedback.rerouted:  # or follow_path_task == RunningTask.None
                    self.get_logger().info('Passing new route to controller!')
                    follow_path_task = self.navigator.followPath(feedback.path)
                feedback = self.navigator.getFeedback(task=route_tracking_task)
            if self.navigator.isTaskComplete(task=follow_path_task):
                self.get_logger().info('Controller or waypoint follower server completed its task!')
                self.navigator.cancelTask()
                task_canceled = True
        while not self.navigator.isTaskComplete(task=follow_path_task) and not task_canceled:
            time.sleep(0.1)
​
        result = self.navigator.getResult()
        if result == TaskResult.SUCCEEDED:
            self.get_logger().info(Fore.GREEN+"navigation task completed."+Fore.RESET)
            self.action_feedback_pub.publish(String(data="road_net_nav_succeeded"))
        elif result == TaskResult.CANCELED:
            self.get_logger().info(Fore.YELLOW+"navigation task canceled."+Fore.RESET)
        elif result == TaskResult.FAILED:
            self.get_logger().info(Fore.RED+"navigation task failed."+Fore.RESET)
            self.action_feedback_pub.publish(String(data="road_net_nav_failed"))
        else:
            self.get_logger().info(Fore.RED+"navigation task failed."+Fore.RESET)
            self.action_feedback_pub.publish(String(data="road_net_nav_failed"))

3.1.2 Arbitrary Pose Navigation

  • The initialization function of the Route_Bridge class creates a subscriber to the road_net_nav topic, receiving PoseStamped data (in the format [start_id, goal_id]) from the road_net_nav topic, and directly calls getAndTrackRoute to initiate road network navigation:
xxxxxxxxxx
self.road_net_nav_sub= self.create_subscription(PoseStamped, "road_net_nav", self.nav_callback, 10)
  • PoseStamped: Message type, containing target location and orientation information.
  • "road_net_nav": Topic name, used to send navigation target poses.
  • self.nav_callback: Callback function, the core logic for handling navigation commands.
  • 10: Message queue size. If callback processing is slow, a maximum of 10 messages will be cached to avoid message loss.

 

  • Step 1: Obtain the robot's current pose (TF transformation): Using tf2_ros's Buffer and TransformListener, obtain the coordinate transformation from the robot's base coordinate system (base_footprint) to the global map coordinate system (map), thus obtaining the robot's current pose on the map.

  • Step 2: Construct the robot's current pose: Encapsulate the TF transformation result (translation + rotation) into a start_pose of type PoseStamped, which serves as the starting pose for navigation.

  • Step 3: Pose to waypoint ID in the road network: This is the core transformation logic for road network navigation:

    • Call the __find_nearest_node method to match the starting pose and target pose to the nearest node ID in the road network (using KDTree nearest neighbor search).
    • Call the getAndTrackRoute interface of BasicNavigator, passing in the starting node ID and the target node ID, to initiate navigation based on the road network nodes.
  • Step 4: Final attitude adjustment: Road network navigation only ensures that the robot reaches waypoints near the target pose. The goToPose interface allows the robot to precisely adjust to the target pose.

xxxxxxxxxx
    def nav_callback(self, msg:PoseStamped):
        ''' 任意位姿路网导航回调函数Arbitrary Pose Road Network Navigation Callback Function'''
        
        transform = self.tf_buffer.lookup_transform("map", "base_footprint", rclpy.time.Time(),rclpy.duration.Duration(seconds=5.0))
        if transform is None:
            self.get_logger().info(Fore.RED+"Failed to get TF transform "+Fore.RESET)
            return
        else:
            start_pose = PoseStamped()
            start_pose.header = transform.header
            start_pose.pose.position.x = transform.transform.translation.x
            start_pose.pose.position.y = transform.transform.translation.y
            start_pose.pose.orientation = transform.transform.rotation
            self.get_logger().info(Fore.CYAN + f"current:{transform.transform.translation}"+Fore.RESET)
            
            if self.replace2id:
                nearest_start_node_id, nearest_start_distance = self.__find_nearest_node(start_pose.pose.position.x, start_pose.pose.position.y)
                nearest_goal_node_id, nearest_goal_distance = self.__find_nearest_node(msg.pose.position.x, msg.pose.position.y)
                self.get_logger().info(Fore.CYAN + f"nearest_start_node_id:{nearest_start_node_id}, distance:{nearest_start_distance}"
                                       f"\nnearest_goal_node_id:{nearest_goal_node_id}, distance:{nearest_goal_distance}"
                                       +Fore.RESET)
                route_tracking_task = self.navigator.getAndTrackRoute(start=nearest_start_node_id,goal=nearest_goal_node_id)
            else:
                route_tracking_task = self.navigator.getAndTrackRoute(start=start_pose,goal=msg,use_start=False)
            task_canceled = False
            last_feedback = None
            follow_path_task = RunningTask.NONE
            while not self.navigator.isTaskComplete(task=route_tracking_task):
                feedback = self.navigator.getFeedback(task=route_tracking_task)
                while feedback is not None:
                    if not last_feedback or (feedback.last_node_id != last_feedback.last_node_id or feedback.next_node_id != last_feedback.next_node_id):
                        self.get_logger().info('Passed node ' + str(feedback.last_node_id) +
                            ' to next node ' + str(feedback.next_node_id) +
                            ' along edge ' + str(feedback.current_edge_id) + '.')
                    last_feedback = feedback
                    if feedback.rerouted:  # or follow_path_task == RunningTask.None
                        self.get_logger().info('Passing new route to controller!')
                        follow_path_task = self.navigator.followPath(feedback.path)
                    feedback = self.navigator.getFeedback(task=route_tracking_task)
                if self.navigator.isTaskComplete(task=follow_path_task):
                    self.get_logger().info('Controller or waypoint follower server completed its task!')
                    self.navigator.cancelTask()
                    task_canceled = True
            while not self.navigator.isTaskComplete(task=follow_path_task) and not task_canceled:
                time.sleep(0.1)
            
            result = self.navigator.getResult()
            if result == TaskResult.SUCCEEDED:
                if self.__adjust_pose(msg):
                    self.get_logger().info(Fore.GREEN+"navigation task completed."+Fore.RESET)
                    self.action_feedback_pub.publish(String(data="road_net_nav_succeeded"))
            elif result == TaskResult.CANCELED:
                self.get_logger().info(Fore.YELLOW+"navigation task canceled."+Fore.RESET)
            elif result == TaskResult.FAILED:
                self.get_logger().info(Fore.RED+"navigation task failed."+Fore.RESET)
                self.action_feedback_pub.publish(String(data="road_net_nav_failed"))
            else:
                self.get_logger().info(Fore.RED+"navigation task failed."+Fore.RESET)
                self.action_feedback_pub.publish(String(data="road_net_nav_failed"))
    
    def __adjust_pose(self,final_pose)->bool:
        '''调整到目标姿态Adjust to target posture'''
        self.get_logger().info("adjusting final orientation...")
        final_orientation_task = self.navigator.goToPose(final_pose)
        while not self.navigator.isTaskComplete(task=final_orientation_task):
            time.sleep(0.1)
​
        orientation_result = self.navigator.getResult() 
        if orientation_result == TaskResult.SUCCEEDED:
            return True
        else:
            self.get_logger().info("final orientation adjustment failed.")
            return False
​
​
    def __find_nearest_node(self, x, y):
        '''使用KDTree查找最近节点Use KDTree to find the nearest node'''
        distance, index = self.tree.query([x, y])
        nearest_node_id = self.node_ids[index]
        return nearest_node_id, distance

 

  • The __load_roadnet_nodes method is used during the initialization phase of the entire program to parse the GeoJSON format road network file, extract Point type nodes (topological nodes of the road network), store the coordinates and IDs of the nodes, and build a KDTree index.
xxxxxxxxxx
def __load_roadnet_nodes(self):
    '''加载路网节点用于KDTree搜索Load road network nodes for KDTree search'''
    with open(self.road_net_file, 'r') as f:
        data = json.load(f)
​
    self.node_coords = []   # [[x, y], ...]
    self.node_ids = []      # 对应节点 ID
​
    for feat in data['features']:
        if feat['geometry']['type'] == 'Point':
            x, y = feat['geometry']['coordinates']
            self.node_coords.append([x, y])
            self.node_ids.append(feat['properties'].get("id", None))
​
    self.tree = KDTree(self.node_coords)
    self.get_logger().info(f"Loaded {len(self.node_coords)} nodes into KDTree")

 

3.2 Analysis of conver_speed.py

  • Because the navigation2 in the ROS2 kilted version publishes speed topics in TwistStamped format, while the ROSMASTER-M1 chassis node accepts Twist format speed topics for chassis control, the two cannot communicate directly and require a bridge to convert the speed message format.

We can use the following command to view the difference between the two message types. The main difference is in std_msgs/Header header.

 

  • TwistStamped format speed topic
xxxxxxxxxx
ros2 interface show geometry_msgs/msg/TwistStamped
xxxxxxxxxx
# A twist with reference coordinate frame and timestamp
​
std_msgs/Header header
        builtin_interfaces/Time stamp
                int32 sec
                uint32 nanosec
        string frame_id
Twist twist
        Vector3  linear
                float64 x
                float64 y
                float64 z
        Vector3  angular
                float64 x
                float64 y
                float64 z

 

  • Twist format speed topic
xxxxxxxxxx
ros2 interface show geometry_msgs/msg/Twist
xxxxxxxxxx
# This expresses velocity in free space broken into its linear and angular parts.
​
Vector3  linear
        float64 x
        float64 y
        float64 z
Vector3  angular
        float64 x
        float64 y
        float64 z

 

  • The initialization function of the TwistStampedToTwist class defines a TwistStamped format speed topic subscriber. Then, the callback function converts the TwistStamped format speed topic into a Twist format speed topic and publishes it.
xxxxxxxxxx
#!/usr/bin/env python3
import rclpy
from rclpy.node import Node
from geometry_msgs.msg import TwistStamped, Twist
from colorama import  Fore
class TwistStampedToTwist(Node):
    def __init__(self):
        super().__init__('conver_speed')
        self.sub = self.create_subscription(
            TwistStamped,
            '/cmd_vel',
            self.callback,
            5
        )
        self.pub = self.create_publisher(
            Twist,
            '/cmd_vel',
            5
        )
        self.get_logger().info(Fore.GREEN + "TwistStamped → Twist The converter has been started."+Fore.RESET)
​
    def callback(self, msg:TwistStamped):
        t = Twist()
        t.linear = msg.twist.linear
        t.angular = msg.twist.angular
        self.pub.publish(t)
​
def main():
    rclpy.init()
    node = TwistStampedToTwist()
    rclpy.spin(node)
    node.destroy_node()
    rclpy.shutdown()
​
if __name__ == '__main__':
    main()

 

6. Navigation Parameter Debugging

Road network navigation parameter file path:

xxxxxxxxxx
~/ros2_kilted/volumes/code_ws/src/road_net_route/config/nav2_kilted.yaml

6.1 Navigation Controller Debugging

[!TIP]

Parameter Adjustment Guide

  • If you need to adjust the movement speed and rotation angular velocity during navigation, adjust desired_linear_vel and max_angular_accel
  • If you need to adjust the accuracy of reaching the target point, adjust xy_goal_tolerance and yaw_goal_tolerance
  • For other parameter adjustments, see the comments below.
xxxxxxxxxx
controller_server:
  ros__parameters:
    # ====================== Controller Core Global Parameters ======================
    # Controller's main loop frequency (Hz), determines the frequency of local path planning and speed command issuance, Must match the hardware execution frequency.
    controller_frequency: 20.0
    # Cost map update timeout (seconds) If the cost map is not updated within this time, the controller stops outputting speed commands to avoid planning based on an outdated map.
    costmap_update_timeout: 0.30
    # Minimum speed threshold (m/s) in the X direction (forward/backward). Speed commands below this value are considered invalid filter minor jitter.
    min_x_velocity_threshold: 0.001
    # Minimum speed threshold (m/s) in the Y direction (lateral movement). Only applicable to omnidirectional mobile robots (such as Mecanum wheels). Differential drive robots can be set to a larger value (such as 0.5) to disable lateral movement. 
    min_y_velocity_threshold: 0.5
    # Minimum speed threshold for rotation direction (radians/second). Rotation commands below this value are considered invalid, filtering out minor rotational jitter.
    min_theta_velocity_threshold: 0.001
    # Controller failure tolerance (meters). When the deviation of the locally planned path exceeds this value, the controller is considered to have failed, triggering replanning.
    failure_tolerance: 0.3
    # List of progress checker plugins, used to monitor whether the robot is moving towards the target.
    progress_checker_plugins: ["progress_checker"]
    # List of goal checker plugins, used to determine whether the robot has reached the target pose.
    goal_checker_plugins: ["general_goal_checker"]
    # List of controller plugins, the core of which is the local path tracking algorithm. Here, the pure tracking controller corresponding to FollowPath is used.
    controller_plugins: ["FollowPath"]
    # Whether to use real-time priority scheduling of controller threads.
    use_realtime_priority: false
    # Speed ••limit topic name. The controller will subscribe to speed commands for this topic and dynamically adjust the maximum linear/angular velocity (e.g., slowing down during obstacle avoidance).
    speed_limit_topic: "speed_limit"
​
    # ===================== Progress Checker Parameters (SimpleProgressChecker) =====================
    progress_checker:
      # Progress checker plugin type. SimpleProgressChecker is the basic implementation, monitoring the robot's movement distance and time.
      plugin: "nav2_controller::SimpleProgressChecker"
      # The minimum distance (in meters) the robot needs to move. If it doesn't move this distance within the movement_time_allowance time, it's considered no progress.
      required_movement_radius: 0.05
      # The maximum allowed no progress time (in seconds). If required_movement_radius is not met within this time, the controller will abort the task (error code 105).
      movement_time_allowance: 10.0
​
    # ====================== Target Checker Parameters (SimpleGoalChecker) =====================
    general_goal_checker:
      # Whether it is a stateful checker. Setting it to True will continuously monitor the target pose until the tolerance is met; False will only perform a single check.
      stateful: True
      # Target checker plugin type. SimpleGoalChecker is the basic implementation, determining whether the position and angle are within the tolerance range.
      plugin: "nav2_controller::SimpleGoalChecker"
      # XY plane position tolerance (meters). When the deviation between the robot's position and the target position is less than this value, the position is considered reached.
      xy_goal_tolerance: 0.15
      # Yaw angle tolerance (radians). When the deviation between the robot's orientation and the target orientation is less than this value, the angle is considered reached.
      yaw_goal_tolerance: 0.20
​
    # ===================== Pure Tracking Controller Parameters (RegulatedPurePursuitController) =====================
    FollowPath:
      # Local path tracking plugin type. RegulatedPurePursuitController is a pure tracking algorithm with speed adjustment, suitable for differential drive robots.
      plugin: "nav2_regulated_pure_pursuit_controller::RegulatedPurePursuitController"
      # Desired linear velocity (m/s): The target linear velocity of the robot during normal movement, dynamically scaled by obstacle avoidance/curvature adjustment.
      desired_linear_vel: 0.16
      # Lookahead distance (m): A core parameter of the pure tracking algorithm, determining the distance between path points tracked by the robot. It must match the robot's speed.
      lookahead_dist: 0.5
      # Minimum lookahead distance (m): Prevents the robot from frequently turning due to excessively small lookahead distance.
      min_lookahead_dist: 0.05
      # Maximum lookahead distance (meters), preventing excessively large lookahead distances from causing sluggish robot responses.
      max_lookahead_dist: 0.9
     # Lookahead time (seconds). If use_velocity_scaled_lookahead_dist is enabled, lookahead distance = desired_linear_vel * lookahead_time
      lookahead_time: 1.5
      # Angular velocity (radians/second) for rotating to the target orientation. The rotational speed used to adjust the orientation after the robot reaches the position.
      rotate_to_heading_angular_vel: 1.3
      # Transformer tolerance (seconds). The maximum deviation between the robot's pose transformation timestamp and the current time, addressing Transformer latency issues.
      transform_tolerance: 0.5
      # Whether to use velocity-scaled lookahead distance. When set to True, the lookahead distance dynamically changes with the robot's speed (the faster the speed, the farther the lookahead).
      use_velocity_scaled_lookahead_dist: false
      # Minimum linear velocity (m/s) when approaching the target. When the robot is close to the target, it slows down to this value to avoid overshooting it.
      min_approach_linear_velocity: 0.05
      # Approach velocity scaling distance (m). When the robot is less than this value from the target, it begins to linearly slow down (from desired_linear_vel to min_approach_linear_velocity).
      approach_velocity_scaling_dist: 1.0
      # Whether to enable collision detection. When set to True, the controller will check for collisions on the look-ahead path to avoid obstacles.
      use_collision_detection: false
      # Maximum allowed collision time (seconds) to the look-ahead point. Only effective when use_collision_detection is True, used to assess collision risk.
      max_allowed_time_to_collision_up_to_carrot: 1.0
      # Whether to enable linear velocity adjustment based on path curvature. When set to True, the smaller the turning radius, the lower the linear velocity.
      use_regulated_linear_velocity_scaling: true
      # Whether to enable linear velocity scaling based on cost map. When set to True, the closer the obstacle, the lower the linear velocity.
      use_cost_regulated_linear_velocity_scaling: false
      # Minimum turning radius (meters) to trigger curvature scaling. When the turning radius corresponding to the path curvature is less than this value, deceleration begins.
      regulated_linear_scaling_min_radius: 0.05
      # Minimum speed (meters/second) for curvature scaling. Even with a very small turning radius, the linear velocity will not fall below this value.
      regulated_linear_scaling_min_speed: 0.25
      # Whether to use fixed curvature lookahead distance. When set to True, the lookahead distance is determined by curvature_lookahead_dist.
      use_fixed_curvature_lookahead: false
      # Curvature lookahead distance (meters). Only effective when use_fixed_curvature_lookahead is True.
      curvature_lookahead_dist: 1.0
      # Enable "Rotate to Heading Before Moving". When set to True, if the robot's heading deviates significantly from the path direction, it will rotate before moving forward.
      use_rotate_to_heading: true
      # Minimum angle (radians) required to trigger rotation to heading. Rotation begins when the robot's heading deviates from the path direction beyond this value.
      rotate_to_heading_min_angle: 0.785 #Approximately 45 degrees
     # Maximum angular acceleration (radians/second²). Limits the robot's rotational acceleration to prevent sudden turns that could damage hardware.
      max_angular_accel: 2.7
      # Maximum distance (meters) for robot pose search. Searches for path points within this distance when the controller cannot find a matching robot pose on the path.
      max_robot_pose_search_dist: 10.0
     # Whether to interpolate curvature after the target point. When set to True, curvature is interpolated on the path after the target point to prevent the robot from suddenly stopping after reaching the target.
      interpolate_curvature_after_goal: false
      # Cost scaling distance (meters), only effective when use_cost_regulated_linear_velocity_scaling is True, used to calculate the weight of obstacle avoidance deceleration.
      cost_scaling_dist: 0.08
      # cost scaling gain, only effective when use_cost_regulated_linear_velocity_scaling is True. The larger the gain, the more significant the obstacle avoidance deceleration.
      cost_scaling_gain: 1.0
      # inflation cost scaling factor, used to convert the inflation layer cost of the cost map into a velocity scaling factor. The larger the value, the more sensitive it is to obstacle avoidance in the inflation region.
      inflation_cost_scaling_factor: 3.0

 

6.2 Obstacle Avoidance and Cost Map Debugging

[!TIP]

  • If the robot gets too close to obstacles on the map during navigation, you can adjust the inflation region to move the robot away from the obstacles. Increase the inflation radius and cost scaling factor in local_costmap and global_costmap. The larger the value, the less likely the robot is to get too close to obstacles.
  • See the comments below for other parameter adjustments.
xxxxxxxxxx
# Local Cost Map Configuration: Short-term cost map for real-time obstacle avoidance, updated by scrolling as the robot moves
local_costmap:
  local_costmap:
    ros__parameters:
      # ====================== Core Global Parameters of the Cost Map =====================
      # Cost map update frequency (Hz), determines the refresh speed of the local map, must match the sensor frequency.
      update_frequency: 5.0
      # Cost map publication frequency (Hz), the frequency of publishing the map to visualization tools such as RViz; a frequency lower than the update frequency can reduce bandwidth usage.
      publish_frequency: 2.0
      # Global coordinate system of the cost map; the local map uses the odom coordinate system.
      global_frame: odom
      # Robot base coordinate system, consistent with the robot's center coordinate system configured in the hardware.
      robot_base_frame: base_link
      # Whether to enable scrolling window mode, a core feature of the local map: the map scrolls with the robot's movement, only retaining the map of the area around the robot.
      rolling_window: true
      # Scroll window width (meters), the horizontal range of the local map
      width: 3
      # Scroll window height (meters) - vertical range of local map
      height: 3
      # Cost map resolution (meters/pixel), representing the actual distance represented by each pixel, 0.05 is 5 centimeters/pixel
      resolution: 0.05
      # Robot outline (polygon), representing the actual shape of the robot using a coordinate list
      footprint: "[[0.14,0.11], [0.14,-0.11], [-0.14,-0.11], [-0.14,0.11]]"
      # Robot outline padding distance (meters), an extra safety distance extended outside the actual outline for obstacle avoidance buffering
      footprint_padding: 0.0616
      # Cost map layer plugin list, loaded in order (voxel_layer: voxel obstacle layer; inflation_layer: inflation layer)
      plugins: ["voxel_layer", "inflation_layer"]
     # List of cost map filter plugins used for post-processing the map (keepout_filter: restricted area filtering)
      filters: ["keepout_filter"]
      # Whether to always publish the full cost map. Setting it to True publishes the full map on every update, while False only publishes changed areas (reducing bandwidth)
      always_send_full_costmap: True
      # Service introspection mode. Disabled disables service introspection; options are enabled/verbose
      service_introspection_mode: "disabled"
​
      # ====================== Filter Plugin: Restricted Area Filter (KeepoutFilter) ======================
      keepout_filter:
        # Filter plugin type. KeepoutFilter is used to mark restricted areas in the cost map
        plugin: "nav2_costmap_2d::KeepoutFilter"
       # Enables restricted area filtering. `KEEPOUT_ZONE_ENABLED` is an external parameter (must be set to true/false at startup).
        enabled: KEEPOUT_ZONE_ENABLED
        # Subscribes to restricted area information, receiving the geometry and location information of the restricted areas (e.g., `PolygonStamped`)
        filter_info_topic: "keepout_costmap_filter_info"
        # Whether to override the lethal cost of the restricted areas. Setting it to True replaces the default lethal cost (255) with a custom cost.
        override_lethal_cost: True
        # Custom lethal cost of the restricted areas. 200 indicates a lower lethal cost (255) than the default, but still a high-cost restricted area.
        lethal_override_cost: 200
​
      # ====================== Layer Plugin: InflationLayer ======================
      inflation_layer:
        # Layer plugin type, InflationLayer, used to generate an inflation zone around obstacles to avoid robot collisions.
        plugin: "nav2_costmap_2d::InflationLayer"
        # Cost scaling factor, controls the cost decay rate of the inflation zone (the larger the value, the faster the cost decays and the smaller the inflation zone)
        cost_scaling_factor: 3.0
        # Inflation radius (meters), the inflation range around the obstacle, the minimum safe distance from the robot outline to the obstacle
        inflation_radius: 0.1
        # Global cost map configuration: a long-term cost map used for global path planning of the robot, covering the entire environment
global_costmap:
  global_costmap:
    ros__parameters:
      # ====================== Core Global Parameters of the Cost Map =====================
      # Cost map update frequency (Hz), the global map does not need high-frequency updates, set to 1-2Hz is sufficient
      update_frequency: 1.0
      # Cost map publication frequency (Hz): Consistent with update frequency
      publish_frequency: 1.0
      # Global coordinate system of the cost map (map=globally consistent for path planning)
      global_frame: map
            # Robot base coordinate system (consistent with local map)
​
      # robot_radius: 0.22
​
      robot_base_frame: base_link
      # Robot radius (replaced by footprint, commented out)
      # robot_radius: 0.22
      # Robot footprint (consistent with local map)
      footprint: "[[0.14,0.11], [0.14,-0.11], [-0.14,-0.11], [-0.14,0.11]]"
      # Robot outline padding distance (consistent with the local map)
      footprint_padding: 0.0616
      # Cost map resolution (consistent with the local map, ensuring coordinate matching)
      resolution: 0.05
      # Whether to track unknown space. Setting it to True marks unexplored areas on the map (used for SLAM and unknown environment planning).
      track_unknown_space: true
      # List of cost map layer plugins (static_layer: static layer; obstacle_layer: 2D obstacle layer; inflation_layer: inflation layer)
      plugins: ["static_layer", "obstacle_layer", "inflation_layer"]
      # List of cost map filter plugins (keepout_filter: no-go zone filter; speed_filter: speed limit filter)
      filters: ["keepout_filter", "speed_filter"]
      # Whether to always publish the full cost map
      always_send_full_costmap: True
      # Service introspection mode
      service_introspection_mode: "disabled"
​
      # ====================== Layer Plugin: InflationLayer ======================
      inflation_layer:
        # Layer plugin type. InflationLayer is used to generate inflation zones around obstacles to avoid robot collisions.
        plugin: "nav2_costmap_2d::InflationLayer"
        # Cost scaling factor controls the rate of cost decay in the inflation region (the larger the value, the faster the cost decays and the smaller the inflation region).
        cost_scaling_factor: 3.0
        # Inflation radius (meters): The inflation range around the obstacle; the minimum safe distance from the robot's outline to the obstacle.
        inflation_radius: 0.1

 

 

Road Network Labelling
Path Replanning

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/中文