Convert a laser scan in ros format to a text ASCII file. More...
#include <ros/ros.h>
#include <laser_geometry/laser_geometry.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/surface/mls.h>
#include <string>
#include <fstream>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | saveLaserScan (const sensor_msgs::LaserScan &scan) |
void | savePointCloud2 (const sensor_msgs::PointCloud2 &cloud) |
Variables | |
string | outputFile = "~/Desktop/temp.txt" |
Convert a laser scan in ros format to a text ASCII file.
Definition in file log_recorder.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 105 of file log_recorder.cpp.
void saveLaserScan | ( | const sensor_msgs::LaserScan & | scan | ) |
Definition at line 65 of file log_recorder.cpp.
void savePointCloud2 | ( | const sensor_msgs::PointCloud2 & | cloud | ) |
Definition at line 49 of file log_recorder.cpp.
string outputFile = "~/Desktop/temp.txt" |
Definition at line 47 of file log_recorder.cpp.