-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reread calibration tables after applying OCC calibration #13524
Conversation
@@ -432,6 +432,12 @@ namespace librealsense | |||
void d500_auto_calibrated::write_calibration() const | |||
{ | |||
_calib_engine->write_calibration(_curr_calibration); | |||
|
|||
for( auto & cb : _depth_write_callbacks ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The write does it inside no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not understand. _calib_engine->write_calibration()
uses a HWMC to write the data to the camera.
The callbacks are to notify users - in this case the device object
@@ -463,6 +469,12 @@ namespace librealsense | |||
void d500_auto_calibrated::reset_to_factory_calibration() const | |||
{ | |||
throw not_implemented_exception(rsutils::string::from() << "Reset to factory Calibration not applicable for this device"); | |||
|
|||
// Uncomment if function implemented |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently D500 calibration logic does not implement (no need) resetting to factory calibration. I just wanted that, if and whenever it might be implemented, we won't forget notifying the callbacks
Tracked on [LRS-490]