Skip to content
Snippets Groups Projects
Commit eb768c32 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

fix pose

parent 85720bea
No related branches found
No related tags found
No related merge requests found
Pipeline #23115 passed
......@@ -222,8 +222,7 @@ ftlError_t ftlNextFrame(ftlStream_t stream);
/**
* Write of 4x4 transformation matrix into the stream for a given source. The
* `data` pointer must contain 16 float values packed and in Eigen::Matrix4f
* form.
* `data` pointer must contain 16 float values in column major order.
*/
ftlError_t ftlPoseWrite(ftlStream_t stream, int32_t sourceId, const float *data);
......
......@@ -204,7 +204,7 @@ def render_stereo(camera, baseline=0.15):
d_max = max(np.max(depthL), np.max(depthR))
pose = np.identity(4,dtype=np.float32)
pose[0:3,0:4] = get_3x4_RT_matrix_from_blender(camera)
pose = np.linalg.inv(pose.T)
pose = np.linalg.inv(pose)
ftlcamera = get_ftl_calibration_from_blender(camera.data, baseline=baseline, d_max=d_max)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment