Question: is it possible to fail planning if pose is not possible? #27
Unanswered
kongoncharuk
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Hello, You can do something similar to what pymoveit2/pymoveit2/moveit2.py Lines 274 to 285 in 60eb340 Such as: from pymoveit2 import MoveIt2
moveit2 = MoveIt2(...)
planned_trajectory = moveit2.plan(...)
if planned_trajectory is not None:
moveit2.execute(planned_trajectory) |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was wondering if it's possible to split the move into two stages: planning and execution, and fail planning if the pose is not possible before starting the execution phase.
It is the way how MoveIt C++ interface works and is very convenient.
Currenly
move_to_pose
will start moving straight away and hit itself if the move is not attainable.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions