webots icon indicating copy to clipboard operation
webots copied to clipboard

Bad warning message about Lidar FoV

Open ShuffleWire opened this issue 2 years ago • 0 comments

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

  1. Open sample lidar
  2. Run for few steps
  3. In Robot / Lidar, notice that FoV is 1.57. change the projection to planar
  4. 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.

ShuffleWire avatar Jul 26 '23 09:07 ShuffleWire