Documentation Index
Fetch the complete documentation index at: https://docs.generalrobotics.dev/llms.txt
Use this file to discover all available pages before exploring further.
ZedCamera
Inherits from: Camera
No class docstring.
Inherited methods
- From
Camera: getData, getCameraIntrinsics, setCameraIntrinsics, getCameraSettings, setCameraSettings
init
ZedCamera.__init__(resolution: Union[str, None] = 'AUTO', fps: Union[int, None] = 30, positional_tracking: bool = False)
No docstring provided.
resolution (Union[str, None])
No description provided.
positional_tracking (bool)
No description provided.
getImage
ZedCamera.getImage(image_type: str = 'rgb', camera_name: str = 'left')
No docstring provided.
getStereoImagePair
ZedCamera.getStereoImagePair() -> tuple
Get a synchronized pair of left and right images for stereo vision.
getExtrinsics
ZedCamera.getExtrinsics(source_image_frame: str, target_image_frame: str) -> np.ndarray
Get the transform of the target sensor frame with respect to the source sensor frame as a 4x4 homogeneous transformation matrix (np.ndarray)
This transform transforms a 3D point (in meters) from the source frame to the target frame.
the frame of the source sensor. Valid values are ‘color’, ‘rgb’, ‘left’, ‘right’
the frame of the target sensor. Valid values are ‘color’, ‘rgb’, ‘left’, ‘right’
4x4 homogeneous transformation matrix
getPose
No docstring provided.
getPosition
No docstring provided.
getOrientation
ZedCamera.getOrientation()
No docstring provided.
getCameraMatrix
ZedCamera.getCameraMatrix(image_type: str = None) -> np.ndarray
Get the camera matrix K as a numpy array of shape (3, 3)
K = [[fx, 0, cx], [0, fy, cy], [0, 0, 1]]
str, Describes which camera sensor to get the intrinsics of. Valid image_types are: ‘left’, ‘color’, ‘rgb’ (all refer to left camera), or ‘right’
getDistortionCoefficients
ZedCamera.getDistortionCoefficients(image_type: str = 'left') -> np.ndarray
Get distortion coefficients as a numpy array of shape (5,)
str, Describes which camera sensor to get the intrinsics of. Valid image_types are: ‘left’, ‘right’