Allow naming a Task

which just names the top-level container
This commit is contained in:
Robert Haschke 2020-10-22 18:34:11 +02:00
parent c471879b08
commit 8b1c66c4b7

View File

@ -84,6 +84,9 @@ public:
Task& operator=(Task&& other); // NOLINT(performance-noexcept-move-constructor)
~Task() override;
const std::string& name() const { return stages()->name(); }
void setName(const std::string& name) { stages()->setName(name); }
const moveit::core::RobotModelConstPtr& getRobotModel() const;
/// setting the robot model also resets the task
void setRobotModel(const moveit::core::RobotModelConstPtr& robot_model);