diff --git a/rviz_mesh_tools_plugins/src/MeshDisplay.cpp b/rviz_mesh_tools_plugins/src/MeshDisplay.cpp index 379416e..46da0ce 100644 --- a/rviz_mesh_tools_plugins/src/MeshDisplay.cpp +++ b/rviz_mesh_tools_plugins/src/MeshDisplay.cpp @@ -806,7 +806,7 @@ void MeshDisplay::initialServiceCall() void MeshDisplay::processMessage( const mesh_msgs::msg::MeshGeometryStamped& meshMsg) { - std::cout << "GOT MESH GEOMETRY MSG. UUID: " << meshMsg.uuid << std::endl; + // std::cout << "GOT MESH GEOMETRY MSG. UUID: " << meshMsg.uuid << std::endl; if (m_ignoreMsgs) { return; @@ -823,12 +823,6 @@ void MeshDisplay::processMessage( return; } - if(m_lastUuid.empty()) - { - // FIRST MESSAGE - - } - if (!m_lastUuid.empty() && meshMsg.uuid.compare(m_lastUuid) != 0) { RCLCPP_WARN(rclcpp::get_logger("rviz_mesh_tools_plugins"), "Received geometry with new UUID!");