-
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
Extrinsics not available in recorded bag #10457
Comments
Hi @cso-mark In #1887 a RealSense user who was reading from a bag file took the approach of defining profiles for color and depth and then accessing those profiles in the get_extrinsics_to instruction. This is how they obtained the depth to color extrinsics.
Presumably the color to depth extrinsics would therefore be accessed like this:
|
Reading through the linked issue, the author reports that that script never worked. In the corrected script after that, the call to Is this possibly a bug in the SDK that the extrinsics are not properly recorded into the bag? |
When a bag file is used as the camera data source by a script, it should behave like when a live camera is providing the data. Typically, this changing of data sources from live camera to bag is done by inserting the SDK instruction The Python script in the link below provides an example of the instruction's use. |
Hi @cso-mark Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Issue Description
I recorded a bag using the Realsense Viewer and loaded it from python using pyrealsense2. I got an error when trying to access the extrinsics between the color and depth sensors. I used
.get_extrinsics_to()
which threw an exception with messageRequested extrinsics are not available!
You can replicate with the following script.
The output on my machine is
The text was updated successfully, but these errors were encountered: