45 static const std::string MOVEIT_CONTROLLERS_YAML =
"config/moveit_controllers.yaml";
50 void loadPrevious(
const std::filesystem::path& package_path,
const YAML::Node& node)
override;
68 return MOVEIT_CONTROLLERS_YAML;
73 return "Creates configurations for moveit_controllers.";
76 bool writeYaml(YAML::Emitter& emitter)
override;
83 std::vector<GeneratedFilePtr>& files)
override
85 files.push_back(std::make_shared<GeneratedControllersConfig>(package_path, last_gen_time, *
this));
All the controller configurations.
bool hasChangedGroups() const
bool hasChanges() const override
Returns true if this file will have changes when it is written to file.
GeneratedControllersConfig(const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, MoveItControllersConfig &parent)
MoveItControllersConfig & parent_
std::filesystem::path getRelativePath() const override
Returns the path relative to the configuration package root.
bool writeYaml(YAML::Emitter &emitter) override
std::string getDescription() const override
Returns an English description of this file's purpose.
bool parseController(const std::string &name, const YAML::Node &controller)
std::map< std::string, YAML::Node > trajectory_parameters_
void loadPrevious(const std::filesystem::path &package_path, const YAML::Node &node) override
Loads the configuration from an existing MoveIt configuration.
void collectFiles(const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, std::vector< GeneratedFilePtr > &files) override
Collect the files generated by this configuration and add them to the vector.
std::filesystem::file_time_type GeneratedTime