This commit is contained in:
Max Hunt 2020-02-15 01:37:04 +00:00
parent 110af13947
commit 4e0712e597
2 changed files with 5 additions and 5 deletions

View File

@ -165,10 +165,10 @@ def spawn_v_brick():
brick_pose.position.x = 0.485 brick_pose.position.x = 0.485
brick_pose.position.y = 0.709 brick_pose.position.y = 0.709
brick_pose.position.z = 0.818 brick_pose.position.z = 0.818
brick_pose.orientation.x = 0.5 brick_pose.orientation.x = 0
brick_pose.orientation.y = 0.5 brick_pose.orientation.y = 0.707
brick_pose.orientation.z = -0.5 brick_pose.orientation.z = 0
brick_pose.orientation.w = 0.5 brick_pose.orientation.w = 0.707
brick_reference_frame = 'world' brick_reference_frame = 'world'
brick_id = brick_ids.pop() brick_id = brick_ids.pop()
spawn_sdf(brick_id, brick_sdf, "/", brick_pose, brick_reference_frame) spawn_sdf(brick_id, brick_sdf, "/", brick_pose, brick_reference_frame)

View File

@ -24,7 +24,7 @@ def etq(roll, pitch, yaw):
def q_extrapolator(obj): def q_extrapolator(obj):
return obj.orientation.x, obj.orientation.y, obj.orientation.z, obj.orientation.w return obj.orientation.x, obj.orientation.y, obj.orientation.z, obj.orientation.w
print(etq(1.570733, 1.570733, 0)) print(etq(1.570733, 1.570733, 1.570733))
exit(0) exit(0)