-
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
change get/set calibration config API to work with JSONs directly #13168
change get/set calibration config API to work with JSONs directly #13168
Conversation
7a58dab
to
4bd86d2
Compare
4bd86d2
to
ef06acb
Compare
static_cast<int>(ds::d500_calib_type::d500_calib_dynamic)); | ||
cmd.require_response = true; | ||
|
||
// send command to device and get response (safety_interface_config entry + header) |
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.
safety_interface_config?
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.
Fixed.
# License: Apache 2.0. See LICENSE file in root directory. | ||
# Copyright(c) 2024 Intel Corporation. All Rights Reserved. | ||
|
||
# test:donotrun |
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.
Maybe we should only add it to the relevant branch?
Or place a comment to "uncomment" this when D555e is connected to LibCI?
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.
Fixed. Added a comment.
test.start("Writing calibration config, then reading and comparing calibration config JSONs") | ||
|
||
# save current calibration config json in order to restore it at the end | ||
original_calib_config = ac_dev.get_calibration_config() |
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.
Not sure we want to write calibration tables..
If the test stop in the middle we will get a very bad calibration table on the CI machines no?
How do you think we can make this more robust?
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.
Let's decide this offline.
tested in
https://github.com/IntelRealSense/librealsense-private/pull/307
new unit test passed and sanity checks passed