ros-simulation/gazebo_ros_pkgs

Why is focal length defined as a single variable ?

Opened this issue · 0 comments

Hi, according to the source code of the libgazebo_camera plugin, I need to define a single focal length value for setting camera intrinsic parameters. Can I set these values separately for fx and fy, using different values for each?

camera_info_msg.K[0] = this->focal_length_;

camera_info_msg.K[4] = this->focal_length_;