[][src]Struct k4a_sys_temp::_k4a_device_configuration_t

#[repr(C)]pub struct _k4a_device_configuration_t {
    pub color_format: k4a_image_format_t,
    pub color_resolution: k4a_color_resolution_t,
    pub depth_mode: k4a_depth_mode_t,
    pub camera_fps: k4a_fps_t,
    pub synchronized_images_only: bool,
    pub depth_delay_off_color_usec: i32,
    pub wired_sync_mode: k4a_wired_sync_mode_t,
    pub subordinate_delay_off_master_usec: u32,
    pub disable_streaming_indicator: bool,
}

Configuration parameters for an Azure Kinect device.

\remarks Used by k4a_device_start_cameras() to specify the configuration of the data capture.

\xmlonly k4atypes.h (include k4a/k4a.h) \endxmlonly

Fields

color_format: k4a_image_format_t

Image format to capture with the color camera.

The color camera does not natively produce BGRA32 images. Setting ::K4A_IMAGE_FORMAT_COLOR_BGRA32 for color_format will result in higher CPU utilization.

color_resolution: k4a_color_resolution_t

Image resolution to capture with the color camera.

depth_mode: k4a_depth_mode_t

Capture mode for the depth camera.

camera_fps: k4a_fps_t

Desired frame rate for the color and depth camera.

synchronized_images_only: bool

Only produce k4a_capture_t objects if they contain synchronized color and depth images.

\details This setting controls the behavior in which images are dropped when images are produced faster than they can be read, or if there are errors in reading images from the device.

\details If set to true, \ref k4a_capture_t objects will only be produced with both color and depth images. If set to false, \ref k4a_capture_t objects may be produced only a single image when the corresponding image is dropped.

\details Setting this to false ensures that the caller receives all of the images received from the camera, regardless of whether the corresponding images expected in the capture are available.

\details If either the color or depth camera are disabled, this setting has no effect.

depth_delay_off_color_usec: i32

Desired delay between the capture of the color image and the capture of the depth image.

\details A negative value indicates that the depth image should be captured before the color image.

\details Any value between negative and positive one capture period is valid.

wired_sync_mode: k4a_wired_sync_mode_t

The external synchronization mode.

subordinate_delay_off_master_usec: u32

The external synchronization timing.

If this camera is a subordinate, this sets the capture delay between the color camera capture and the external input pulse. A setting of zero indicates that the master and subordinate color images should be aligned.

This setting does not effect the 'Sync out' connection.

This value must be positive and range from zero to one capture period.

If this is not a subordinate, then this value is ignored.

disable_streaming_indicator: bool

Streaming indicator automatically turns on when the color or depth camera's are in use.

This setting disables that behavior and keeps the LED in an off state.

Trait Implementations

impl Clone for _k4a_device_configuration_t[src]

impl Copy for _k4a_device_configuration_t[src]

impl Debug for _k4a_device_configuration_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.