MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
sam2_segmentation.cpp File Reference
#include <future>
#include <geometry_msgs/msg/point_stamped.hpp>
#include <memory>
#include <moveit_pro_ml/onnx_sam2.hpp>
#include <moveit_studio_behavior/behaviors/vision/sam2_segmentation.hpp>
#include <moveit_studio_behavior_interface/async_behavior_base.hpp>
#include <moveit_studio_behavior_interface/get_required_ports.hpp>
#include <moveit_studio_common/utils/filesystem_utils.hpp>
#include <moveit_studio_vision_msgs/msg/mask2_d.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <string>
#include <tl_expected/expected.hpp>
Include dependency graph for sam2_segmentation.cpp:

Namespaces

namespace  moveit_studio
 
namespace  moveit_studio::behaviors
 

Functions

void moveit_studio::behaviors::set_onnx_image_from_ros_image (const sensor_msgs::msg::Image &image_msg, moveit_pro_ml::ONNXImage &onnx_image)
 
void moveit_studio::behaviors::set_ros_mask_from_onnx_mask (const moveit_pro_ml::ONNXImage &onnx_image, sensor_msgs::msg::Image &mask_image_msg, moveit_studio_vision_msgs::msg::Mask2D &mask_msg)