File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "$ORIGIN")
3131# **************************编译ROS2节点*****************************
3232find_package (rclcpp QUIET )
3333if (NOT rclcpp_FOUND)
34- message (STATUS "rclcpp not found. ros2 demo will not be built" )
34+ message (STATUS "rclcpp not found. ROS2 demo will not be built" )
3535else ()
36- message (STATUS "rclcpp found. ros2 demo will be built" )
36+ message (STATUS "rclcpp found. ROS2 demo will be built" )
3737 find_package (ament_cmake REQUIRED )
3838 find_package (std_msgs REQUIRED )
3939 find_package (sensor_msgs REQUIRED )
@@ -67,11 +67,13 @@ else ()
6767 )
6868 ament_package ()
6969endif ()
70+
7071# **************************编译ROS1节点*****************************
7172find_package (catkin QUIET )
7273if (NOT catkin_FOUND)
73- message (STATUS "catkin found, ros1 demo will be built" )
74+ message (STATUS "catkin not found, ROS1 demo will not be built" )
7475else ()
76+ message (STATUS "catkin found. ROS1 demo will be built" )
7577 find_package (catkin REQUIRED COMPONENTS
7678 roscpp
7779 sensor_msgs
You can’t perform that action at this time.
0 commit comments