mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Allow naming a Task
which just names the top-level container
This commit is contained in:
parent
c471879b08
commit
8b1c66c4b7
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user