ros2 / cartographer_ros

Provides ROS integration for Cartographer.
Apache License 2.0
121 stars 59 forks source link

Strip ROS args before passing to GFlags #40

Closed sloretz closed 4 years ago

sloretz commented 4 years ago

GFlags complains it doesn't know about the flags ros-args and r when launching these nodes with remap rules in eloquent. This is because in eloquent ros specific arguments should be wrapped with --ros-args and remap rules prefixed with -r. This strips the ros specific arguments out so GFlags doesn't see them.