moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
where all the data for each part of the configuration is stored. More...
#include <config.hpp>
Public Member Functions | |
SetupConfig ()=default | |
SetupConfig (const SetupConfig &)=default | |
SetupConfig (SetupConfig &&)=default | |
SetupConfig & | operator= (const SetupConfig &)=default |
SetupConfig & | operator= (SetupConfig &&)=default |
virtual | ~SetupConfig ()=default |
void | initialize (const std::shared_ptr< DataWarehouse > &config_data, const rclcpp::Node::SharedPtr &parent_node, const std::string &name) |
Called after construction to initialize the step. | |
virtual void | onInit () |
Overridable initialization method. | |
const std::string & | getName () |
The name for this part of the configuration. | |
virtual bool | isConfigured () const |
Return true if this part of the configuration is completely set up. | |
virtual void | loadPrevious (const std::filesystem::path &, const YAML::Node &) |
Loads the configuration from an existing MoveIt configuration. | |
virtual YAML::Node | saveToYaml () const |
Optionally save "meta" information for saving in the .setup_assistant yaml file. | |
virtual void | collectFiles (const std::filesystem::path &, const GeneratedTime &, std::vector< GeneratedFilePtr > &) |
Collect the files generated by this configuration and add them to the vector. | |
virtual void | collectDependencies (std::set< std::string > &) const |
Collect the package dependencies generated by this configuration. | |
virtual void | collectVariables (std::vector< TemplateVariable > &) |
Collect key/value pairs for use in templates. | |
Protected Attributes | |
std::shared_ptr< DataWarehouse > | config_data_ |
rclcpp::Node::SharedPtr | parent_node_ |
std::string | name_ |
std::shared_ptr< rclcpp::Logger > | logger_ |
where all the data for each part of the configuration is stored.
Definition at line 57 of file config.hpp.
|
default |
|
default |
|
default |
|
virtualdefault |
|
inlinevirtual |
Collect the package dependencies generated by this configuration.
[out] | packages | Names of ROS packages |
Reimplemented in moveit_setup::app::LaunchesConfig, moveit_setup::ModifiedUrdfConfig, and moveit_setup::URDFConfig.
Definition at line 147 of file config.hpp.
|
inlinevirtual |
Collect the files generated by this configuration and add them to the vector.
[in] | package_path | the path to the root of the config package |
[in] | last_gen_time | The time (if any) when the config package was last generated |
[out] | files | Where to put the new generated files |
Reimplemented in moveit_setup::app::LaunchesConfig, moveit_setup::app::PerceptionConfig, moveit_setup::controllers::ControlXacroConfig, moveit_setup::ModifiedUrdfConfig, moveit_setup::controllers::MoveItControllersConfig, moveit_setup::controllers::ROS2ControllersConfig, moveit_setup::PackageSettingsConfig, moveit_setup::SRDFConfig, and moveit_setup::srdf_setup::GroupMetaConfig.
Definition at line 137 of file config.hpp.
|
inlinevirtual |
Collect key/value pairs for use in templates.
[out] | variables | Where to put the new Variables |
Reimplemented in moveit_setup::controllers::ControlXacroConfig, moveit_setup::ModifiedUrdfConfig, moveit_setup::PackageSettingsConfig, moveit_setup::SRDFConfig, moveit_setup::URDFConfig, and moveit_setup::srdf_setup::GroupMetaConfig.
Definition at line 156 of file config.hpp.
|
inline |
The name for this part of the configuration.
Definition at line 93 of file config.hpp.
|
inline |
Called after construction to initialize the step.
config_data | Pointer to all the other configs |
parent_node | Shared pointer to the parent node |
name |
Definition at line 73 of file config.hpp.
|
inlinevirtual |
Return true if this part of the configuration is completely set up.
Reimplemented in moveit_setup::app::LaunchesConfig, moveit_setup::app::PerceptionConfig, moveit_setup::controllers::ControlXacroConfig, moveit_setup::controllers::ControllersConfig, moveit_setup::ModifiedUrdfConfig, moveit_setup::PackageSettingsConfig, moveit_setup::SRDFConfig, moveit_setup::URDFConfig, and moveit_setup::srdf_setup::GroupMetaConfig.
Definition at line 101 of file config.hpp.
|
inlinevirtual |
Loads the configuration from an existing MoveIt configuration.
The data can be loaded directly from files in the configuration via the package path.
Certain other pieces of "meta" information may be stored in the .setup_assistant yaml file in the root of the configuration. If there is a node in that file that matches this config's name, it is passed in as an argument.
package_path | The path to the root folder of the configuration. |
Reimplemented in moveit_setup::controllers::ControlXacroConfig, moveit_setup::ModifiedUrdfConfig, moveit_setup::app::PerceptionConfig, moveit_setup::controllers::MoveItControllersConfig, moveit_setup::controllers::ROS2ControllersConfig, moveit_setup::PackageSettingsConfig, moveit_setup::SRDFConfig, moveit_setup::URDFConfig, and moveit_setup::srdf_setup::GroupMetaConfig.
Definition at line 118 of file config.hpp.
|
inlinevirtual |
Overridable initialization method.
Reimplemented in moveit_setup::controllers::ControlXacroConfig, moveit_setup::IncludedXacroConfig, moveit_setup::ModifiedUrdfConfig, moveit_setup::controllers::ROS2ControllersConfig, moveit_setup::SRDFConfig, and moveit_setup::URDFConfig.
Definition at line 86 of file config.hpp.
|
default |
|
default |
|
inlinevirtual |
Optionally save "meta" information for saving in the .setup_assistant yaml file.
Reimplemented in moveit_setup::controllers::ControlXacroConfig, moveit_setup::ModifiedUrdfConfig, moveit_setup::PackageSettingsConfig, moveit_setup::SRDFConfig, and moveit_setup::URDFConfig.
Definition at line 125 of file config.hpp.
|
protected |
Definition at line 161 of file config.hpp.
|
protected |
Definition at line 164 of file config.hpp.
|
protected |
Definition at line 163 of file config.hpp.
|
protected |
Definition at line 162 of file config.hpp.