136136 'SurfaceUnitBatteryInfo' ,
137137 'SurfaceUnitVersionInfo' ,
138138 'FilterMessage' ,
139+ 'CameraPanTiltZoom' ,
139140 },
140141)
141142
@@ -515,6 +516,9 @@ class Resolution(proto.Enum):
515516 RESOLUTION_UHD_4K (3):
516517 4K Ultra HD (3840x2160, Only supported on X3
517518 Ultra).
519+ RESOLUTION_QHD_2K (5):
520+ 2K QHD (2560x1440, Only supported on X3
521+ Ultra).
518522 """
519523 RESOLUTION_UNSPECIFIED = 0
520524 """Resolution not specified."""
@@ -526,11 +530,17 @@ class Resolution(proto.Enum):
526530 """1080p Full HD (1920x1080)."""
527531 RESOLUTION_UHD_4K = 3
528532 """4K Ultra HD (3840x2160, Only supported on X3 Ultra)."""
533+ RESOLUTION_QHD_2K = 5
534+ """2K QHD (2560x1440, Only supported on X3 Ultra)."""
529535
530536
531537class Framerate (proto .Enum ):
532538 r"""Available camera frame rates.
533539
540+ If the requested frame rate is higher than what is supported at
541+ the current resolution, the frame rate will be reduced while the
542+ resolution is respected.
543+
534544 Attributes:
535545 FRAMERATE_UNSPECIFIED (0):
536546 Framerate not specified.
@@ -539,13 +549,19 @@ class Framerate(proto.Enum):
539549 FRAMERATE_FPS_25 (2):
540550 25 frames per second. (Only supported on
541551 Pioneer/Pro/X1/X3)
552+ FRAMERATE_FPS_60 (3):
553+ 60 frames per second. (Only supported on X3
554+ Ultra at QHD, 1080p and 720p)
542555 """
543556 FRAMERATE_UNSPECIFIED = 0
544557 """Framerate not specified."""
545558 FRAMERATE_FPS_30 = 1
546559 """30 frames per second."""
547560 FRAMERATE_FPS_25 = 2
548561 """25 frames per second. (Only supported on Pioneer/Pro/X1/X3)"""
562+ FRAMERATE_FPS_60 = 3
563+ """60 frames per second. (Only supported on X3 Ultra at QHD,
564+ 1080p and 720p)"""
549565
550566
551567class Camera (proto .Enum ):
@@ -5247,4 +5263,36 @@ class FilterMessage(proto.Message):
52475263 )
52485264
52495265
5266+ class CameraPanTiltZoom (proto .Message ):
5267+ r"""Digital pan, tilt, and zoom state for the main camera.
5268+
5269+ Only supported on X3 Ultra. Controls digital (not mechanical)
5270+ zoom.
5271+
5272+ Attributes:
5273+ pan (float):
5274+ Horizontal pan (-1.0..1.0), where 0.0 is
5275+ center.
5276+ tilt (float):
5277+ Vertical tilt (-1.0..1.0), where 0.0 is
5278+ center.
5279+ zoom (float):
5280+ Zoom level (0.0..1.0), where 0.0 is no zoom
5281+ and 1.0 is maximum zoom.
5282+ """
5283+
5284+ pan : float = proto .Field (
5285+ proto .FLOAT ,
5286+ number = 1 ,
5287+ )
5288+ tilt : float = proto .Field (
5289+ proto .FLOAT ,
5290+ number = 2 ,
5291+ )
5292+ zoom : float = proto .Field (
5293+ proto .FLOAT ,
5294+ number = 3 ,
5295+ )
5296+
5297+
52505298__all__ = tuple (sorted (__protobuf__ .manifest ))
0 commit comments