Ask Your Question
0

Is there a topic for camera FOV info?

asked 2020-07-22 08:55:06 -0500

Myzhar gravatar image

Hi, I'd like to publish info about the field of view of a camera, but I cannot find a standard topic for this information. Before creating a custom topic I want to be sure that there is nothing just ready for it.

Thank you Walter

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-07-22 09:44:58 -0500

Mehdi. gravatar image

The information about the camera FOV can be extracted from the camera info message of your camera, so it is kind of redundant to publish the FOV separately. And to answer your question, there isn't a message for publishing a camera FOV, at least not in the official ROS packages.

edit flag offensive delete link more

Comments

Do you mean using those formulas? fov_x = 2 * atan2( w, (2*f_x) ) and fov_y = 2 * atan2( h, (2*f_y) )

Myzhar gravatar image Myzhar  ( 2020-07-22 09:51:21 -0500 )edit

yes something like that.

Mehdi. gravatar image Mehdi.  ( 2020-07-22 10:46:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-07-22 08:55:06 -0500

Seen: 205 times

Last updated: Jul 22 '20