change offset of calibrate camera.

This commit is contained in:
jerryjerui 2021-05-27 16:43:24 +08:00
parent 5cec731158
commit f65d40da2f

View file

@ -69,7 +69,7 @@ class ImageConverter:
# Just process first one detected.
xyz = tvec[0, 0, :]
xyz = [xyz[0] - 0.035, xyz[1], xyz[2] - 0.03]
xyz = [xyz[0] - 0.045, xyz[1], xyz[2] - 0.01]
euler = rvec[0, 0, :]
tf_change = tf.transformations.quaternion_from_euler(euler[0], euler[1], euler[2])