Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running multiple fisheye rectify nodes #6

Closed
osholsonel20 opened this issue Sep 18, 2020 · 2 comments
Closed

Running multiple fisheye rectify nodes #6

osholsonel20 opened this issue Sep 18, 2020 · 2 comments

Comments

@osholsonel20
Copy link

This is a great tool for us, however when trying to run on 4 different fisheye cameras it seems to take a huge performance hit.

I created the launch file and made 4 of these, one for each of our cameras. I notice huge latency issues on the cameras when doing so.

 <node pkg="nodelet" type="nodelet" name="image_proc_fisheye" args="load image_proc_fisheye/RectifyNodelet camera_nodelet_manager" output="screen">
    <remap from="camera_info" to="/camera/color/camera_info" />
    <remap from="image_raw" to="/camera/color/image_raw" />
    <remap from="image_rect" to="/camera/color/image_rect" />
  </node>
@osholsonel20
Copy link
Author

Looks like I needed multiple managers one for each image_proc_fisheye. Runs smooth, however my computer does start to get noisy... Is this meant to be ran on multiple cameras? Is there a specialized solution for that?

@DavidTorresOcana
Copy link
Owner

DavidTorresOcana commented Sep 19, 2020

You can run as many rectification nodes (one for each camera) as needed with image_proc_fisheye, of course within the HW limits.

This functionality (the one of image_proc_fisheye) is pending to be adopted in noetic with ros-perception/vision_opencv#358. That might be a more efficient manner to implement this functionality and you could rectify as explain here. You may want to wait for the PR to be merged or compile the PR branch yourself to check for performance.

Also, note there exist a tool to calibrate fisheye cameras.

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

No branches or pull requests

2 participants