We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c48116 commit 913770eCopy full SHA for 913770e
ada_feeding/ada_feeding/behaviors/move_to.py
@@ -216,7 +216,13 @@ def update(self) -> py_trees.common.Status:
216
)
217
return py_trees.common.Status.FAILURE
218
# Initiate an asynchronous planning call
219
- self.planning_future = self.moveit2.plan_async(cartesian=self.cartesian)
+ planning_future = self.moveit2.plan_async(cartesian=self.cartesian)
220
+ if planning_future is None:
221
+ self.logger.error(
222
+ f"{self.name} [MoveTo::update()] Failed to initiate planning!"
223
+ )
224
+ return py_trees.common.Status.FAILURE
225
+ self.planning_future = planning_future
226
return py_trees.common.Status.RUNNING
227
228
# Check if planning is complete
0 commit comments