Run ros_gz_bridge
as a Gazebo system instead of a separate process
#490
Labels
ros_gz_bridge
as a Gazebo system instead of a separate process
#490
Desired behavior
Currently
ros_gz_bridge
provides a ROS node that runs as a separate process. This means, both Gazebo<->ros_gz
andros_gz
<-> ROS incur the cost of serialization and network transport.It should be possible to provide a Gazebo system that wraps
ros_gz_bridge
and avoid the Gazebo <->ros_gz
cost sincegz-transport
topics in the same process use function calls without serialization and hitting the network.Alternatives considered
n/a
Implementation suggestion
Instead of taking command line arguments, this system would be configured via xml parameters in the
<plugin>
tag. Alternatively, the configuration can be done via ROS 2 parameters. So instead of setting aconfig_file
, we'd actually set the contents of the config_file as parameters of the node. This has the added benefit of allowing users to add additional topic/service mappings at runtime.cc @caguero
The text was updated successfully, but these errors were encountered: