Skip to content

Commit

Permalink
fixed test_hold_condition_of_monitor2
Browse files Browse the repository at this point in the history
  • Loading branch information
ichumuh committed Sep 19, 2024
1 parent 4213dea commit 35b7914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_integration_pr2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ def test_hold_condition_of_monitor2(self, zero_pose: PR2TestWrapper):
zero_pose.motion_goals.add_joint_position(goal_state=zero_pose.better_pose,
start_condition=sleep2)
zero_pose.monitors.add_end_motion(start_condition=joint_goal)
zero_pose.monitors.add_cancel_motion(start_condition=f'not {joint_goal2} and {sleep2}', error_message='fail')
zero_pose.monitors.add_cancel_motion(start_condition=f'not {joint_goal2} and {sleep2}', error=Exception('fail'))
zero_pose.monitors.add_max_trajectory_length(30)
zero_pose.execute(add_local_minimum_reached=False)

Expand Down

0 comments on commit 35b7914

Please sign in to comment.