This commit is contained in:
Max Hunt 2020-02-13 12:04:32 +00:00
parent 9d7437859b
commit 673bd73c15

View File

@ -19,9 +19,9 @@ 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(180) xangle = object_angles[0] + radians(196)
xangle1 = object_angles[1]# + radians(90) xangle1 = object_angles[1] + radians(90)
xangle2 = object_angles[2]# + radians(-270) xangle2 = object_angles[2] + radians(-196)
object_angles = (xangle, xangle1, xangle2) object_angles = (xangle, xangle1, xangle2)
print("Angles:") print("Angles:")
print(xangle) print(xangle)
@ -59,8 +59,8 @@ if __name__ == "__main__":
# #
# INITIAL STANDING VALUES # INITIAL STANDING VALUES
# #
# # -0.28 -16 +196
# # -1.57 -90 +90
# # +0.28 +16 -196
# #
# #