Skip to content

Commit a39e72d

Browse files
committed
Temporary bug fix, since get_state isn't implemented for fake spot
1 parent 5f39653 commit a39e72d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spot_tools/src/spot_skills/grasp_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ def object_grasp(
176176
raise Exception("You need to define a valid detector to pick up an object.")
177177

178178
print(f'Grasping object of class "{semantic_class}"')
179+
if spot.is_fake:
180+
semantic_class = "bag"
179181

180182
robot_state_client = spot.state_client
181183
manipulation_api_client = spot.manipulation_api_client

0 commit comments

Comments
 (0)