ros2 / ros1_bridge

ROS 2 package that provides bidirectional communication between ROS 1 and ROS 2
Apache License 2.0
425 stars 275 forks source link

Param_Bridge cant parse --ros-args #375

Closed geoeo closed 1 year ago

geoeo commented 1 year ago
ros2 run ros1_bridge dynamic_bridge --ros-args -r __ns:=/test 

Works

ros2 run ros1_bridge parameter_bridge --ros-args -r __ns:=/test 

Crashes. This is a big problem when trying to launch from a launchfile

gbiggs commented 1 year ago

Please provide specific error output from the crash and as much detail about your environment as possible.

geoeo commented 1 year ago

The error after running ros2 run ros1_bridge parameter_bridge --ros-args -r __ns:=/test

[ERROR] [1660892133.744271987] [rcl]: Failed to parse global arguments
terminate called after throwing an instance of 'rclcpp::exceptions::RCLInvalidROSArgsError'
  what():  failed to initialize rcl: Couldn't parse trailing -r flag. No remap rule found., at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/arguments.c:37

I think this was already posted a year ago, but the poster build from source https://github.com/ros2/ros1_bridge/issues/316

clalancette commented 1 year ago

Yes, agreed, that is the same error as in #316. Closing this as a duplicate.