Public Member Functions | Protected Member Functions | Protected Attributes
move_arm_warehouse::MoveArmWarehouseLoggerReader Class Reference

#include <move_arm_warehouse_logger_reader.h>

List of all members.

Public Member Functions

unsigned int determineNextPlanningSceneId ()
bool getAssociatedJointTrajectories (const std::string &hostname, const unsigned int planning_scene_id, const unsigned int motion_plan_id, std::vector< trajectory_msgs::JointTrajectory > &trajectories, std::vector< trajectory_msgs::JointTrajectory > &trajectory_control_errors, std::vector< std::string > &sources, std::vector< unsigned int > &IDs, std::vector< ros::Duration > &durations, std::vector< int32_t > &error_codes)
bool getAssociatedJointTrajectory (const std::string &hostname, const unsigned int planning_scene_id, const unsigned int motion_plan_id, const unsigned int trajectory_id, ros::Duration &processing_time, trajectory_msgs::JointTrajectory &joint_trajectory, trajectory_msgs::JointTrajectory &trajectory_control_error)
bool getAssociatedJointTrajectorySources (const std::string &hostname, const unsigned int planning_scene_id, const unsigned int motion_request_id, std::vector< unsigned int > &ids, std::vector< std::string > &trajectory_sources)
bool getAssociatedMotionPlanRequest (const std::string &hostname, const unsigned int planning_scene_id, const unsigned int motion_plan_id, arm_navigation_msgs::MotionPlanRequest &request)
bool getAssociatedMotionPlanRequests (const std::string &hostname, const unsigned int planning_scene_id, std::vector< unsigned int > &IDs, std::vector< std::string > &stage_names, std::vector< arm_navigation_msgs::MotionPlanRequest > &requests)
bool getAssociatedMotionPlanRequestsStageNames (const std::string &hostname, const unsigned int id, std::vector< std::string > &stage_names)
bool getAssociatedOutcomes (const std::string &hostname, const unsigned int planning_scene_id, std::vector< std::string > &pipeline_names, std::vector< arm_navigation_msgs::ArmNavigationErrorCodes > &error_codes)
bool getAssociatedPausedState (const std::string &hostname, const unsigned int planning_scene_id, const ros::Time &paused_time, head_monitor_msgs::HeadMonitorFeedback &paused_state)
bool getAssociatedPausedStates (const std::string &hostname, const unsigned int planning_scene_id, std::vector< ros::Time > &paused_times)
void getAvailablePlanningSceneList (const std::string &hostname, std::vector< unsigned int > &planning_scene_ids_, std::vector< ros::Time > &creation_times)
const std::string & getHostname () const
bool getPlanningScene (const std::string &hostname, const unsigned int &id, arm_navigation_msgs::PlanningScene &planning_scene, std::string &hostname_out)
bool hasPlanningScene (const std::string &hostname, const unsigned int id)
 MoveArmWarehouseLoggerReader ()
void pushJointTrajectoryToWarehouse (const unsigned int id, const std::string &trajectory_source, const ros::Duration &production_time, const trajectory_msgs::JointTrajectory &trajectory, const trajectory_msgs::JointTrajectory &trajectory_control_error, const unsigned int ID, const unsigned int motion_plan_ID, const arm_navigation_msgs::ArmNavigationErrorCodes &error_code)
void pushMotionPlanRequestToWarehouse (const unsigned int planning_id, const unsigned int mpr_id, const std::string &stage_name, const arm_navigation_msgs::MotionPlanRequest &motion_plan_request)
void pushOutcomeToWarehouse (const unsigned int id, const std::string &pipeline_stage, const arm_navigation_msgs::ArmNavigationErrorCodes &error_codes)
void pushPausedStateToWarehouse (const unsigned int id, const head_monitor_msgs::HeadMonitorFeedback &feedback)
void pushPlanningSceneToWarehouse (const arm_navigation_msgs::PlanningScene &planning_scene, const unsigned int ID)
void pushPlanningSceneToWarehouseWithoutId (const arm_navigation_msgs::PlanningScene &planning_scene, unsigned int &id)
bool removePlanningSceneAndAssociatedDataFromWarehouse (const std::string &hostname, const unsigned int id)
 ~MoveArmWarehouseLoggerReader ()

Protected Member Functions

void addPlanningSceneIdToMetadata (const unsigned int &id, mongo_ros::Metadata &metadata)
void addPlanningSceneTimeToMetadata (const arm_navigation_msgs::PlanningScene &planning_scene, mongo_ros::Metadata &metadata)
mongo_ros::Metadata initializeMetadataWithHostname ()
std::string jointTrajectoryToString (const trajectory_msgs::JointTrajectory &trajectory)
mongo_ros::Query makeQueryForPlanningSceneId (const unsigned int id)
mongo_ros::Query makeQueryForPlanningSceneTime (const ros::Time &time)
void stringToJointTrajectory (const std::string &trajectory, trajectory_msgs::JointTrajectory &joint_trajectory)

Protected Attributes

std::string hostname_
mongo_ros::MessageCollection
< arm_navigation_msgs::MotionPlanRequest > * 
motion_plan_request_collection_
mongo_ros::MessageCollection
< arm_navigation_msgs::ArmNavigationErrorCodes > * 
outcome_collection_
mongo_ros::MessageCollection
< head_monitor_msgs::HeadMonitorFeedback > * 
paused_state_collection_
mongo_ros::MessageCollection
< arm_navigation_msgs::PlanningScene > * 
planning_scene_collection_
mongo_ros::MessageCollection
< trajectory_msgs::JointTrajectory > * 
trajectory_collection_

Detailed Description

Definition at line 52 of file move_arm_warehouse_logger_reader.h.


Constructor & Destructor Documentation

Definition at line 60 of file move_arm_warehouse_logger_reader.cpp.

Definition at line 78 of file move_arm_warehouse_logger_reader.cpp.


Member Function Documentation

void MoveArmWarehouseLoggerReader::addPlanningSceneIdToMetadata ( const unsigned int &  id,
mongo_ros::Metadata &  metadata 
) [protected]

Definition at line 95 of file move_arm_warehouse_logger_reader.cpp.

void MoveArmWarehouseLoggerReader::addPlanningSceneTimeToMetadata ( const arm_navigation_msgs::PlanningScene planning_scene,
mongo_ros::Metadata &  metadata 
) [protected]

Definition at line 100 of file move_arm_warehouse_logger_reader.cpp.

Definition at line 106 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedJointTrajectories ( const std::string &  hostname,
const unsigned int  planning_scene_id,
const unsigned int  motion_plan_id,
std::vector< trajectory_msgs::JointTrajectory > &  trajectories,
std::vector< trajectory_msgs::JointTrajectory > &  trajectory_control_errors,
std::vector< std::string > &  sources,
std::vector< unsigned int > &  IDs,
std::vector< ros::Duration > &  durations,
std::vector< int32_t > &  error_codes 
)

Definition at line 408 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedJointTrajectory ( const std::string &  hostname,
const unsigned int  planning_scene_id,
const unsigned int  motion_plan_id,
const unsigned int  trajectory_id,
ros::Duration processing_time,
trajectory_msgs::JointTrajectory &  joint_trajectory,
trajectory_msgs::JointTrajectory &  trajectory_control_error 
)

Definition at line 379 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedJointTrajectorySources ( const std::string &  hostname,
const unsigned int  planning_scene_id,
const unsigned int  motion_request_id,
std::vector< unsigned int > &  ids,
std::vector< std::string > &  trajectory_sources 
)

Definition at line 353 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedMotionPlanRequest ( const std::string &  hostname,
const unsigned int  planning_scene_id,
const unsigned int  motion_plan_id,
arm_navigation_msgs::MotionPlanRequest request 
)

Definition at line 308 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedMotionPlanRequests ( const std::string &  hostname,
const unsigned int  planning_scene_id,
std::vector< unsigned int > &  IDs,
std::vector< std::string > &  stage_names,
std::vector< arm_navigation_msgs::MotionPlanRequest > &  requests 
)

Definition at line 330 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedMotionPlanRequestsStageNames ( const std::string &  hostname,
const unsigned int  id,
std::vector< std::string > &  stage_names 
)

Definition at line 289 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedOutcomes ( const std::string &  hostname,
const unsigned int  planning_scene_id,
std::vector< std::string > &  pipeline_names,
std::vector< arm_navigation_msgs::ArmNavigationErrorCodes > &  error_codes 
)

Definition at line 268 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedPausedState ( const std::string &  hostname,
const unsigned int  planning_scene_id,
const ros::Time paused_time,
head_monitor_msgs::HeadMonitorFeedback paused_state 
)

Definition at line 462 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::getAssociatedPausedStates ( const std::string &  hostname,
const unsigned int  planning_scene_id,
std::vector< ros::Time > &  paused_times 
)

Definition at line 444 of file move_arm_warehouse_logger_reader.cpp.

void MoveArmWarehouseLoggerReader::getAvailablePlanningSceneList ( const std::string &  hostname,
std::vector< unsigned int > &  planning_scene_ids,
std::vector< ros::Time > &  creation_times 
)

READING FUNCTIONS

Definition at line 200 of file move_arm_warehouse_logger_reader.cpp.

Definition at line 60 of file move_arm_warehouse_logger_reader.h.

bool MoveArmWarehouseLoggerReader::getPlanningScene ( const std::string &  hostname,
const unsigned int &  id,
arm_navigation_msgs::PlanningScene planning_scene,
std::string &  hostname_out 
)

Definition at line 247 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::hasPlanningScene ( const std::string &  hostname,
const unsigned int  id 
)

Definition at line 483 of file move_arm_warehouse_logger_reader.cpp.

LOGGING FUNCTIONS

Definition at line 90 of file move_arm_warehouse_logger_reader.cpp.

std::string MoveArmWarehouseLoggerReader::jointTrajectoryToString ( const trajectory_msgs::JointTrajectory &  trajectory) [protected]

Definition at line 518 of file move_arm_warehouse_logger_reader.cpp.

mongo_ros::Query MoveArmWarehouseLoggerReader::makeQueryForPlanningSceneId ( const unsigned int  id) [protected]

Definition at line 240 of file move_arm_warehouse_logger_reader.cpp.

mongo_ros::Query MoveArmWarehouseLoggerReader::makeQueryForPlanningSceneTime ( const ros::Time time) [protected]

Definition at line 233 of file move_arm_warehouse_logger_reader.cpp.

void MoveArmWarehouseLoggerReader::pushJointTrajectoryToWarehouse ( const unsigned int  id,
const std::string &  trajectory_source,
const ros::Duration production_time,
const trajectory_msgs::JointTrajectory &  trajectory,
const trajectory_msgs::JointTrajectory &  trajectory_control_error,
const unsigned int  ID,
const unsigned int  motion_plan_ID,
const arm_navigation_msgs::ArmNavigationErrorCodes error_code 
)

Definition at line 155 of file move_arm_warehouse_logger_reader.cpp.

void MoveArmWarehouseLoggerReader::pushMotionPlanRequestToWarehouse ( const unsigned int  planning_id,
const unsigned int  mpr_id,
const std::string &  stage_name,
const arm_navigation_msgs::MotionPlanRequest motion_plan_request 
)

Definition at line 134 of file move_arm_warehouse_logger_reader.cpp.

void MoveArmWarehouseLoggerReader::pushOutcomeToWarehouse ( const unsigned int  id,
const std::string &  pipeline_stage,
const arm_navigation_msgs::ArmNavigationErrorCodes error_codes 
)

Definition at line 176 of file move_arm_warehouse_logger_reader.cpp.

Definition at line 187 of file move_arm_warehouse_logger_reader.cpp.

void MoveArmWarehouseLoggerReader::pushPlanningSceneToWarehouse ( const arm_navigation_msgs::PlanningScene planning_scene,
const unsigned int  ID 
)

Definition at line 124 of file move_arm_warehouse_logger_reader.cpp.

LOGGING FUNCTIONS

Definition at line 116 of file move_arm_warehouse_logger_reader.cpp.

bool MoveArmWarehouseLoggerReader::removePlanningSceneAndAssociatedDataFromWarehouse ( const std::string &  hostname,
const unsigned int  id 
)

Definition at line 493 of file move_arm_warehouse_logger_reader.cpp.

void MoveArmWarehouseLoggerReader::stringToJointTrajectory ( const std::string &  trajectory,
trajectory_msgs::JointTrajectory &  joint_trajectory 
) [protected]

Definition at line 536 of file move_arm_warehouse_logger_reader.cpp.


Member Data Documentation

Definition at line 191 of file move_arm_warehouse_logger_reader.h.

Definition at line 186 of file move_arm_warehouse_logger_reader.h.

Definition at line 188 of file move_arm_warehouse_logger_reader.h.

Definition at line 189 of file move_arm_warehouse_logger_reader.h.

Definition at line 185 of file move_arm_warehouse_logger_reader.h.

mongo_ros::MessageCollection<trajectory_msgs::JointTrajectory>* move_arm_warehouse::MoveArmWarehouseLoggerReader::trajectory_collection_ [protected]

Definition at line 187 of file move_arm_warehouse_logger_reader.h.


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


move_arm_warehouse
Author(s): Ioan Sucan, Sachin Chitta(sachinc@willowgarage.com)
autogenerated on Thu Dec 12 2013 11:09:12