SyrianSpock / realsense_gazebo_plugin

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

corrections for the multiple cameras case #38

Open janrosell opened 5 years ago

janrosell commented 5 years ago

This fork has made it possible to correctly use several cameras. Different cameras were publishing different topics but with the same image. This was due to the fact that the prefix was not passed to the RealSensePlugin and there the sensor manager had several cameras with the same name and always took the first one. The frame name has also been updated accordingly. Also the resolution of the camera and FOV have been changed according to the specifications. An example has been provided where two cameras look at a chessboard:

roslaunch realsense_gazebo_plugin two_realsense_chessboard_gazebo_spawn.launch roslaunch realsense_gazebo_plugin two_realsense_chessboard_rviz.launch

SyrianSpock commented 4 years ago

@janrosell Please fix the conflicts so I can merge the PR

Vuwij commented 4 years ago

Hi i have another branch with the similar fix, but if this one is more complete then this is good