moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | List of all members
moveit_sensor_manager::MoveItSensorManager Class Referenceabstract

#include <sensor_manager.h>

Public Member Functions

 MoveItSensorManager ()
 
virtual ~MoveItSensorManager ()
 
virtual bool initialize (const rclcpp::Node::SharedPtr &node)=0
 Initialization function for the sensor plugin. More...
 
virtual void getSensorsList (std::vector< std::string > &names) const =0
 Get the list of known sensors. More...
 
virtual SensorInfo getSensorInfo (const std::string &name) const =0
 Get the sensor information for a particular sensor. More...
 
virtual bool hasSensors () const =0
 Check if any sensors are known to this manager. More...
 
virtual bool pointSensorTo (const std::string &name, const geometry_msgs::msg::PointStamped &target, moveit_msgs::msg::RobotTrajectory &sensor_trajectory)=0
 

Detailed Description

Definition at line 75 of file sensor_manager.h.

Constructor & Destructor Documentation

◆ MoveItSensorManager()

moveit_sensor_manager::MoveItSensorManager::MoveItSensorManager ( )
inline

Definition at line 78 of file sensor_manager.h.

◆ ~MoveItSensorManager()

virtual moveit_sensor_manager::MoveItSensorManager::~MoveItSensorManager ( )
inlinevirtual

Definition at line 82 of file sensor_manager.h.

Member Function Documentation

◆ getSensorInfo()

virtual SensorInfo moveit_sensor_manager::MoveItSensorManager::getSensorInfo ( const std::string &  name) const
pure virtual

Get the sensor information for a particular sensor.

◆ getSensorsList()

virtual void moveit_sensor_manager::MoveItSensorManager::getSensorsList ( std::vector< std::string > &  names) const
pure virtual

Get the list of known sensors.

◆ hasSensors()

virtual bool moveit_sensor_manager::MoveItSensorManager::hasSensors ( ) const
pure virtual

Check if any sensors are known to this manager.

◆ initialize()

virtual bool moveit_sensor_manager::MoveItSensorManager::initialize ( const rclcpp::Node::SharedPtr &  node)
pure virtual

Initialization function for the sensor plugin.

◆ pointSensorTo()

virtual bool moveit_sensor_manager::MoveItSensorManager::pointSensorTo ( const std::string &  name,
const geometry_msgs::msg::PointStamped &  target,
moveit_msgs::msg::RobotTrajectory &  sensor_trajectory 
)
pure virtual

Point sensor name towards a particular point in space (target). This may require executing a trajectory, but it may or may not execute that trajectory. If it does not, it returns it as part of sensor_trajectory. This is the recommended behaviour, since the caller of this function can perform checks on the safety of the trajectory. The function returns true on success (either completing execution successfully or computing a trajecotory successufully)


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