Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ROS-specific arguments before passing to argparse (#994)
This resolves argparse errors when trying to launch the spawn_entity script as a ROS node. For example, a launch file like the following wouldn't work without this change: <launch> <arg name="model_urdf" default="$(find-pkg-share mymodels)/urdf/ball.urdf" /> <node pkg="gazebo_ros" exec="spawn_entity.py" name="spawner" args="-entity foo -file /path/to/my/model/foo.urdf" /> </launch> Signed-off-by: Jacob Perron <jacob@openrobotics.org>
- Loading branch information