diff --git a/examples/calibration_post_processing.ipynb b/examples/calibration_post_processing.ipynb index 1d0aa0b..a9c6c33 100644 --- a/examples/calibration_post_processing.ipynb +++ b/examples/calibration_post_processing.ipynb @@ -527,7 +527,7 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 37, "metadata": {}, "outputs": [], "source": [ @@ -735,14 +735,12 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 35, "metadata": {}, "outputs": [], "source": [ - "t=[-0.02557, 0, 0.04232]\n", - "R = Rotation.from_euler(seq='xyz', angles=[0, 0, 0])\n", - "q = R.as_quat()\n", - "rr.log(\"world/base/imu_bad\", rr.Transform3D(translation=t, rotation=rr.Quaternion(xyzw=q)))" + "import numpy as np\n", + "result['ext_wrt_base']['lidar_wrt_base']=np.vstack([np.hstack([R.as_matrix(), np.array(t).reshape(3,1)]), np.array([0,0,0,1])])" ] }, {