MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
save_image_to_file.hpp File Reference
#include <moveit_pro_behavior_interface/async_behavior_base.hpp>
#include <moveit_pro_behavior_interface/behavior_context.hpp>
#include <moveit_pro_behavior_interface/shared_resources_node.hpp>
#include <moveit_studio_vision/cv_bridge.hpp>
#include <opencv2/imgcodecs.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <tl_expected/expected.hpp>
Include dependency graph for save_image_to_file.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  moveit_pro::behaviors::SaveImageToFile
 Save an image to disk as a .png file. The filename will follow the syntax of file_prefix_YYYYMMDD_HHMMSS.png. More...
 

Namespaces

namespace  moveit_pro
 
namespace  moveit_pro::behaviors
 

Functions

std::string moveit_pro::behaviors::formatImageMetadata (const sensor_msgs::msg::Image &image_msg)
 Returns a one-line human-readable summary of an image's metadata fields.
 
tl::expected< void, std::string > moveit_pro::behaviors::validateImageMetadata (const sensor_msgs::msg::Image &image_msg)
 Validate that an image message's metadata fields are internally consistent.