ROS Introduction

ROS is the abbreviation of robot operating system. ROS is a highly flexible software architecture for writing robot software programs.

ROS is of open source and is a post-operating system or secondary operating system for controlling robots. It provides the functions similar to those provided by an operating system, including hardware abstraction description, low-level driver management, execution of common functions, messages transferred between programs, and program release package management. It also provide some tool programs and libraries used to get, create, write and run multi-machine integration programs.

The primary design goal of ROS is to improve the code reuse rate in the R&D field of robots. ROS is a framework (i.e. "nodes") for distributed processes, which are encapsulated in program and function packages that can be easily shared and distributed. ROS also supports a federated system similar to a code repository, and this system also enables the collaboration and distribution of a project. This design enables the development and realization of a project to to be decided completely independently from the file system to the user interface (no limit by ROS). At the same time, all projects can be integrated with the basic tools of ROS.


  • Burn the corresponding firmware by using mystudio. Among them, burn minirobot in basic, select the transponder function, and burn the latest version of atommain in atom.
  • With Ubuntu 20.04 system, myBuddy has built-in development environment, which can be used directly.
  • If you use ROS to connect to myBuddy through a remote Python Socket, you need to build a ROS-related environment on the remote PC. For details, please refer to 12.1.2 Environment Building

Application of ROS in myBuddy

In order to drive myBuddy through ROS, two tools, rviz and moveit, will be introduced next.

  • Rviz is a three-dimensional visualization platform in ROS, which can realize the graphical display of external information. In addition, it can release control information to the manipulator through rviz, so as to realize the monitoring and control of the robot. The Rviz section will introduce two control methods of myBuddy: Slider Control and Mobile Follow.
  • Moveit is an integrated development platform in ROS, which is composed of a variety of function packages for manipulating manipulator, including motion planning, operation, control, inverse kinematics, 3D perception and collision detection. The Moveit section will introduce four kinds of control groups of myBuddy: the control group is used to realize the partial and overall control of the left arm, right arm and waist.

mycobot_ros installation and update

<ros-workspace> is used to stand for the workspace path of ROS in the computer in the following part.The official default is catkin_ws. Be sure to replace <ros-workspace> with the real path of your local machine when executing the following command.

mate-terminal -e ros1shell # The terminal switches to the ROS1 environment
cd <ros-workspace>/src  # Enter the src folder of the workspace
# Clone the code on github
git clone
cd ..       # return to the workspace
catkin_make # Build the code in the workspace
cd ..
source <ros-workspace>/devel/setup.bash # add environment variables

results matching ""

    No results matching ""