moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
moveit_warehouse::PlanningSceneWorldStorage Class Reference

#include <planning_scene_world_storage.hpp>

Inheritance diagram for moveit_warehouse::PlanningSceneWorldStorage:
Collaboration diagram for moveit_warehouse::PlanningSceneWorldStorage:

Public Member Functions

 PlanningSceneWorldStorage (warehouse_ros::DatabaseConnection::Ptr conn)
void addPlanningSceneWorld (const moveit_msgs::msg::PlanningSceneWorld &msg, const std::string &name)
bool hasPlanningSceneWorld (const std::string &name) const
void getKnownPlanningSceneWorlds (std::vector< std::string > &names) const
void getKnownPlanningSceneWorlds (const std::string &regex, std::vector< std::string > &names) const
bool getPlanningSceneWorld (PlanningSceneWorldWithMetadata &msg_m, const std::string &name) const
 Get the constraints named name. Return false on failure.
void renamePlanningSceneWorld (const std::string &old_name, const std::string &new_name)
void removePlanningSceneWorld (const std::string &name)
void reset ()
Public Member Functions inherited from moveit_warehouse::MoveItMessageStorage
 MoveItMessageStorage (warehouse_ros::DatabaseConnection::Ptr conn)
 Takes a warehouse_ros DatabaseConnection. The DatabaseConnection is expected to have already been initialized.
virtual ~MoveItMessageStorage ()

Static Public Attributes

static const std::string DATABASE_NAME = "moveit_planning_scene_worlds"
static const std::string PLANNING_SCENE_WORLD_ID_NAME = "world_id"

Additional Inherited Members

Protected Member Functions inherited from moveit_warehouse::MoveItMessageStorage
void filterNames (const std::string &regex, std::vector< std::string > &names) const
 Keep only the names that match regex.
Protected Attributes inherited from moveit_warehouse::MoveItMessageStorage
warehouse_ros::DatabaseConnection::Ptr conn_

Detailed Description

Definition at line 48 of file planning_scene_world_storage.hpp.

Constructor & Destructor Documentation

◆ PlanningSceneWorldStorage()

moveit_warehouse::PlanningSceneWorldStorage::PlanningSceneWorldStorage ( warehouse_ros::DatabaseConnection::Ptr conn)

Definition at line 48 of file planning_scene_world_storage.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addPlanningSceneWorld()

void moveit_warehouse::PlanningSceneWorldStorage::addPlanningSceneWorld ( const moveit_msgs::msg::PlanningSceneWorld & msg,
const std::string & name )

Definition at line 68 of file planning_scene_world_storage.cpp.

Here is the call graph for this function:

◆ getKnownPlanningSceneWorlds() [1/2]

void moveit_warehouse::PlanningSceneWorldStorage::getKnownPlanningSceneWorlds ( const std::string & regex,
std::vector< std::string > & names ) const

Definition at line 91 of file planning_scene_world_storage.cpp.

Here is the call graph for this function:

◆ getKnownPlanningSceneWorlds() [2/2]

void moveit_warehouse::PlanningSceneWorldStorage::getKnownPlanningSceneWorlds ( std::vector< std::string > & names) const

Definition at line 98 of file planning_scene_world_storage.cpp.

Here is the caller graph for this function:

◆ getPlanningSceneWorld()

bool moveit_warehouse::PlanningSceneWorldStorage::getPlanningSceneWorld ( PlanningSceneWorldWithMetadata & msg_m,
const std::string & name ) const

Get the constraints named name. Return false on failure.

Definition at line 111 of file planning_scene_world_storage.cpp.

◆ hasPlanningSceneWorld()

bool moveit_warehouse::PlanningSceneWorldStorage::hasPlanningSceneWorld ( const std::string & name) const

Definition at line 83 of file planning_scene_world_storage.cpp.

Here is the caller graph for this function:

◆ removePlanningSceneWorld()

void moveit_warehouse::PlanningSceneWorldStorage::removePlanningSceneWorld ( const std::string & name)

Definition at line 139 of file planning_scene_world_storage.cpp.

Here is the caller graph for this function:

◆ renamePlanningSceneWorld()

void moveit_warehouse::PlanningSceneWorldStorage::renamePlanningSceneWorld ( const std::string & old_name,
const std::string & new_name )

Definition at line 128 of file planning_scene_world_storage.cpp.

◆ reset()

void moveit_warehouse::PlanningSceneWorldStorage::reset ( )

Definition at line 61 of file planning_scene_world_storage.cpp.

Member Data Documentation

◆ DATABASE_NAME

const std::string moveit_warehouse::PlanningSceneWorldStorage::DATABASE_NAME = "moveit_planning_scene_worlds"
static

Definition at line 51 of file planning_scene_world_storage.hpp.

◆ PLANNING_SCENE_WORLD_ID_NAME

const std::string moveit_warehouse::PlanningSceneWorldStorage::PLANNING_SCENE_WORLD_ID_NAME = "world_id"
static

Definition at line 52 of file planning_scene_world_storage.hpp.


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