#include <ros/ros.h>
#include <sensor_msgs/PointCloud.h>
#include <std_msgs/String.h>
#include <sensor_msgs/PointCloud2.h>
#include <tf/transform_listener.h>
#include "globals.icc"
#include <pcl_ros/transforms.h>
Go to the source code of this file.
Functions | |
int32_t | findChannelIndex (const sensor_msgs::PointCloud2ConstPtr &cloud, const std::string &channel) |
bool | getTransform (double *t, double *ti, double *rP, double *rPT, tf::TransformListener *listener, ros::Time time) |
int | main (int argc, char **argv) |
void | pc2aCallback (const sensor_msgs::PointCloud2Ptr &untransformed_cloud) |
void | pcCallback (const sensor_msgs::PointCloud::ConstPtr &untransformed_cloud) |
void | reqCallback (const std_msgs::String::ConstPtr &e) |
void | writePose (int j, double rP[3], double rPT[3]) |
Variables | |
std::string | fixed_frame_ |
bool | needRequest_ |
bool | requested_ |
std::string | robot_frame_ |
tf::TransformListener * | tl_ |
int32_t findChannelIndex | ( | const sensor_msgs::PointCloud2ConstPtr & | cloud, |
const std::string & | channel | ||
) | [inline] |
Definition at line 151 of file slam_exporter.cpp.
bool getTransform | ( | double * | t, |
double * | ti, | ||
double * | rP, | ||
double * | rPT, | ||
tf::TransformListener * | listener, | ||
ros::Time | time | ||
) |
Definition at line 21 of file slam_exporter.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 244 of file slam_exporter.cpp.
void pc2aCallback | ( | const sensor_msgs::PointCloud2Ptr & | untransformed_cloud | ) |
Definition at line 164 of file slam_exporter.cpp.
void pcCallback | ( | const sensor_msgs::PointCloud::ConstPtr & | untransformed_cloud | ) |
Definition at line 94 of file slam_exporter.cpp.
void reqCallback | ( | const std_msgs::String::ConstPtr & | e | ) |
Definition at line 88 of file slam_exporter.cpp.
void writePose | ( | int | j, |
double | rP[3], | ||
double | rPT[3] | ||
) |
Definition at line 79 of file slam_exporter.cpp.
std::string fixed_frame_ |
Definition at line 18 of file slam_exporter.cpp.
bool needRequest_ |
Definition at line 17 of file slam_exporter.cpp.
bool requested_ |
Definition at line 17 of file slam_exporter.cpp.
std::string robot_frame_ |
Definition at line 19 of file slam_exporter.cpp.
Definition at line 15 of file slam_exporter.cpp.