moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Functions
warehouse_services.cpp File Reference
#include <moveit/warehouse/state_storage.h>
#include <moveit_msgs/srv/save_robot_state_to_warehouse.hpp>
#include <moveit_msgs/srv/list_robot_states_in_warehouse.hpp>
#include <moveit_msgs/srv/get_robot_state_from_warehouse.hpp>
#include <moveit_msgs/srv/check_if_robot_state_exists_in_warehouse.hpp>
#include <moveit_msgs/srv/delete_robot_state_from_warehouse.hpp>
#include <moveit_msgs/srv/rename_robot_state_in_warehouse.hpp>
#include <rclcpp/executors.hpp>
#include <rclcpp/logger.hpp>
#include <rclcpp/logging.hpp>
#include <rclcpp/node.hpp>
#include <rclcpp/node_options.hpp>
#include <rclcpp/parameter_value.hpp>
#include <rclcpp/utilities.hpp>
#include <moveit/utils/logger.hpp>
Include dependency graph for warehouse_services.cpp:

Go to the source code of this file.

Functions

bool storeState (const std::shared_ptr< moveit_msgs::srv::SaveRobotStateToWarehouse::Request > &request, const std::shared_ptr< moveit_msgs::srv::SaveRobotStateToWarehouse::Response > &response, moveit_warehouse::RobotStateStorage &rs)
 
bool listStates (const std::shared_ptr< moveit_msgs::srv::ListRobotStatesInWarehouse::Request > &request, const std::shared_ptr< moveit_msgs::srv::ListRobotStatesInWarehouse::Response > &response, moveit_warehouse::RobotStateStorage &rs)
 
bool hasState (const std::shared_ptr< moveit_msgs::srv::CheckIfRobotStateExistsInWarehouse::Request > &request, const std::shared_ptr< moveit_msgs::srv::CheckIfRobotStateExistsInWarehouse::Response > &response, moveit_warehouse::RobotStateStorage &rs)
 
bool getState (const std::shared_ptr< moveit_msgs::srv::GetRobotStateFromWarehouse::Request > &request, const std::shared_ptr< moveit_msgs::srv::GetRobotStateFromWarehouse::Response > &response, moveit_warehouse::RobotStateStorage &rs)
 
bool renameState (const std::shared_ptr< moveit_msgs::srv::RenameRobotStateInWarehouse::Request > &request, const std::shared_ptr< moveit_msgs::srv::RenameRobotStateInWarehouse::Response > &, moveit_warehouse::RobotStateStorage &rs)
 
bool deleteState (const std::shared_ptr< moveit_msgs::srv::DeleteRobotStateFromWarehouse::Request > &request, const std::shared_ptr< moveit_msgs::srv::DeleteRobotStateFromWarehouse::Response > &, moveit_warehouse::RobotStateStorage &rs)
 
int main (int argc, char **argv)
 

Function Documentation

◆ deleteState()

bool deleteState ( const std::shared_ptr< moveit_msgs::srv::DeleteRobotStateFromWarehouse::Request > &  request,
const std::shared_ptr< moveit_msgs::srv::DeleteRobotStateFromWarehouse::Response > &  ,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 130 of file warehouse_services.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getState()

bool getState ( const std::shared_ptr< moveit_msgs::srv::GetRobotStateFromWarehouse::Request > &  request,
const std::shared_ptr< moveit_msgs::srv::GetRobotStateFromWarehouse::Response > &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 99 of file warehouse_services.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasState()

bool hasState ( const std::shared_ptr< moveit_msgs::srv::CheckIfRobotStateExistsInWarehouse::Request > &  request,
const std::shared_ptr< moveit_msgs::srv::CheckIfRobotStateExistsInWarehouse::Response > &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 91 of file warehouse_services.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ listStates()

bool listStates ( const std::shared_ptr< moveit_msgs::srv::ListRobotStatesInWarehouse::Request > &  request,
const std::shared_ptr< moveit_msgs::srv::ListRobotStatesInWarehouse::Response > &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 76 of file warehouse_services.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 143 of file warehouse_services.cpp.

Here is the call graph for this function:

◆ renameState()

bool renameState ( const std::shared_ptr< moveit_msgs::srv::RenameRobotStateInWarehouse::Request > &  request,
const std::shared_ptr< moveit_msgs::srv::RenameRobotStateInWarehouse::Response > &  ,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 116 of file warehouse_services.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeState()

bool storeState ( const std::shared_ptr< moveit_msgs::srv::SaveRobotStateToWarehouse::Request > &  request,
const std::shared_ptr< moveit_msgs::srv::SaveRobotStateToWarehouse::Response > &  response,
moveit_warehouse::RobotStateStorage rs 
)

Definition at line 63 of file warehouse_services.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: