22 class ac_trigger :
public std::enable_shared_from_this< ac_trigger >
31 std::weak_ptr< hw_monitor >
_hwm;
106 bool is_auto()
const {
return (_value == _opt_range.max); }
109 virtual void set(
float value )
override;
112 return "Trigger Camera Accuracy Health (off, run now, auto)";
114 virtual void enable_recording( std::function<
void(
const option& )> record_action )
override { _record_action = record_action; }
117 std::function<void( const option& )> _record_action = [](
const option& ) {};
126 reset_option( std::shared_ptr< ac_trigger >
const & autocal );
128 virtual void set(
float value )
override;
131 return "Reset the FW table for Camera Accuracy Health";
133 virtual void enable_recording( std::function<
void(
const option& )> record_action )
override { _record_action = record_action; }
136 std::function<void( const option& )> _record_action = [](
const option& ) {};
182 using callback = std::function< void( rs2_calibration_status ) >;
std::weak_ptr< ac_trigger > _autocal
rs2::frame prepare_output(const rs2::frame_source &source, rs2::frame input, std::vector< rs2::frame > results) override
std::vector< callback > _callbacks
virtual void enable_recording(std::function< void(const option &)> record_action) override
std::shared_ptr< temp_check > _temp_check
stream_profile_interface * get_to_profile() const
void trigger_calibration(calibration_type type)
virtual const char * get_description() const override
std::weak_ptr< ac_trigger > _autocal
rs2_intrinsics const & get_thermal_intrinsics() const
bool should_process(const rs2::frame &frame) override
depth_processing_block(std::shared_ptr< ac_trigger > autocal)
Video DSM (Digital Sync Module) parameters for calibration (same layout as in FW ac_depth_params) Thi...
rs2_intrinsics _thermal_intr
bool check_color_depth_sync()
void trigger_special_frame()
void schedule_next_calibration()
bool _need_to_wait_for_color_sensor_stability
ac_trigger(l500_device &dev, std::shared_ptr< hw_monitor > hwm)
calibration_type _calibration_type
void stop_color_sensor_if_started()
bool auto_calibration_is_on() const
status
Defines return codes that SDK interfaces use. Negative values indicate errors, a zero value indicates...
std::atomic_bool _is_processing
bool is_expecting_special_frame() const
std::vector< uint16_t > _last_yuy_data
virtual const char * get_description() const override
void calibration_is_done()
rs2_extrinsics const & get_extrinsics() const
std::weak_ptr< ac_trigger > _autocal
std::shared_ptr< next_trigger > _next_trigger
void cancel_current_calibration()
void schedule_next_temp_trigger()
void register_callback(callback cb)
stream_profile_interface * get_from_profile() const
void set_color_frame(rs2::frame const &)
std::function< void(rs2_calibration_status) > callback
double read_temperature()
rs2_calibration_status _last_status_sent
stream_profile_interface * _to_profile
bool is_processing() const
Cross-stream extrinsics: encodes the topology describing how the different devices are oriented...
void start_color_sensor_if_needed()
GLenum GLenum GLenum input
void schedule_next_time_trigger(std::chrono::seconds n_seconds=std::chrono::seconds(0))
ac_logger & get_ac_logger()
void set_special_frame(rs2::frameset const &)
std::weak_ptr< ac_trigger > _autocal
rs2_digital_gain _digital_gain
GLsizei GLsizei GLchar * source
rs2_digital_gain
digital gain for RS2_OPTION_DIGITAL_GAIN option.
std::shared_ptr< retrier > _retrier
void call_back(rs2_calibration_status status)
stream_profile_interface * _from_profile
rs2_dsm_params _dsm_params
std::weak_ptr< hw_monitor > _hwm
std::shared_ptr< retrier > _recycler
std::chrono::high_resolution_clock::time_point _rgb_sensor_start
rs2::frame process_frame(const rs2::frame_source &source, const rs2::frame &f) override
rs2_dsm_params const & get_dsm_params() const
virtual void enable_recording(std::function< void(const option &)> record_action) override
rs2_intrinsics const & get_raw_intrinsics() const