calibration notebook changed
This commit is contained in:
parent
1bed642bd0
commit
8aa8de7a8c
|
@ -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])])"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue