... | @@ -532,10 +532,9 @@ public: |
... | @@ -532,10 +532,9 @@ public: |
|
return TstML::Executor::ExecutionStatus::Started();
|
|
return TstML::Executor::ExecutionStatus::Started();
|
|
}
|
|
}
|
|
|
|
|
|
void goal_response_callback(std::shared_future<GoalHandleUndock::SharedPtr> future)
|
|
void goal_response_callback(const GoalHandleUndock::SharedPtr & goal_handle)
|
|
{
|
|
{
|
|
m_goal_handle = future.get();
|
|
if (!goal_handle) {
|
|
if (!m_goal_handle) {
|
|
|
|
executionFinished(TstML::Executor::ExecutionStatus::Aborted());
|
|
executionFinished(TstML::Executor::ExecutionStatus::Aborted());
|
|
RCLCPP_ERROR(m_node->get_logger(), "Goal was rejected by server");
|
|
RCLCPP_ERROR(m_node->get_logger(), "Goal was rejected by server");
|
|
} else {
|
|
} else {
|
... | | ... | |