Skip to content

Conversation

janrosell
Copy link

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

Copy link
Owner

@SyrianSpock SyrianSpock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks OK, realistically I don't have time to test this locally so I'll just merge

@SyrianSpock
Copy link
Owner

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

@Vuwij
Copy link

Vuwij commented Apr 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants