yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
MicroROS Robot Expansion Board📖
01. 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
02. 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.Drive ESP32 WiFi camera
03. 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
04.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
05. Robot basic course
4.1 Robot information release
  • Robot information release
4.0 Preparation
  • 1. Write firmware
  • 2. How to install and use VM
  • 3. microROS control board configuration
  • 4. Connect to microROS agent
4.2 Robot keyboard control
  • Robot keyboard control
4.3 Robot handle control
  • Robot handle control
4.4 Robot state estimation
  • Robot state estimation
4.5 Line speed calibration
  • Line speed calibration
4.6 Angular velocity calibration
  • Angular velocity calibration
4.7 Robot URDF model
  • Robot URDF model
Download
  • Firmware And Code
  • VM_File
  • 3D Model File
  • ROS2_Basic_VM
Download ZIP

Welcome to MicroROS Robot Expansion Board 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
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文