0
$\begingroup$

Rosanswers logo

I think this already exists (maybe it was one package among many in a github repo used in a robotics competition a few years ago), but I'm not finding it now. It would be nice to see where the corners of a camera intersect other geometry or point clouds in rviz while being able to rotate the camera around (as opposed to only looking at rviz geometry from the point of view of the camera with the Camera plugin).

A from-scratch implementation could use opencv to get a 3D vectors to each corner (or even generate additional intermediate rays to show the camera distortion), then make an rviz Marker out of them.


Originally posted by lucasw on ROS Answers with karma: 8729 on 2021-08-31

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

I know of at least jsk_rviz_plugins which can do this: jsk-visualization.readthedocs.io: CameraInfo:

camera_info rviz plugin

There are others I believe, but I'd have to search.

maybe it was one package among many in a github repo used in a robotics competition a few years ago

you may be remembering Team Vigir's RViz plugins: team-vigir/vigir_ocs_common. But from this, I get the impression it's basically the jsk_rviz_plugins plugin with some configuration options added.


Originally posted by gvdhoorn with karma: 86574 on 2021-08-31

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.