Skip to content

Commit

Permalink
Fix double wait in ros_gz_bridge (#347) (#450)
Browse files Browse the repository at this point in the history
Signed-off-by: ymd-stella <world.applepie@gmail.com>
Co-authored-by: ymd-stella <7959916+ymd-stella@users.noreply.github.com>
  • Loading branch information
ahcorde and ymd-stella committed Sep 13, 2023
1 parent 0ed5e2c commit 151d3d8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions ros_gz_bridge/src/parameter_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,5 @@ int main(int argc, char * argv[])
// ROS 2 spinner
rclcpp::spin(bridge_node);

// Wait for gz node shutdown
ignition::transport::waitForShutdown();

return 0;
}
3 changes: 0 additions & 3 deletions ros_gz_bridge/src/static_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,5 @@ int main(int argc, char * argv[])

rclcpp::spin(bridge_node);

// Wait for gz node shutdown
ignition::transport::waitForShutdown();

return 0;
}
2 changes: 0 additions & 2 deletions ros_gz_image/src/image_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,5 @@ int main(int argc, char * argv[])
// Spin ROS and Gz until shutdown
rclcpp::spin(node_);

ignition::transport::waitForShutdown();

return 0;
}

0 comments on commit 151d3d8

Please sign in to comment.