Update
This commit is contained in:
parent
d590baf322
commit
45450d2f52
3
main.py
3
main.py
@ -363,7 +363,8 @@ def load_objects():
|
|||||||
table_reference_frame="world"
|
table_reference_frame="world"
|
||||||
spawn_sdf(table['id'], table_xml, "/", table_pose, table_reference_frame)
|
spawn_sdf(table['id'], table_xml, "/", table_pose, table_reference_frame)
|
||||||
brick_ents = []
|
brick_ents = []
|
||||||
for brick in bricks_start:
|
for x in [bricks_start, bricks_end]:
|
||||||
|
for brick in x:
|
||||||
ber = [brick['roll'], brick['pitch'], brick['yaw']] #brick_euler_rotation
|
ber = [brick['roll'], brick['pitch'], brick['yaw']] #brick_euler_rotation
|
||||||
brick_pose = Pose(position=Point(x=brick['x'], y=brick['y'], z=brick['z']))
|
brick_pose = Pose(position=Point(x=brick['x'], y=brick['y'], z=brick['z']))
|
||||||
brick_pose.position = Point(x=brick['x'], y=brick['y'], z=brick['z'])
|
brick_pose.position = Point(x=brick['x'], y=brick['y'], z=brick['z'])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user