DFKI-NI / mobipick_labs

Other
4 stars 1 forks source link

ValueError: 'observe100cm_left' is not a valid ArmPose #24

Closed mintar closed 1 year ago

mintar commented 1 year ago
robot@mobipick-os-sensor:~$ rosrun tables_demo_planning tables_demo_node.py
Using /mobipick/pick_object_node/planning_scene_boxes parameter.
Scenario: Mobipick shall bring all items to table_2.
The believed item locations are:
- box: anywhere
- multimeter: anywhere
Traceback (most recent call last):
  File "/home/robot/ros/devel/lib/tables_demo_planning/tables_demo_node.py", line 15, in <module>
    exec(compile(fh.read(), python_script, 'exec'), context)
  File "/home/robot/ros/src/mobipick_labs/tables_demo_planning/nodes/tables_demo_node.py", line 309, in <module>
    TablesDemoAPIDomain(target_location).run()
  File "/home/robot/ros/src/mobipick_labs/tables_demo_planning/src/tables_demo_planning/tables_demo.py", line 371, in run
    actions = self.replan()
  File "/home/robot/ros/src/mobipick_labs/tables_demo_planning/src/tables_demo_planning/tables_demo.py", line 359, in replan
    self.set_initial_values(self.problem)
  File "/home/robot/.local/lib/python3.8/site-packages/up_esb/bridge.py", line 329, in set_initial_values
  File "/home/robot/ros/src/mobipick_labs/tables_demo_planning/src/tables_demo_planning/mobipick_components.py", line 159, in get_robot_arm_at
    return ArmPose(arm_pose_name) == arm_pose
  File "/usr/lib/python3.8/enum.py", line 339, in __call__
    return cls.__new__(cls, value)
  File "/usr/lib/python3.8/enum.py", line 663, in __new__
    raise ve_exc
ValueError: 'observe100cm_left' is not a valid ArmPose