MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
get_closest_object_to_pose.hpp File Reference
#include <geometry_msgs/msg/pose_stamped.hpp>
#include <moveit_msgs/msg/collision_object.hpp>
#include <moveit_studio_behavior_interface/behavior_context.hpp>
#include <moveit_studio_behavior_interface/shared_resources_node.hpp>
#include <moveit_studio_vision_msgs/msg/graspable_object.hpp>
#include <std_srvs/srv/empty.hpp>
#include <tl_expected/expected.hpp>
Include dependency graph for get_closest_object_to_pose.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  moveit_studio::behaviors::ObjectWithDistance
 Associates a GraspableObject with a distance metric. More...
 
class  moveit_studio::behaviors::GetClosestObjectToPose
 Given a collection of GraspableObjects, find the one that's closest to the provided pose. More...
 

Namespaces

 moveit_studio
 
 moveit_studio::behaviors
 

Functions

tl::expected< std::vector< ObjectWithDistance >, std::string > moveit_studio::behaviors::calculateClosestObjectToPose (const tf2_ros::Buffer &buffer, const std::vector< moveit_studio_vision_msgs::msg::GraspableObject > &objects, const geometry_msgs::msg::PoseStamped &pose)
 Get the closest object to the provided pose. More...