File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 <!-- ROS2 dependencies -->
1515 <buildtool_depend >ament_cmake</buildtool_depend >
1616
17+ <depend >ros_environment</depend >
1718 <depend >rclcpp</depend >
1819 <depend >rcpputils</depend >
1920 <depend >rosbag2_transport</depend >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ target_link_libraries( TopicPublisherROS2 commonROS)
4848message ("AMENT_PREFIX_PATH = ${AMENT_PREFIX_PATH} " )
4949message ("ROS_DISTRO (env) = $ENV{ROS_DISTRO} " )
5050
51- if ("${AMENT_PREFIX_PATH} " STREQUAL "/opt/ros/humble" OR " $ ENV{ROS_DISTRO} " STREQUAL "humble" )
51+ if ("$ENV{ROS_DISTRO} " STREQUAL "humble" )
5252 message (STATUS "Detected Humble" )
5353 target_compile_definitions (DataLoadROS2 PUBLIC ROS_HUMBLE )
5454 target_compile_definitions (TopicPublisherROS2 PUBLIC ROS_HUMBLE )
Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ bool DataStreamROS2::start(QStringList* selected_datasources)
134134 auto topic_name = QString::fromStdString (topic.first );
135135 auto type_name = QString::fromStdString (topic.second [0 ]);
136136 dialog_topics.push_back ({ topic_name, type_name });
137- dialog.updateTopicList (dialog_topics);
138137 }
138+ dialog.updateTopicList (dialog_topics);
139139 };
140140
141141 getTopicsFromNode ();
You can’t perform that action at this time.
0 commit comments