#include "laserFromPointCloud.h"
#include <yarp/os/Time.h>
#include <yarp/os/Log.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/ResourceFinder.h>
#include <yarp/math/Math.h>
#include <yarp/rosmsg/sensor_msgs/PointCloud2.h>
#include <yarp/os/Node.h>
#include <yarp/os/Publisher.h>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <mutex>
Go to the source code of this file.
Macros | |
#define | _USE_MATH_DEFINES |
#define | DEG2RAD M_PI/180.0 |
Functions | |
const yarp::os::LogComponent & | LASER_FROM_POINTCLOUD () |
void | ros_init_pc () |
void | ros_compute_and_send_pc (const yarp::sig::PointCloud< yarp::sig::DataXYZ > &pc, string frame_id) |
void | rotate_pc (yarp::sig::PointCloud< yarp::sig::DataXYZ > &pc, const yarp::sig::Matrix &m) |
Variables | |
yarp::os::Publisher< yarp::rosmsg::sensor_msgs::PointCloud2 > * | pointCloud_outTopic = nullptr |
yarp::os::Node * | rosNode =nullptr |
#define _USE_MATH_DEFINES |
Definition at line 19 of file laserFromPointCloud.cpp.
#define DEG2RAD M_PI/180.0 |
Definition at line 43 of file laserFromPointCloud.cpp.
const yarp::os::LogComponent& LASER_FROM_POINTCLOUD | ( | ) |
Definition at line 46 of file laserFromPointCloud.cpp.
void ros_compute_and_send_pc | ( | const yarp::sig::PointCloud< yarp::sig::DataXYZ > & | pc, |
string | frame_id | ||
) |
Definition at line 89 of file laserFromPointCloud.cpp.
void ros_init_pc | ( | ) |
Definition at line 74 of file laserFromPointCloud.cpp.
void rotate_pc | ( | yarp::sig::PointCloud< yarp::sig::DataXYZ > & | pc, |
const yarp::sig::Matrix & | m | ||
) |
Definition at line 348 of file laserFromPointCloud.cpp.
yarp::os::Publisher<yarp::rosmsg::sensor_msgs::PointCloud2>* pointCloud_outTopic = nullptr |
Definition at line 71 of file laserFromPointCloud.cpp.
yarp::os::Node* rosNode =nullptr |
Definition at line 72 of file laserFromPointCloud.cpp.