.NET SDK Documentation

    Show / Hide Table of Contents

    Class CameraConfig

    The fixed properties for Vector's camera.

    A full 3x3 calibration matrix for doing 3D reasoning based on the camera images would look like:

    +--------------+--------------+---------------+ |focal_length.x| 0 | center.x | +--------------+--------------+---------------+ | 0 |focal_length.y| center.y | +--------------+--------------+---------------+ | 0 | 0 | 1 | +--------------+--------------+---------------+

    Inheritance
    Object
    CameraConfig
    Namespace: Anki.Vector.Types
    Assembly: Anki.Vector.dll
    Syntax
    public class CameraConfig

    Properties

    | Improve this Doc View Source

    Center

    Gets the focal center of the camera.

    This is the position of the optical center of projection within the image. It will be close to the center of the image, but adjusted based on the calibration of the lens. It is in floating point pixel values e.g. (155.11, 111.40).

    public Vector2 Center { get; }
    Property Type
    Vector2
    | Improve this Doc View Source

    FocalLength

    Gets the focal length of the camera.

    This is focal length combined with pixel skew (as the pixels aren't perfectly square), so there are subtly different values for x and y. It is in floating point pixel values e.g. (288.87, 288.36)

    public Vector2 FocalLength { get; }
    Property Type
    Vector2
    | Improve this Doc View Source

    FovX

    Gets the x (horizontal) field of view in radians.

    public float FovX { get; }
    Property Type
    Single
    | Improve this Doc View Source

    FovY

    Gets the y (vertical) field of view in radians.

    public float FovY { get; }
    Property Type
    Single
    | Improve this Doc View Source

    MaxCameraExposureTimeMs

    Gets the maximum supported exposure time in milliseconds.

    public uint MaxCameraExposureTimeMs { get; }
    Property Type
    UInt32
    | Improve this Doc View Source

    MaxCameraGain

    Gets the maximum supported camera gain.

    public float MaxCameraGain { get; }
    Property Type
    Single
    | Improve this Doc View Source

    MinCameraExposureTimeMs

    Gets the minimum supported exposure time in milliseconds.

    public uint MinCameraExposureTimeMs { get; }
    Property Type
    UInt32
    | Improve this Doc View Source

    MinCameraGain

    Gets the minimum supported camera gain.

    public float MinCameraGain { get; }
    Property Type
    Single
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2019 by Wayne Venables