yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
MicroROS Robot📖
01. Introduction
  • 0.Unpacking and reviewing video
  • 1. ReadMe - learning route
  • 2. Introduction to lidar
  • 3. Introduction to microROS control board
  • 4. FAQ
  • 5. About charging
02. Assembly course
  • Assembly steps
03. Preparation
  • First Trial
  • 1. Write firmware
  • 2. How to install and use VM
  • 3. microROS control board configuration
  • 4. Connect to microROS agent
04. VM Remote control course
  • 1. VM keyboard remote control
  • 2. VM handle remote control
05.ROS-WiFi module configuration
  • 0. Serial port configuration WiFi instructions
  • 1.Module usage in car(ReadMe)
  • 2.Connection module proxy
  • 3.Camera picture correction(ReadMe)
  • 4.Calibrate servo PTZ(ReadMe)
06.ROS+OpenCV course
  • 1.OpenCV Getting started
  • 2.Geometric transformation
  • 3.Image processing and drawing text line segments
  • 4.Image beautification
07.Mediapipe course
  • 1. Hand detection
  • 2. Posture detection
  • 3. Overall inspection
  • 4. Face detection
  • 5. Face recognition
  • 6. Facial effects
  • 7. 3D object recognition
  • 8. Brush
  • 9. Finger control
  • 10. Gesture recognition
08. Robot basic course
  • 1. Robot information release
  • 2. Robot keyboard control
  • 3. Robot handle control
  • 4. Robot state estimation
  • 5. Linear speed calibration
  • 6. Angular velocity calibration
  • 7. Robot URDF model
09. Lidar course
  • 1. Lidar avoid
  • 2. Lidar following
  • 3. Lidar guard
  • 4. Lidarpatrol
  • 5. Gmapping mapping
  • 6. Cartographer mapping
  • 7. Navigation2 navigation avoid
  • 8. ROS Robot APP mapping
  • 9. ROS Robot APP navigation
10. Multi-machine course
  • 1. Multi-machine handle control
  • 2.Multi-machine keyboard control
  • 3. Multi-machine navigation
11.Robot visual interaction
  • 1. Color tracking
  • 2. Object recognition and tracking
  • 3.Face recognition tracking
  • 4.Autonomous driving line patrol
  • 5.QR code motion control
  • 6.Gesture control car movement
  • 7.Palm control car movement
  • 8.Gesture control car action group
  • 9.Palm control 2DOF servo PTZ
12. Linux basic 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. Remote file transfer
  • 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 source
  • 15. set root password
  • 16. sudo free password
  • 17. Connect to WiFi network
  • 18. View system version
  • 19. Customized service management
  • 20. Back up system image
13. Docker course
  • 1. Overview and installation
  • 2. Common commands
  • 3. In-depth understand and publishing images
  • 4. Hardware interaction and data processing
  • 5. Enter robot docker container
18.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
15. microROS control board development environment
  • 1. Introduction to microROS control board
  • 2. Set up ESP32-IDF development environment
  • 3. ESP32-IDF configuration tool
  • 4. Install ESP32-microros components
  • 5. Install and start microROS agent
  • 6. Flash-tool burning firmware
16. ESP32 basic course
  • 1. Turn on the LED light
  • 2. Button function
  • 3. Drive the buzzer
  • 4. Serial communication
  • 5. Battery voltage detection
  • 6. Drive PWM servo
  • 7. Drive motor
  • 8. Read motor encoder data
  • 9. PID controls car speed
  • 10. Read IMU data
  • 11. Read radar data
  • 12. Flash access data
  • 13. Partition table and memory
  • 14. Bluetooth communication
  • 15. WiFi networking
  • 16. Robot kinematics analysis
  • 17. ROS-WiFi camera module
17. microros basic course
  • 1. Publish topic
  • 2. Subscribe topic
  • 3. Multi-topic subscribe and publish
  • 4. Subscribe buzzer topics
  • 5. Subscribe PWM servo topics
  • 6. Subscribe speed control topics
  • 7. Release speed topic
  • 8. Release IMU data topic
  • 9. Publish lidar data topics
  • 10. Customized transmission method
Download
  • Mapping_APP(iOS_Android)
  • Code and firmware
  • Hardware info and driver software
  • VM image file
  • Instruction manual
  • SystemFile_RPi
  • SystemFile_JetsonNANO
  • 3D_Model_File
  • ROS2_Basic_VM
Download ZIP

Welcome to MicroROS Robot repository

3. ROS2 development environment

3. ROS2 development environment

In theory, you can write basic ROS2 programs in Notepad, but to improve development efficiency, you can install the integrated development environment (VSCode).

1. Using the VSCode development environment

  • Search for "VSCode" in your browser, select the installation package for your platform, download and install it.

image-20250814155106188

  • Install commonly used plug-ins to improve work efficiency.

image-20250814155201019

image-20250814155255572

image-20250814155341084

2. Using the Terminal

In ROS2, you'll frequently use the terminal. We recommend a relatively easy-to-use terminal: Terminator. The results are as follows:

image-20231023123012987

2.1. Installation

xxxxxxxxxx
sudo apt install terminator

2.2. Launching

xxxxxxxxxx
Shortcut `Ctrl+Alt+T` to launch

2.3. Common Terminator Shortcuts

About operations within the same tab:

Alt+Up                          // Move to the upper terminal
Alt+Down                        // Move to the lower terminal
Alt+Left                        // Move to the left terminal
Alt+Right                       // Move to the right terminal
Ctrl+Shift+O                    // Split terminal horizontally
Ctrl+Shift+E                    // Split terminal vertically
Ctrl+Shift+Right                // Move the splitter bar to the right in a vertically split terminal
Ctrl+Shift+Left                 // Move the splitter bar to the left in a vertically split terminal
Ctrl+Shift+Up                   // Move the splitter bar up in a horizontally split terminal
Ctrl+Shift+Down                 // Move the splitter bar down in a horizontally split terminal
Ctrl+Shift+S                    // Hide/Show scroll bars
Ctrl+Shift+F                    //Search
Ctrl+Shift+C                    //Copy the selected content to the clipboard
Ctrl+Shift+V                    //Paste the clipboard content here
Ctrl+Shift+W                    //Close the current terminal
Ctrl+Shift+Q                    //Exit the current window, all terminals in the current window will be closed
Ctrl+Shift+X                    //Maximize the current terminal
Ctrl+Shift+Z                    //Maximize the current terminal and enlarge the font
Ctrl+Shift+N or Ctrl+Tab        //Move to the next terminal
Ctrl+Shift+P or Ctrl+Shift+Tab  //Crtl+Shift+Tab moves to the previous terminal

About operations between tabs:

F11                             //Full screen switch
Ctrl+Shift+T                    //Open a new tab
Ctrl+PageDown                   //Move to the next tab
Ctrl+PageUp                     //Move to the previous tab
Ctrl+Shift+PageDown             //Exchange the current tab with the tab after it
Ctrl+Shift+PageUp               //Exchange the current tab with the tab before it
Ctrl+Plus (+)                   //Increase the font
Ctrl+Minus (-)                  //Decrease the font
Ctrl+Zero (0)                   // Restore the font to its original size
Ctrl+Shift+R                    // Reset the terminal state
Ctrl+Shift+G                    // Reset the terminal state and clear the screen
Super+g                         // Bind all terminals so that input into one terminal is automatically input into all terminals
Super+Shift+G                   // Unbind
Super+t                         // Bind all terminals in the current tab so that input into one terminal is automatically input into the other terminals
Super+Shift+T                   // Unbind
Ctrl+Shift+I                    // Open a new window; the new window will use the same process as the original window
Super+i                         // Open a new window; the new window will use a different process than the original window

3. Using Git

3.1. Installation

Since daily work involves teamwork and version management, Git is an essential skill. Git is a free and open source distributed version control system. To install Git in Ubuntu:

xxxxxxxxxx
sudo apt install git

3.2. Basic Git Operations

Git's job is to create and save snapshots of your project and compare them with subsequent snapshots.

This chapter introduces commands for creating and committing your project snapshots.

Git uses the following six commands: git clone, git push, git add, git commit, git checkout, and git pull. We'll explain them in detail later.

img

Description:

  • workspace: Workspace
  • staging area: Staging area
  • local repository: Repository or local repository
  • remote repository: Remote repository

A simple step-by-step guide:

xxxxxxxxxx
$ git init
$ git add .
$ git commit
  • git init - Initializes the repository.
  • git add . - Adds files to the staging area.
  • git commit - Adds the contents of the staging area to the repository.

3.2.1. Repository Creation Commands

The following table lists the Git commands for creating repositories:

CommandDescription
git initInitializes a repository
git cloneMakes a copy of a remote repository, essentially downloading a project.

3.2.2. Committing and Modifying

Git's job is to create and save snapshots of your project and compare them with subsequent snapshots.

The following table lists the commands for creating and committing snapshots of your project:

CommandDescription
git addAdds files to the staging area
git statusViews the current status of the repository, showing modified files.
git diffCompares file differences, that is, the differences between the staging area and the working directory.
git commitCommits the staging area to the local repository.
git resetRoll back a revision.
git rmRemove a file from the staging area and the working directory.
git mvMove or rename a file in the working directory.
git checkoutSwitch branches.
git switch (introduced in Git 2.23)Switch branches more cleanly.
git restore (introduced in Git 2.23)Revert or undo changes to a file.

3.2.3. Commit Log

CommandDescription
git logView historical commits
git blame <file>View the modification history of a specified file in list form

3.2.4. Remote Operations

CommandDescription
git remoteRemote repository operations
git fetchRetrieve code from a remote repository
git pullDownload and merge remote code
git pushUpload and merge remote code

For more information on using the Git tool, enter git --help in the terminal to view the help documentation.

ROS2 install Humble
ROS2 workspace

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