mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
change offset of calibrate camera.
This commit is contained in:
parent
5cec731158
commit
f65d40da2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue