Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Labs Instructions for TDDE05
Manage
Activity
Members
Plan
Wiki
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDDE05 Students
Labs Instructions for TDDE05
Wiki
lab3
Changes
Page history
New page
Templates
Clone repository
Update lab3
authored
4 months ago
by
Tommy Persson
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lab3.md
+2
-3
2 additions, 3 deletions
lab3.md
with
2 additions
and
3 deletions
lab3.md
View page @
347e38d6
...
@@ -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
>
futur
e)
void goal_response_callback(
const
GoalHandleUndock::SharedPtr
& goal_handl
e)
{
{
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 {
...
...
This diff is collapsed.
Click to expand it.