Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 875 Bytes

File metadata and controls

19 lines (14 loc) · 875 Bytes

Zoom

Zoom {
  SFFloat maxFieldOfView 1.5   # [minFieldOfView, 2*pi]
  SFFloat minFieldOfView 0.5   # [0, maxFieldOfView]
}

Description

The Zoom node allows the user to define a controllable zoom for a Camera device. The Zoom node should be set in the zoom field of a Camera node. The zoom level can be adjusted from the controller program using the wb_camera_set_fov function.

Field Summary

  • The maxFieldOfView and the minFieldOfView fields define respectively the maximum and minimum values for the field of view of the camera zoom (i.e., respectively the maximum and minimum zoom levels). Hence, they represent the minimum and maximum values that can be passed to the wb_camera_set_fov function and they can be retrieved using the wb_camera_get_min_fov and wb_camera_get_max_fov functions.