ON THIS PAGE

  • DynamicCalibrationControl
  • Examples of functionality
  • Reference

DynamicCalibrationControl

The DynamicCalibrationControl message is the control interface used to interact with the Dynamic Calibration node in DepthAI.It provides a set of commands and configuration options that allow developers to:
  • Change the performance modes based on their use case
  • Load images when it best suits the user
  • Check calibration quality
  • Start or stop the calibration process,
  • Apply a computed calibration to device and
  • Reset already uploaded images to control resources
Essentially, it's the command protocol for managing the dynamic calibration process.

Examples of functionality

Reference

class

dai::DynamicCalibrationControl

variable
Command command
inline function
DynamicCalibrationControl()
inline explicit function
DynamicCalibrationControl(Command cmd)
inline function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)
struct

dai::DynamicCalibrationControl::Commands

struct

dai::DynamicCalibrationControl::Commands::ApplyCalibration

variable
CalibrationHandler calibration
function
ApplyCalibration()
inline explicit function
ApplyCalibration(const CalibrationHandler & calibration)
function
DEPTHAI_SERIALIZE(ApplyCalibration, calibration)
struct

dai::DynamicCalibrationControl::Commands::Calibrate

variable
bool force
inline explicit function
Calibrate(bool force)
function
DEPTHAI_SERIALIZE(Calibrate, force)
struct

dai::DynamicCalibrationControl::Commands::CalibrationQuality

variable
bool force
inline explicit function
CalibrationQuality(bool force)
function
DEPTHAI_SERIALIZE(CalibrationQuality, force)
struct

dai::DynamicCalibrationControl::Commands::LoadImage

struct

dai::DynamicCalibrationControl::Commands::ResetData

struct

dai::DynamicCalibrationControl::Commands::SetPerformanceMode

variable
PerformanceMode performanceMode
inline function
SetPerformanceMode()
inline explicit function
SetPerformanceMode(PerformanceMode performanceMode)
function
DEPTHAI_SERIALIZE(SetPerformanceMode, performanceMode)
struct

dai::DynamicCalibrationControl::Commands::StartCalibration

variable
float loadImagePeriod
variable
float calibrationPeriod
inline explicit function
StartCalibration(float loadImagePeriod, float calibrationPeriod)
function
DEPTHAI_SERIALIZE(StartCalibration, loadImagePeriod, calibrationPeriod)
struct

dai::DynamicCalibrationControl::Commands::StopCalibration

enum

int PerformanceMode

enumerator
DEFAULT
enumerator
STATIC_SCENERY
enumerator
OPTIMIZE_SPEED
enumerator
OPTIMIZE_PERFORMANCE
enumerator
SKIP_CHECKS

Need assistance?

Head over to Discussion Forum for technical support or any other questions you might have.