rpos::core::LaserPoint Class
Represents each measurement sample (point) of a LIDAR scan.
Header File
rpos/core/laser_point.h
Applies to
- Slamware
- Mapper
Constructors
LaserPoint()
Default
LaserPoint(float distance, float angle, bool valid)
Create the object using specified distance, angle and valid info
LaserPoint(const LaserPoint&)
Copy constructor
Operators
LaserPoint& operator=(const LaserPoint&)
Assignment operator
Method
float distance() const
The distance from the scan centor to the target. Measured in meter unit.
float& distance()
The setter function of distance()
float angle() const
The angle (heading) of the current measurement in radius unit with right-hand axis.
float& angle()
Setter function of angle()
bool valid() const
Specifies whether the current point measurement is valid
bool& valid()
Setter function of valid()