[ROS] ROS2 man-machine interface development: the first simplest ROS+QtGui program (button start publisher)

[ROS] Guo Laoer's blog post: ROS directory

1. Install the ROS plugin of QtCreator

See my blog: [ROS] ROS1 man-machine interface development: create ROS1 function package in QtCreator

2. Create a project

1) Create a new project, select Other Project --> ROS Workspace
insert image description here
2) Set the project name, build system to Colcon (ROS2), and project path
insert image description here
3) After the creation is completed, a file will be generated: min_ros2_qt.workspace
insert image description here
4) After the creation is completed, the generated file min_ros2_qt .workspace and its contents are as follows:

Guess you like

Origin blog.csdn.net/u010168781/article/details/131434365