webots
webots copied to clipboard
Bad warning message about Lidar FoV
Describe the Bug When changing the projection of a Lidar from cylindrical to planar, the message "'fieldOfView' has been modified..." is wrongly displayed
Steps to Reproduce
- Open sample lidar
- Run for few steps
- In Robot / Lidar, notice that FoV is 1.57. change the projection to planar
- Got "'fieldOfView' has been modified. This modification will be taken into account after saving and reloading the world." Even if we change the projection instead Moreover FoV didn't changed.
Expected behavior Display "'projection' has been modified..."
System
- Operating System: Debian 11
- Webots 2023b
Additional context updateFieldOfView() seems to be called during projection change, and maybe a value is set there, but that not clear.