Astra SDK  v2.1.3
函数
device control apis

函数

ASTRA_API_EX astra_status_t astra_distortion_enable (astra_streamsetconnection_t connect, int32_t status)
 
ASTRA_API_EX astra_status_t astra_set_ir_gain_value (astra_streamsetconnection_t connect, int32_t value)
 
ASTRA_API_EX astra_status_t astra_set_ir_exposure_value (astra_streamsetconnection_t connect, int32_t value)
 
ASTRA_API_EX astra_status_t astra_ldp_enable (astra_streamsetconnection_t connect, bool enable)
 
ASTRA_API_EX astra_status_t astra_laser_enable (astra_streamsetconnection_t connect, bool enable)
 
ASTRA_API_EX astra_status_t astra_fan_enable (astra_streamsetconnection_t connect, bool enable)
 
ASTRA_API_EX astra_status_t astra_fan_status (astra_streamsetconnection_t connect, int32_t *value)
 
ASTRA_API_EX astra_status_t astra_fan_flash_enable (astra_streamsetconnection_t connect, bool enable)
 
ASTRA_API_EX astra_status_t astra_fan_flash_status (astra_streamsetconnection_t connect, int32_t *value)
 
ASTRA_API_EX astra_status_t astra_get_orbbec_camera_params (astra_streamsetconnection_t connect, orbbec_camera_params *params)
 
ASTRA_API_EX astra_status_t astra_get_ir_gain_value (astra_streamsetconnection_t connect, int32_t *value)
 
ASTRA_API_EX astra_status_t astra_get_ir_exposure_value (astra_streamsetconnection_t connect, int32_t *value)
 

详细描述

get information from device or set states of device. before you use this, check if the StreamSet is available.

函数说明

◆ astra_distortion_enable()

ASTRA_API_EX astra_status_t astra_distortion_enable ( astra_streamsetconnection_t  connect,
int32_t  status 
)

set distortion

参数
statusthe value can be 0, 1 or 2.