How to dynamically adjust FOV through API ?

asked 2020-08-06 21:20:20 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I read the API manual carefully,find "SetHFOV()" can modify fov. but it works only in the "Load",If I use it in other callback, it will no longer work。 And after setting, I also called the function“this->camera->HFOV().Radian()” to read it. It is really the value I set。

Does gazebo not support dynamic adjustment of FOV?

edit retag flag offensive close merge delete