Struct azure_kinect::device::Device [−][src]
pub struct Device<'a> { /* fields omitted */ }
Implementations
Starts the K4A device’s cameras
Get the K4A device serial number
pub fn get_color_control(
&self,
command: ColorControlCommand
) -> Result<(ColorControlMode, i32), Error>
pub fn get_color_control(
&self,
command: ColorControlCommand
) -> Result<(ColorControlMode, i32), Error>
Get the K4A color sensor control value
pub fn set_color_control(
&mut self,
command: ColorControlCommand,
mode: ColorControlMode,
value: i32
) -> Result<(), Error>
pub fn set_color_control(
&mut self,
command: ColorControlCommand,
mode: ColorControlMode,
value: i32
) -> Result<(), Error>
Set the K4A color sensor control value
pub fn get_color_control_capabilities(
&self,
command: ColorControlCommand
) -> Result<ColorControlCapabilities, Error>
Get the raw calibration blob for the entire K4A device.
pub fn get_calibration(
&self,
depth_mode: DepthMode,
color_resolution: ColorResolution
) -> Result<Calibration<'_>, Error>
pub fn get_calibration(
&self,
depth_mode: DepthMode,
color_resolution: ColorResolution
) -> Result<Calibration<'_>, Error>
Get the camera calibration for the entire K4A device, which is used for all transformation functions.
Get the device jack status for the synchronization connectors
Get the device jack status for the synchronization in connector
Get the device jack status for the synchronization out connector
Get the version numbers of the K4A subsystems’ firmware