77 using FieldPointers = std::vector<std::shared_ptr<AdditionalControllerField>>;
105 return srdf_config_->getRobotModel()->getJointModelNames();
140 std::vector<std::string>
getJointsFromGroups(
const std::vector<std::string>& group_names)
const;
Contains all of the non-GUI code necessary for doing one "screen" worth of setup.
Structure for containing information about types of additional parameters.
AdditionalControllerField(AdditionalControllerField &&)=default
AdditionalControllerField & operator=(AdditionalControllerField &&)=default
virtual std::string getDefaultValue(const std::string &) const
Overridable method for changing the default value based on the controller_type.
AdditionalControllerField(const std::string &display_name, const std::string ¶meter_name)
AdditionalControllerField & operator=(const AdditionalControllerField &)=default
AdditionalControllerField()=default
AdditionalControllerField(const AdditionalControllerField &)=default
virtual ~AdditionalControllerField()=default
std::string display_name_
std::string parameter_name_
bool isReady() const override
Return true if the data necessary to proceed with this step has been configured.
bool addDefaultControllers()
virtual FieldPointers getAdditionalControllerFields() const
Define the types of controller fields for the specific types of controllers.
std::vector< std::string > getGroupNames() const
std::vector< ControllerInfo > & getControllers() const
ControllerInfo * findControllerByName(const std::string &controller_name)
virtual std::string getDefaultType() const =0
bool addController(const ControllerInfo &new_controller)
std::shared_ptr< SRDFConfig > srdf_config_
const std::vector< std::string > & getJointNames() const
virtual std::vector< std::string > getAvailableTypes() const =0
std::shared_ptr< ControllersConfig > controllers_config_
bool deleteController(const std::string &controller_name)
std::vector< std::string > getJointsFromGroups(const std::vector< std::string > &group_names) const
virtual std::string getButtonText() const =0
std::string getChildOfJoint(const std::string &joint_name) const
virtual std::string getInstructions() const =0
std::vector< std::shared_ptr< AdditionalControllerField > > FieldPointers
Convenience alias.