Update
This commit is contained in:
parent
323a6801f9
commit
a043fea304
@ -4,7 +4,7 @@ from math import radians
|
|||||||
table = {
|
table = {
|
||||||
'id':'t1',
|
'id':'t1',
|
||||||
'rframe':'world',
|
'rframe':'world',
|
||||||
'x':0.85,
|
'x':0.55,
|
||||||
'y':0.20,
|
'y':0.20,
|
||||||
'z':0,
|
'z':0,
|
||||||
'roll':0,
|
'roll':0,
|
||||||
|
|||||||
@ -19,7 +19,7 @@ def tf_lookup(object_name):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
object_angles = tf.transformations.euler_from_quaternion([rot[3] , rot[0], rot[1], rot[2]], axes='sxyz')
|
object_angles = tf.transformations.euler_from_quaternion([rot[3] , rot[0], rot[1], rot[2]], axes='sxyz')
|
||||||
xangle = object_angles[0] + radians(106)
|
xangle = object_angles[0] + radians(196)
|
||||||
xangle1 = object_angles[1] + radians(90)
|
xangle1 = object_angles[1] + radians(90)
|
||||||
xangle2 = object_angles[2] + radians(-106)
|
xangle2 = object_angles[2] + radians(-106)
|
||||||
object_angles = (xangle, xangle1, xangle2)
|
object_angles = (xangle, xangle1, xangle2)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user