10 const double max_range,
const double min_range,
11 const std::string& target_frame,
const std::string& fixed_frame,
14 max_range, min_range, target_frame, fixed_frame,
15 0, 1, true, scans_per_block, tf_ptr, 6,
22 iter_x(cloud,
"x"), iter_y(cloud,
"y"), iter_z(cloud,
"z"),
23 iter_ring(cloud,
"ring"), iter_intensity(cloud,
"intensity"), iter_time(cloud,
"time")
27 DataContainerBase::setup(scan_msg);
sensor_msgs::PointCloud2Iterator< float > iter_z
sensor_msgs::PointCloud2Iterator< float > iter_y
sensor_msgs::PointCloud2Iterator< uint16_t > iter_ring
sensor_msgs::PointCloud2Iterator< float > iter_time
virtual void addPoint(float x, float y, float z, const uint16_t ring, const uint16_t azimuth, const float distance, const float intensity, const float time)
sensor_msgs::PointCloud2Iterator< float > iter_x
bool pointInRange(float range)
virtual void setup(const velodyne_msgs::VelodyneScan::ConstPtr &scan_msg)
void transformPoint(float &x, float &y, float &z)
bool transform
enable / disable transform points
PointcloudXYZIR(const double max_range, const double min_range, const std::string &target_frame, const std::string &fixed_frame, const unsigned int scans_per_block, boost::shared_ptr< tf::TransformListener > tf_ptr=boost::shared_ptr< tf::TransformListener >())
sensor_msgs::PointCloud2Iterator< float > iter_intensity
sensor_msgs::PointCloud2 cloud