SyrianSpock / realsense_gazebo_plugin

Intel RealSense R200 Gazebo ROS plugin and model
93 stars 78 forks source link

Add prefix to URDF to allow multiple cameras in the same scene #17

Closed felixvd closed 6 years ago

felixvd commented 6 years ago

This adds a prefix, parent and origin parameter to the URDF macro.

The prefix is necessary for multiple cameras to exist in gazebo. Otherwise their names would collide.

The parent and origin parameters are a standard way to define these kinds of macros, and result in a much easier to read robot definition file.

SyrianSpock commented 6 years ago

Works fine. Thanks for contributing :+1: