This commit is contained in:
Max Hunt 2020-02-13 11:59:00 +00:00
parent 86deb09869
commit 5ac15a13af

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(200.569) xangle = object_angles[0] + radians(180)
xangle1 = object_angles[1]# + radians(90) xangle1 = object_angles[1]# + radians(90)
xangle2 = object_angles[2]# + radians(-200.569) xangle2 = object_angles[2] + radians(-270)
object_angles = (xangle, xangle1, xangle2) object_angles = (xangle, xangle1, xangle2)
print("Angles:") print("Angles:")
print(xangle) print(xangle)
@ -48,9 +48,9 @@ if __name__ == "__main__":
# #
# TARGET TOP PICKING EULER ANGLES # TARGET TOP PICKING EULER ANGLES
# LAYING MODIFIERS: # LAYING MODIFIERS:
# Pitch(0): ? deg. # Pitch(0): +180 deg.
# Roll(1): ? deg. # Roll(1): ? deg.
# Yaw(2): ? deg. # Yaw(2): -270 deg.
# #
# FINAL VALUES: # FINAL VALUES:
# Pitch(0): +180 deg. # Pitch(0): +180 deg.