diff --git a/demo/src/pick_place_task.cpp b/demo/src/pick_place_task.cpp index cfcde431..241c0985 100644 --- a/demo/src/pick_place_task.cpp +++ b/demo/src/pick_place_task.cpp @@ -84,7 +84,7 @@ void PickPlaceTask::loadParameters() { void PickPlaceTask::init() { ROS_INFO_NAMED(LOGNAME, "Initializing task pipeline"); - const std::string object = "object"; + const std::string object = object_name_; // Reset ROS introspection before constructing the new object // TODO(henningkayser): verify this is a bug, fix if possible @@ -121,7 +121,7 @@ void PickPlaceTask::init() { { auto _current_state = std::make_unique("current state"); - // Verify that object is not attachd + // Verify that object is not attached auto applicability_filter = std::make_unique("applicability test", std::move(_current_state)); applicability_filter->setPredicate([object](const SolutionBase& s, std::string& comment) {