Skip to content

Commit

Permalink
Fix double wait in ros_gz_bridge (#347)
Browse files Browse the repository at this point in the history
Signed-off-by: ymd-stella <[email protected]>
  • Loading branch information
ymd-stella authored Jan 10, 2023
1 parent a398608 commit d13c5f3
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
gz::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
gz::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_);

gz::transport::waitForShutdown();

return 0;
}

0 comments on commit d13c5f3

Please sign in to comment.