Skip to content

Commit 80458e0

Browse files
committed
transfer mojin calibration to cob calibration for cob4-24
1 parent c05a90b commit 80458e0

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

cob4-24/calibration/calibration_offset.urdf.xacro

+12-14
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<xacro:property name="offset_head_pitch" value="0.0"/>
4848
<xacro:property name="offset_head_yaw" value="0.0"/>
4949

50-
<!-- sersorring mount positions | relative to head_3_link -->
50+
<!-- sensorring mount positions | relative to head_3_link -->
5151
<xacro:property name="offset_sensorring_x" value="0.0"/>
5252
<xacro:property name="offset_sensorring_y" value="0.0"/>
5353
<xacro:property name="offset_sensorring_z" value="0.0"/>
@@ -87,44 +87,42 @@
8787
<xacro:property name="offset_gripper_left_pitch" value="0.0"/>
8888
<xacro:property name="offset_gripper_left_yaw" value="0.0"/>
8989

90-
<!-- *********************************** -->
91-
<!-- kinematic chain reference positions -->
92-
<!-- *********************************** -->
93-
<!-- this feature is no longer supported as urdfdom does not parse the according 'calibration_rising' tag -->
94-
95-
<!-- cam3d left | handeye calibration | relative to torso_3_link -->
90+
<!-- ***************************** -->
91+
<!-- extrinsic camera calibration -->
92+
<!-- ***************************** -->
93+
<!-- torso cam3d left mount positions | relative to torso_3_link -->
9694
<xacro:property name="offset_torso_cam3d_left_x" value="0.0"/>
9795
<xacro:property name="offset_torso_cam3d_left_y" value="0.0"/>
9896
<xacro:property name="offset_torso_cam3d_left_z" value="0.0"/>
9997
<xacro:property name="offset_torso_cam3d_left_roll" value="0.0"/>
100-
<xacro:property name="offset_torso_cam3d_left_pitch" value="0.0"/>
98+
<xacro:property name="offset_torso_cam3d_left_pitch" value="0.04"/>
10199
<xacro:property name="offset_torso_cam3d_left_yaw" value="0.0"/>
102100

103-
<!-- cam3d right | handeye calibration | relative to torso_3_link -->
101+
<!-- torso cam3d right mount positions | relative to torso_3_link -->
104102
<xacro:property name="offset_torso_cam3d_right_x" value="0.0"/>
105103
<xacro:property name="offset_torso_cam3d_right_y" value="0.0"/>
106104
<xacro:property name="offset_torso_cam3d_right_z" value="0.0"/>
107105
<xacro:property name="offset_torso_cam3d_right_roll" value="0.0"/>
108-
<xacro:property name="offset_torso_cam3d_right_pitch" value="0.0"/>
106+
<xacro:property name="offset_torso_cam3d_right_pitch" value="0.04"/>
109107
<xacro:property name="offset_torso_cam3d_right_yaw" value="0.0"/>
110108

111-
<!-- cam3d down | handeye calibration | relative to torso_3_link -->
109+
<!-- torso cam3d down mount positions | relative to torso_3_link -->
112110
<xacro:property name="offset_torso_cam3d_down_x" value="0.0"/>
113111
<xacro:property name="offset_torso_cam3d_down_y" value="0.0"/>
114112
<xacro:property name="offset_torso_cam3d_down_z" value="0.0"/>
115113
<xacro:property name="offset_torso_cam3d_down_roll" value="0.0"/>
116114
<xacro:property name="offset_torso_cam3d_down_pitch" value="0.0"/>
117115
<xacro:property name="offset_torso_cam3d_down_yaw" value="0.0"/>
118-
119-
<!-- cam3d | handeye calibration | relative to sensorring_link -->
116+
117+
<!-- sensorring cam3d mount positions | relative to sensorring_link -->
120118
<xacro:property name="offset_sensorring_cam3d_x" value="0.0"/>
121119
<xacro:property name="offset_sensorring_cam3d_y" value="0.0"/>
122120
<xacro:property name="offset_sensorring_cam3d_z" value="0.0"/>
123121
<xacro:property name="offset_sensorring_cam3d_roll" value="0.0"/>
124122
<xacro:property name="offset_sensorring_cam3d_pitch" value="0.0"/>
125123
<xacro:property name="offset_sensorring_cam3d_yaw" value="0.0"/>
126124

127-
<!-- cam | handeye calibration | relative to head_3_link -->
125+
<!-- head cam mount positions | relative to head_3_link -->
128126
<xacro:property name="offset_head_cam_x" value="0.0"/>
129127
<xacro:property name="offset_head_cam_y" value="0.0"/>
130128
<xacro:property name="offset_head_cam_z" value="0.0"/>

cob4-24/calibration/cameras/head_cam.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ camera_name: head_cam
44
camera_matrix:
55
rows: 3
66
cols: 3
7-
data: [880.7080911778385, 0, 627.6616877342461, 0, 881.2999751980833, 491.5771758707277, 0, 0, 1]
7+
data: [912.899608, 0.000000, 640.420778, 0.000000, 917.520761, 502.479759, 0.000000, 0.000000, 1.000000]
88
distortion_model: plumb_bob
99
distortion_coefficients:
1010
rows: 1
1111
cols: 5
12-
data: [-0.3596187997560628, 0.1046521709908827, -0.001495978856979693, -0.001177351820299186, 0]
12+
data: [-0.373478, 0.112529, -0.000921, -0.002183, 0.000000]
1313
rectification_matrix:
1414
rows: 3
1515
cols: 3
16-
data: [1, 0, 0, 0, 1, 0, 0, 0, 1]
16+
data: [1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000]
1717
projection_matrix:
1818
rows: 3
1919
cols: 4
20-
data: [668.5789794921875, 0, 614.8843741843884, 0, 0, 772.636962890625, 493.3122868681094, 0, 0, 0, 1, 0]
20+
data: [700.806335, 0.000000, 632.696581, 0.000000, 0.000000, 809.140137, 508.162883, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000]

0 commit comments

Comments
 (0)