Functions | Variables
warehouse_services.cpp File Reference
#include <ros/ros.h>
#include <warehouse_ros/database_loader.h>
#include <moveit/warehouse/state_storage.h>
#include <moveit_msgs/SaveRobotStateToWarehouse.h>
#include <moveit_msgs/ListRobotStatesInWarehouse.h>
#include <moveit_msgs/GetRobotStateFromWarehouse.h>
#include <moveit_msgs/CheckIfRobotStateExistsInWarehouse.h>
#include <moveit_msgs/DeleteRobotStateFromWarehouse.h>
#include <moveit_msgs/RenameRobotStateInWarehouse.h>
Include dependency graph for warehouse_services.cpp:

Go to the source code of this file.

Functions

template<typename S , typename Fn >
ros::ServiceServer createServiceServer (moveit_warehouse::RobotStateStorage &rs, ros::NodeHandle &node, const std::string &name, const Fn &fn)
 
bool deleteState (moveit_msgs::DeleteRobotStateFromWarehouse::Request &request, moveit_msgs::DeleteRobotStateFromWarehouse::Response &, moveit_warehouse::RobotStateStorage &rs)
 
bool getState (moveit_msgs::GetRobotStateFromWarehouse::Request &request, moveit_msgs::GetRobotStateFromWarehouse::Response &response, moveit_warehouse::RobotStateStorage &rs)
 
bool hasState (moveit_msgs::CheckIfRobotStateExistsInWarehouse::Request &request, moveit_msgs::CheckIfRobotStateExistsInWarehouse::Response &response, moveit_warehouse::RobotStateStorage &rs)
 
bool listStates (moveit_msgs::ListRobotStatesInWarehouse::Request &request, moveit_msgs::ListRobotStatesInWarehouse::Response &response, moveit_warehouse::RobotStateStorage &rs)
 
int main (int argc, char **argv)
 
bool renameState (moveit_msgs::RenameRobotStateInWarehouse::Request &request, moveit_msgs::RenameRobotStateInWarehouse::Response &, moveit_warehouse::RobotStateStorage &rs)
 
bool storeState (moveit_msgs::SaveRobotStateToWarehouse::Request &request, moveit_msgs::SaveRobotStateToWarehouse::Response &response, moveit_warehouse::RobotStateStorage &rs)
 

Variables

static const std::string ROBOT_DESCRIPTION = "robot_description"
 

Function Documentation

◆ createServiceServer()

template<typename S , typename Fn >
ros::ServiceServer createServiceServer ( moveit_warehouse::RobotStateStorage rs,
ros::NodeHandle node,
const std::string &  name,
const Fn &  fn 
)

Definition at line 127 of file warehouse_services.cpp.

◆ deleteState()

bool deleteState ( moveit_msgs::DeleteRobotStateFromWarehouse::Request &  request,
moveit_msgs::DeleteRobotStateFromWarehouse::Response &  ,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 112 of file warehouse_services.cpp.

◆ getState()

bool getState ( moveit_msgs::GetRobotStateFromWarehouse::Request &  request,
moveit_msgs::GetRobotStateFromWarehouse::Response &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 83 of file warehouse_services.cpp.

◆ hasState()

bool hasState ( moveit_msgs::CheckIfRobotStateExistsInWarehouse::Request &  request,
moveit_msgs::CheckIfRobotStateExistsInWarehouse::Response &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 75 of file warehouse_services.cpp.

◆ listStates()

bool listStates ( moveit_msgs::ListRobotStatesInWarehouse::Request &  request,
moveit_msgs::ListRobotStatesInWarehouse::Response &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 61 of file warehouse_services.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 135 of file warehouse_services.cpp.

◆ renameState()

bool renameState ( moveit_msgs::RenameRobotStateInWarehouse::Request &  request,
moveit_msgs::RenameRobotStateInWarehouse::Response &  ,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 99 of file warehouse_services.cpp.

◆ storeState()

bool storeState ( moveit_msgs::SaveRobotStateToWarehouse::Request &  request,
moveit_msgs::SaveRobotStateToWarehouse::Response &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 49 of file warehouse_services.cpp.

Variable Documentation

◆ ROBOT_DESCRIPTION

const std::string ROBOT_DESCRIPTION = "robot_description"
static

Definition at line 47 of file warehouse_services.cpp.



warehouse
Author(s): Ioan Sucan
autogenerated on Thu Nov 21 2024 03:25:02