Skip to content

corrections for the multiple cameras case - #38

Open
janrosell wants to merge 10 commits into
SyrianSpock:masterfrom
janrosell:master
Open

corrections for the multiple cameras case#38
janrosell wants to merge 10 commits into
SyrianSpock:masterfrom
janrosell:master

Conversation

@janrosell

Copy link
Copy Markdown

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 SyrianSpock left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
Owner

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

@Vuwij

Vuwij commented Apr 4, 2020

Copy link
Copy Markdown

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