moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
moveit_setup::app::Launches Class Reference

Setup step for generating launch files that are not otherwise associated with a specific step. More...

#include <launches.hpp>

Inheritance diagram for moveit_setup::app::Launches:
Inheritance graph
[legend]
Collaboration diagram for moveit_setup::app::Launches:
Collaboration graph
[legend]

Public Member Functions

std::string getName () const override
 Returns the name of the setup step.
 
void onInit () override
 Overridable initialization method.
 
bool isReady () const override
 Return true if the data necessary to proceed with this step has been configured.
 
const std::vector< LaunchBundle > & getAvailableLaunchBundles () const
 Get all available launch bundles.
 
bool getState (unsigned int id) const
 
void setState (unsigned int id, bool state)
 Sets whether the LaunchBundle with the given id is included (true) or not (false)
 
const std::string & getDescription (unsigned int id) const
 
- Public Member Functions inherited from moveit_setup::SetupStep
 SetupStep ()=default
 
 SetupStep (const SetupStep &)=default
 
 SetupStep (SetupStep &&)=default
 
SetupStepoperator= (const SetupStep &)=default
 
SetupStepoperator= (SetupStep &&)=default
 
virtual ~SetupStep ()=default
 
void initialize (const rclcpp::Node::SharedPtr &parent_node, const DataWarehousePtr &config_data)
 Called after construction to initialize the step.
 
const rclcpp::Logger & getLogger () const
 Makes a namespaced logger for this step available to the widget.
 

Protected Attributes

std::vector< LaunchBundleavailable_launch_bundles_
 
std::shared_ptr< LaunchesConfiglaunches_config_
 
- Protected Attributes inherited from moveit_setup::SetupStep
DataWarehousePtr config_data_
 
rclcpp::Node::SharedPtr parent_node_
 
std::shared_ptr< rclcpp::Logger > logger_
 

Detailed Description

Setup step for generating launch files that are not otherwise associated with a specific step.

Definition at line 48 of file launches.hpp.

Member Function Documentation

◆ getAvailableLaunchBundles()

const std::vector< LaunchBundle > & moveit_setup::app::Launches::getAvailableLaunchBundles ( ) const
inline

Get all available launch bundles.

Definition at line 65 of file launches.hpp.

Here is the caller graph for this function:

◆ getDescription()

const std::string & moveit_setup::app::Launches::getDescription ( unsigned int  id) const
inline
Returns
The description for the LaunchBundle with the given id

Definition at line 83 of file launches.hpp.

◆ getName()

std::string moveit_setup::app::Launches::getName ( ) const
inlineoverridevirtual

Returns the name of the setup step.

Implements moveit_setup::SetupStep.

Definition at line 51 of file launches.hpp.

◆ getState()

bool moveit_setup::app::Launches::getState ( unsigned int  id) const
Returns
True if the LaunchBundle with the given id is currently included

Definition at line 90 of file launches.cpp.

Here is the caller graph for this function:

◆ isReady()

bool moveit_setup::app::Launches::isReady ( ) const
inlineoverridevirtual

Return true if the data necessary to proceed with this step has been configured.

Reimplemented from moveit_setup::SetupStep.

Definition at line 57 of file launches.hpp.

◆ onInit()

void moveit_setup::app::Launches::onInit ( )
overridevirtual

Overridable initialization method.

Reimplemented from moveit_setup::SetupStep.

Definition at line 42 of file launches.cpp.

Here is the call graph for this function:

◆ setState()

void moveit_setup::app::Launches::setState ( unsigned int  id,
bool  state 
)

Sets whether the LaunchBundle with the given id is included (true) or not (false)

Definition at line 95 of file launches.cpp.

Member Data Documentation

◆ available_launch_bundles_

std::vector<LaunchBundle> moveit_setup::app::Launches::available_launch_bundles_
protected

Definition at line 89 of file launches.hpp.

◆ launches_config_

std::shared_ptr<LaunchesConfig> moveit_setup::app::Launches::launches_config_
protected

Definition at line 90 of file launches.hpp.


The documentation for this class was generated from the following files: