YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Ros2RGBDConversionUtils.h File Reference
#include <iostream>
#include <cstring>
#include <yarp/sig/all.h>
#include <yarp/sig/Matrix.h>
#include <yarp/os/Stamp.h>
#include <yarp/os/Property.h>
#include <rclcpp/rclcpp.hpp>
#include <sensor_msgs/msg/image.hpp>
#include <sensor_msgs/msg/camera_info.hpp>
#include <std_msgs/msg/header.hpp>
#include "ros2PixelCode.h"
+ Include dependency graph for Ros2RGBDConversionUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::dev
 For streams capable of holding different kinds of content, check what they actually have.
 
namespace  yarp::dev::Ros2RGBDConversionUtils
 

Typedefs

typedef yarp::sig::ImageOf< yarp::sig::PixelFloatDepthImage
 

Functions

void yarp::dev::Ros2RGBDConversionUtils::convertTimeStampRos2ToYarp (const std_msgs::msg::Header &ros_stamp, yarp::os::Stamp &yarp_stamp)
 
void yarp::dev::Ros2RGBDConversionUtils::convertTimeStampYarpToRos2 (const yarp::os::Stamp &yarp_stamp, std_msgs::msg::Header &ros_stamp)
 
void yarp::dev::Ros2RGBDConversionUtils::convertRGBImageRos2ToYarpFlexImage (sensor_msgs::msg::Image::SharedPtr ros_image_src, yarp::sig::FlexImage &dest)
 
void yarp::dev::Ros2RGBDConversionUtils::convertDepthImageRos2ToYarpImageOf (sensor_msgs::msg::Image::SharedPtr ros_image_src, yarp::sig::ImageOf< yarp::sig::PixelFloat > &dest)
 
void yarp::dev::Ros2RGBDConversionUtils::updateStamp (sensor_msgs::msg::CameraInfo::SharedPtr ros_camera_info_src, std::string &frame_id_dest, yarp::os::Stamp &yarp_stamp)
 
void yarp::dev::Ros2RGBDConversionUtils::deepCopyFlexImage (const yarp::sig::FlexImage &src, yarp::sig::FlexImage &dest)
 
void yarp::dev::Ros2RGBDConversionUtils::deepCopyImageOf (const DepthImage &src, DepthImage &dest)
 

Variables

constexpr double ONE_BILLION = 1000000000
 

Typedef Documentation

◆ DepthImage

Variable Documentation

◆ ONE_BILLION

constexpr double ONE_BILLION = 1000000000
constexpr

Definition at line 25 of file Ros2RGBDConversionUtils.h.