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 and ahcorde committed Sep 13, 2023
1 parent 0ed5e2c commit 72768bc
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 72768bc

Please sign in to comment.