|
@@ -26,7 +26,7 @@ ros2 pkg create example_cpp --build-type ament_cmake --dependencies rclcpp
|
|
|
|
|
|
- pkg create 是创建包的意思
|
|
- pkg create 是创建包的意思
|
|
- --build-type 用来指定该包的编译类型,一共有三个可选项`ament_python`、`ament_cmake`、`cmake`
|
|
- --build-type 用来指定该包的编译类型,一共有三个可选项`ament_python`、`ament_cmake`、`cmake`
|
|
-- --dependencies 指的是这个功能包的依赖,这里小鱼给了一个ros2的python客户端接口`rclpy`
|
|
|
|
|
|
+- --dependencies 指的是这个功能包的依赖,这里小鱼给了一个ros2的C++客户端接口`rclcpp`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -141,4 +141,4 @@ ros2 run example_cpp node_01
|
|
- **小鱼微信:AiIotRobot**
|
|
- **小鱼微信:AiIotRobot**
|
|
- **QQ交流群:139707339**
|
|
- **QQ交流群:139707339**
|
|
|
|
|
|
-- 版权保护:已加入“维权骑士”(rightknights.com)的版权保护计划
|
|
|
|
|
|
+- 版权保护:已加入“维权骑士”(rightknights.com)的版权保护计划
|