2D Mapping of Mobile Robot Based on micro-ROS

This paper proposes micro-ROS-based mobile robot system development and 2D mapping. Micro-ROS uses the micro-XRCE-DDS middleware to communicate with ROS2 in an extremely resource-constrained microcontroller environment. The mobile robot control system adopts a layered control method. The x64 PC equipped with Ubuntu ROS foxy is used as the main control platform, the olimex-stm32-E407 equipped with micro-ROS is used as the motion control layer, and the stm32F103 microcontroller is the underlying driver core. The forward and inverse kinematic equations are obtained through the analysis of the robot kinematics model. Through the interaction between the ROS2 nodes in the micro-ROS environment and the ROS2 nodes on the PC side, the cartographer algorithm is used to verify the effectiveness of the micro-ROS-based mobile robot system.