-
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
Camera Extrinsics Issue #6236
Comments
I hope that the discussion in the link below will be useful to you. |
Thanks for the information. That link is helpful, and matches what I'm observing. This means the streams are not in the point coordinate space. Is there any further documentation for the coordinate space of the individual camera streams? Also, will the accelerometer and gyroscope poses be in the same coordinate space as the depth frame with the motion correction turned off? |
The SDK has a 'Projection' documentation page that describes the coordinate systems. https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0 The 'world origin' location of the 400 Series cameras is the left IR imager. The axes of the D435i's IMU are described in the link below: https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/ The purpose of the motion correction is to correct for a known inaccuracy factor in the IMU hardware component, so that the final calculation for gravity acceleration is closer to the '9.81' gravity value of the real world after adjustment than the "raw" gravity values before adjustment. |
@kudansam , the Depth->RGB extrinsic, or RGB extrinsic in short does not represents the position of the RGB sensor in World CS (Depth sensor) but the inverse - the origin of the world as observed from the RGB sensor's base. It is often a source of confusion when dealing with the camera matrix. A very elaborated explanation about the camera matrix can be found at Kyle Simek's site : Quote
|
@kudansam , do you have further questions or this can be closed?. |
No. That's very useful and has clarified things. Thanks everyone! |
Issue Description
I'm having trouble understanding the output extrinsics of the realsense SDK.
I'm attempting to obtain the extrinsics of the RGB stream with respect to the depth stream as follows:
Given the documentation suggests the depth coordinate system has the x-axis pointing to left of the camera when viewed from the front:
And that the RGB module is to the right of the depth module on the D435i:
I would expect the x component of the output extrinsics to be negative. However, when I query from the device I get a result with a positive x component:
Am I misunderstanding the coordinate system of the realsense or the API in some way?
The text was updated successfully, but these errors were encountered: