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, 5,
21 iter_x(cloud,
"x"), iter_y(cloud,
"y"), iter_z(cloud,
"z"),
22 iter_ring(cloud,
"ring"), iter_intensity(cloud,
"intensity")
26 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_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
virtual void addPoint(float x, float y, float z, uint16_t ring, uint16_t azimuth, float distance, float intensity)
sensor_msgs::PointCloud2 cloud