Skip to content

Commit f7447e0

Browse files
author
xpc
committed
add static calibration file
1 parent 2867533 commit f7447e0

File tree

2 files changed

+76
-32
lines changed

2 files changed

+76
-32
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
back_camera:
2+
extrinsic:
3+
transform:
4+
rotation: {w: 0.713789231075861, x: 0.7003585531940812, y: -0.001595758695393934,
5+
z: -0.0005330311533742299}
6+
translation: {x: -0.0004217634029916384, y: -0.21683144949675118, z: -1.0553445472201475}
7+
intrinsic:
8+
D: [-0.1619, 0.0113, -0.00028815, -7.9827e-05, 0.0067]
9+
K: [933.4667, 0, 896.4692, 0, 934.6754, 507.3557, 0, 0, 1]
10+
front_camera:
11+
extrinsic:
12+
transform:
13+
rotation: {w: 0.016213200031258722, x: 0.0030578899383849464, y: 0.7114721800418571,
14+
z: -0.7025205466606356}
15+
translation: {x: 0.0002585796504896516, y: -0.03907777167811011, z: -0.0440125762408362}
16+
intrinsic:
17+
D: [-0.5894, 0.66, 0.0011, -0.001, -1.0088]
18+
K: [1970.0131, 0, 970.0002, 0, 1970.0091, 483.2988, 0, 0, 1]
19+
front_gt:
20+
extrinsic:
21+
transform:
22+
rotation: {w: 0.021475754959146356, x: -0.002060907279494794, y: 0.01134678181520767,
23+
z: 0.9997028534282365}
24+
translation: {x: -0.000451117754, y: -0.605646431446, z: -0.301525235176}
25+
front_left_camera:
26+
extrinsic:
27+
transform:
28+
rotation: {w: 0.33540022607039827, x: 0.3277491469609924, y: -0.6283486651480494,
29+
z: 0.6206973014480826}
30+
translation: {x: -0.25842240863267835, y: -0.3070654284505582, z: -0.9244245686318884}
31+
intrinsic:
32+
D: [-0.165, 0.0099, -0.00075376, 5.3699e-05, 0.01]
33+
K: [929.8429, 0, 972.1794, 0, 930.0592, 508.0057, 0, 0, 1]
34+
front_right_camera:
35+
extrinsic:
36+
transform:
37+
rotation: {w: 0.3537633879725252, x: 0.34931795852655334, y: 0.6120314641083645,
38+
z: -0.6150170047424814}
39+
translation: {x: 0.2546935700219631, y: -0.24929449717803095, z: -0.8686597280810242}
40+
intrinsic:
41+
D: [-0.1614, -0.0027, -0.00029662, -0.00028927, 0.0181]
42+
K: [930.0407, 0, 965.0525, 0, 930.0324, 463.4161, 0, 0, 1]
43+
left_camera:
44+
extrinsic:
45+
transform:
46+
rotation: {w: 0.5050391917998245, x: 0.49253073152800625, y: -0.4989265501075421,
47+
z: 0.503409565706149}
48+
translation: {x: 0.23864835336611942, y: -0.2801448284013492, z: -0.5376795959387791}
49+
intrinsic:
50+
D: [-0.1582, -0.0266, -0.00015221, 0.00059011, 0.0449]
51+
K: [930.4514, 0, 991.6883, 0, 930.0891, 541.6057, 0, 0, 1]
52+
main_pandar64:
53+
extrinsic:
54+
transform:
55+
rotation: {w: 1.0, x: 0.0, y: 0.0, z: 0.0}
56+
translation: {x: 0.0, y: 0.0, z: 0.0}
57+
right_camera:
58+
extrinsic:
59+
transform:
60+
rotation: {w: 0.5087448402081216, x: 0.4947520981649951, y: 0.4977829953071897,
61+
z: -0.49860920419297333}
62+
translation: {x: -0.23097163411257893, y: -0.30843497058841024, z: -0.6850441215571058}
63+
intrinsic:
64+
D: [-0.1648, 0.0191, 0.0027, -8.5282e-07, -9.6983e-05]
65+
K: [922.5465, 0, 945.057, 0, 922.4229, 517.575, 0, 0, 1]

tutorials/pointcloud_world_to_ego/pointcloud_world_to_ego.ipynb

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"cell_type": "code",
20-
"execution_count": 2,
20+
"execution_count": null,
2121
"metadata": {
2222
"ExecuteTime": {
2323
"end_time": "2020-05-14T14:52:19.627445Z",
@@ -27,16 +27,7 @@
2727
"is_executing": false
2828
}
2929
},
30-
"outputs": [
31-
{
32-
"data": {
33-
"text/plain": "<pandaset.sequence.Sequence at 0x113766390>"
34-
},
35-
"metadata": {},
36-
"output_type": "execute_result",
37-
"execution_count": 2
38-
}
39-
],
30+
"outputs": [],
4031
"source": [
4132
"import pandaset\n",
4233
"import os\n",
@@ -58,7 +49,7 @@
5849
},
5950
{
6051
"cell_type": "code",
61-
"execution_count": 3,
52+
"execution_count": null,
6253
"metadata": {
6354
"ExecuteTime": {
6455
"start_time": "2020-05-14T14:52:38.946Z"
@@ -67,19 +58,7 @@
6758
"is_executing": false
6859
}
6960
},
70-
"outputs": [
71-
{
72-
"traceback": [
73-
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
74-
"\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)",
75-
"\u001b[0;32m<ipython-input-3-9b6faf9dd473>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0;31m# get Pandar64 points\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0mseq002\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlidar\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mset_sensor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 7\u001b[0;31m \u001b[0mpandar64_points\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mseq002\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlidar\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mseq_idx\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mto_numpy\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 8\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Pandar64 has points: \"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mpandar64_points\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshape\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 9\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
76-
"\u001b[0;31mAttributeError\u001b[0m: 'list' object has no attribute 'to_numpy'"
77-
],
78-
"ename": "AttributeError",
79-
"evalue": "'list' object has no attribute 'to_numpy'",
80-
"output_type": "error"
81-
}
82-
],
61+
"outputs": [],
8362
"source": [
8463
"import open3d as o3d\n",
8564
"\n",
@@ -124,7 +103,7 @@
124103
},
125104
{
126105
"cell_type": "code",
127-
"execution_count": 11,
106+
"execution_count": null,
128107
"metadata": {
129108
"pycharm": {
130109
"is_executing": false
@@ -158,9 +137,9 @@
158137
],
159138
"metadata": {
160139
"kernelspec": {
161-
"display_name": "Python 3",
140+
"display_name": "python3.7",
162141
"language": "python",
163-
"name": "python3"
142+
"name": "python3.7"
164143
},
165144
"language_info": {
166145
"codemirror_mode": {
@@ -172,15 +151,15 @@
172151
"name": "python",
173152
"nbconvert_exporter": "python",
174153
"pygments_lexer": "ipython3",
175-
"version": "3.7.7"
154+
"version": "3.7.6"
176155
},
177156
"pycharm": {
178157
"stem_cell": {
179158
"cell_type": "raw",
180-
"source": [],
181159
"metadata": {
182160
"collapsed": false
183-
}
161+
},
162+
"source": []
184163
}
185164
},
186165
"toc": {
@@ -228,4 +207,4 @@
228207
},
229208
"nbformat": 4,
230209
"nbformat_minor": 2
231-
}
210+
}

0 commit comments

Comments
 (0)