205 size_t num_additional_trajectories_to_preserve_when_deleting_worse);
228 std::vector<warehouse_ros::MessageWithMetadata<moveit_msgs::msg::RobotTrajectory>::ConstPtr>
230 const std::string& cache_namespace,
231 const moveit_msgs::msg::MotionPlanRequest& plan_request,
double start_tolerance,
232 double goal_tolerance,
bool metadata_only =
false,
233 const std::string& sort_by =
"execution_time_s",
bool ascending =
true)
const;
251 const moveit_msgs::msg::MotionPlanRequest& plan_request,
double start_tolerance,
double goal_tolerance,
252 bool metadata_only =
false,
const std::string& sort_by =
"execution_time_s",
bool ascending =
true)
const;
278 const std::string& cache_namespace,
const moveit_msgs::msg::MotionPlanRequest& plan_request,
279 const moveit_msgs::msg::RobotTrajectory& trajectory,
double execution_time_s,
280 double planning_time_s,
bool prune_worse_trajectories =
true);
301 moveit_msgs::srv::GetCartesianPath::Request
303 const std::vector<geometry_msgs::msg::Pose>& waypoints,
double max_step,
304 double jump_threshold,
bool avoid_collisions =
true);
321 std::vector<warehouse_ros::MessageWithMetadata<moveit_msgs::msg::RobotTrajectory>::ConstPtr>
323 const std::string& cache_namespace,
324 const moveit_msgs::srv::GetCartesianPath::Request& plan_request,
325 double min_fraction,
double start_tolerance,
double goal_tolerance,
326 bool metadata_only =
false,
const std::string& sort_by =
"execution_time_s",
327 bool ascending =
true)
const;
346 const moveit_msgs::srv::GetCartesianPath::Request& plan_request,
double min_fraction,
double start_tolerance,
347 double goal_tolerance,
bool metadata_only =
false,
const std::string& sort_by =
"execution_time_s",
348 bool ascending =
true)
const;
375 const std::string& cache_namespace,
376 const moveit_msgs::srv::GetCartesianPath::Request& plan_request,
377 const moveit_msgs::msg::RobotTrajectory& trajectory,
double execution_time_s,
378 double planning_time_s,
double fraction,
bool prune_worse_trajectories =
true);
401 bool extractAndAppendTrajectoryStartToQuery(warehouse_ros::Query& query,
403 const moveit_msgs::msg::MotionPlanRequest& plan_request,
404 double match_tolerance)
const;
419 bool extractAndAppendTrajectoryGoalToQuery(warehouse_ros::Query& query,
421 const moveit_msgs::msg::MotionPlanRequest& plan_request,
422 double match_tolerance)
const;
436 bool extractAndAppendTrajectoryStartToMetadata(warehouse_ros::Metadata& metadata,
438 const moveit_msgs::msg::MotionPlanRequest& plan_request)
const;
452 bool extractAndAppendTrajectoryGoalToMetadata(warehouse_ros::Metadata& metadata,
454 const moveit_msgs::msg::MotionPlanRequest& plan_request)
const;
476 bool extractAndAppendCartesianTrajectoryStartToQuery(warehouse_ros::Query& query,
478 const moveit_msgs::srv::GetCartesianPath::Request& plan_request,
479 double match_tolerance)
const;
494 bool extractAndAppendCartesianTrajectoryGoalToQuery(warehouse_ros::Query& query,
496 const moveit_msgs::srv::GetCartesianPath::Request& plan_request,
497 double match_tolerance)
const;
511 bool extractAndAppendCartesianTrajectoryStartToMetadata(
513 const moveit_msgs::srv::GetCartesianPath::Request& plan_request)
const;
527 bool extractAndAppendCartesianTrajectoryGoalToMetadata(
529 const moveit_msgs::srv::GetCartesianPath::Request& plan_request)
const;
533 rclcpp::Node::SharedPtr node_;
534 rclcpp::Logger logger_;
535 warehouse_ros::DatabaseConnection::Ptr db_;
539 std::unique_ptr<tf2_ros::Buffer> tf_buffer_;
540 std::shared_ptr<tf2_ros::TransformListener> tf_listener_;