27 #ifndef G2O_RAW_LASER_H 28 #define G2O_RAW_LASER_H 37 #include<Eigen/StdVector> 48 typedef std::vector<Vector2D, Eigen::aligned_allocator<Vector2D> >
Point2DVector;
54 virtual bool write(std::ostream& os)
const;
55 virtual bool read(std::istream& is);
61 Point2DVector cartesian()
const;
64 const std::vector<double>&
ranges()
const {
return _ranges;}
65 void setRanges(
const std::vector<double>& ranges);
68 const std::vector<double>&
remissions()
const {
return _remissions;}
69 void setRemissions(
const std::vector<double>& remissions);
#define G2O_TYPES_DATA_API
std::vector< Vector2D, Eigen::aligned_allocator< Vector2D > > Point2DVector
std::vector< double > _ranges
const std::vector< double > & remissions() const
the remission measurements by the laser
const std::vector< double > & ranges() const
the range measurements by the laser
const LaserParameters & laserParams() const
the parameters of the laser
LaserParameters _laserParams
std::vector< double > _remissions
data recorded by the robot
parameters for a 2D range finder