-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor rclcpp::init to not take any arguments #166
Comments
I have been trying to set the parameters manually, but only those of the controller managers are feasible, I guess. |
Gazebo itself can now be run as a ROS node (see gazebosim/ros_gz#500) and calls gz_ros2_control/gz_ros2_control/src/gz_ros2_control_plugin.cpp Lines 355 to 359 in e19b0ef
Has there been any consideration to pass these arguments through |
On this line, Rclcpp init is called with a bunch of arguments: https://github.com/ros-controls/gz_ros2_control/blob/master/gz_ros2_control/src/gz_ros2_control_plugin.cpp#L338
This makes it hard to write other plugins for Gazebo that want to connect to ROS without being very specific in their load order. If I write another plugin and it calls Rclcpp init first, Gz Ros2 Control will not be able to initialize correctly.
I would like to refactor this method to set these parameters manually on the node instead of using rclcpp init to do it automatically. Is there any issues anyone sees with this approach?
The text was updated successfully, but these errors were encountered: