Skip to content

Commit

Permalink
Fix double wait in ros_gz_bridge (#347) (#449)
Browse files Browse the repository at this point in the history
Signed-off-by: ymd-stella <[email protected]>
Co-authored-by: ymd-stella <[email protected]>
  • Loading branch information
ahcorde and ymd-stella authored Sep 13, 2023
1 parent f5af9be commit e93c35d
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 e93c35d

Please sign in to comment.