#include <state_storage.h>
|
void | addRobotState (const moveit_msgs::RobotState &msg, const std::string &name, const std::string &robot="") |
|
void | getKnownRobotStates (const std::string ®ex, std::vector< std::string > &names, const std::string &robot="") const |
|
void | getKnownRobotStates (std::vector< std::string > &names, const std::string &robot="") const |
|
bool | getRobotState (RobotStateWithMetadata &msg_m, const std::string &name, const std::string &robot="") const |
| Get the constraints named name. Return false on failure. More...
|
|
bool | hasRobotState (const std::string &name, const std::string &robot="") const |
|
void | removeRobotState (const std::string &name, const std::string &robot="") |
|
void | renameRobotState (const std::string &old_name, const std::string &new_name, const std::string &robot="") |
|
void | reset () |
|
| RobotStateStorage (warehouse_ros::DatabaseConnection::Ptr conn) |
|
| MoveItMessageStorage (warehouse_ros::DatabaseConnection::Ptr conn) |
| Takes a warehouse_ros DatabaseConnection. The DatabaseConnection is expected to have already been initialized. More...
|
|
virtual | ~MoveItMessageStorage () |
|
Definition at line 82 of file state_storage.h.
◆ RobotStateStorage()
◆ addRobotState()
void moveit_warehouse::RobotStateStorage::addRobotState |
( |
const moveit_msgs::RobotState & |
msg, |
|
|
const std::string & |
name, |
|
|
const std::string & |
robot = "" |
|
) |
| |
◆ createCollections()
void moveit_warehouse::RobotStateStorage::createCollections |
( |
| ) |
|
|
private |
◆ getKnownRobotStates() [1/2]
void moveit_warehouse::RobotStateStorage::getKnownRobotStates |
( |
const std::string & |
regex, |
|
|
std::vector< std::string > & |
names, |
|
|
const std::string & |
robot = "" |
|
) |
| const |
◆ getKnownRobotStates() [2/2]
void moveit_warehouse::RobotStateStorage::getKnownRobotStates |
( |
std::vector< std::string > & |
names, |
|
|
const std::string & |
robot = "" |
|
) |
| const |
◆ getRobotState()
bool moveit_warehouse::RobotStateStorage::getRobotState |
( |
RobotStateWithMetadata & |
msg_m, |
|
|
const std::string & |
name, |
|
|
const std::string & |
robot = "" |
|
) |
| const |
Get the constraints named name. Return false on failure.
Definition at line 113 of file state_storage.cpp.
◆ hasRobotState()
bool moveit_warehouse::RobotStateStorage::hasRobotState |
( |
const std::string & |
name, |
|
|
const std::string & |
robot = "" |
|
) |
| const |
◆ removeRobotState()
void moveit_warehouse::RobotStateStorage::removeRobotState |
( |
const std::string & |
name, |
|
|
const std::string & |
robot = "" |
|
) |
| |
◆ renameRobotState()
void moveit_warehouse::RobotStateStorage::renameRobotState |
( |
const std::string & |
old_name, |
|
|
const std::string & |
new_name, |
|
|
const std::string & |
robot = "" |
|
) |
| |
◆ reset()
void moveit_warehouse::RobotStateStorage::reset |
( |
| ) |
|
◆ DATABASE_NAME
const std::string moveit_warehouse::RobotStateStorage::DATABASE_NAME = "moveit_robot_states" |
|
static |
◆ ROBOT_NAME
const std::string moveit_warehouse::RobotStateStorage::ROBOT_NAME = "robot_id" |
|
static |
◆ state_collection_
◆ STATE_NAME
const std::string moveit_warehouse::RobotStateStorage::STATE_NAME = "state_id" |
|
static |
The documentation for this class was generated from the following files: