diff --git a/new_main.py b/new_main.py index 103174a..e60b980 100644 --- a/new_main.py +++ b/new_main.py @@ -187,17 +187,17 @@ rospy.init_node("I_still_have_some_hope") # Am I wrong?? ##### -brick9 = Pose() -brick9.position.x = 0.635 -brick9.position.y = 0.349 -brick9.position.z = 0.406 -brick9.orientation.x = -0.7071067811865476 -brick9.orientation.y = -0.7071067811865475 -brick9.orientation.z = 4.329780281177466e-17 -brick9.orientation.w = 4.329780281177467e-17 +b9 = Pose() +b9.position.x = 0.635 +b9.position.y = 0.349 +b9.position.z = 0.406 +b9.orientation.x = -0.7071067811865476 +b9.orientation.y = -0.7071067811865475 +b9.orientation.z = 4.329780281177466e-17 +b9.orientation.w = 4.329780281177467e-17 brick_reference_frame = 'world' brick_id = 'static-9' -spawn_sdf(brick_id, static_brick, "/", brick9, brick_reference_frame) +spawn_sdf(brick_id, static_brick, "/", b9, brick_reference_frame) ##### if simulation: