|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef RGBD_ROS_UTILS_H
10 #define RGBD_ROS_UTILS_H
33 namespace RGBDRosConversionUtils {
61 bool getFOV(
double& horizontalFov,
double& verticalFov)
const;
71 const std::string& frame_id,
73 const unsigned int& seq);
77 const std::string& frame_id,
79 const unsigned int& seq);
std::string m_cameradata_topic_name
contains the definition of a Matrix type
DepthImage m_lastDepthImage
yarp::rosmsg::sensor_msgs::CameraInfo m_lastCameraInfo
yarp::sig::FlexImage m_lastRGBImage
std::string m_camerainfo_topic_name
Image class with user control of representation details.
void deepCopyImages(const yarp::sig::FlexImage &src, yarp::rosmsg::sensor_msgs::Image &dest, const std::string &frame_id, const yarp::rosmsg::TickTime &timeStamp, const unsigned int &seq)
virtual void onRead(yarp::rosmsg::sensor_msgs::Image &v) override
yarp::sig::ImageOf< yarp::sig::PixelFloat > DepthImage
bool getLastDepthData(yarp::sig::ImageOf< yarp::sig::PixelFloat > &data, yarp::os::Stamp &stmp)
yarp::os::Subscriber< yarp::rosmsg::sensor_msgs::CameraInfo > m_subscriber_camera_info
An abstraction for a time stamp and/or sequence number.
yarp::os::Stamp m_lastStamp
bool m_contains_depth_data
virtual ~commonImageProcessor()
The main, catch-all namespace for YARP.
A port specialized for reading data of a constant type published on a topic.
bool getFOV(double &horizontalFov, double &verticalFov) const
bool getLastRGBData(yarp::sig::FlexImage &data, yarp::os::Stamp &stmp)
bool getIntrinsicParam(yarp::os::Property &intrinsic) const
void shallowCopyImages(const yarp::sig::FlexImage &src, yarp::sig::FlexImage &dest)
A class for storing options and configuration information.
commonImageProcessor(std::string data_topic_name, std::string camera_info_topic_name)