MIRA
|
This class stores information about the configuration and geometry of 2D range scans e.g. More...
#include <robot/RangeScanInfo.h>
Public Member Functions | |
std::pair< float, float > | getAnglesForOrientation (const Pose3 &mountPosition) const |
Returns pair of adjusted start and delta angle for this scan assuming the scan was taken at the given mount position. More... | |
Constructors and reflect | |
RangeScanInfo () | |
template<typename Reflector > | |
void | reflectConeAngle (Reflector &r) |
void | reflectConeAngle (PropertySerializer &r) |
template<typename Reflector > | |
void | reflect (Reflector &r) |
Public Attributes | |
SignedAnglef | startAngle |
The starting orientation of the first sensor cone. More... | |
SignedAnglef | deltaAngle |
The delta angle between neighboring cones. More... | |
float | coneAngle |
The resolution of a single cone. More... | |
float | aperture |
The aperture of the sensor in [m]. More... | |
float | stdError |
The measuring error of the sensor that delivered this scan. More... | |
float | minimumRange |
The minimum range of valid measurements (measurements below this value result in BelowMinimum range code). More... | |
float | maximumRange |
The maximum range of valid measurements (measurements above this value result in AboveMaximum range code). More... | |
Duration | scanTime |
Duration between first and last measurement. More... | |
This class stores information about the configuration and geometry of 2D range scans e.g.
for laser, infrared or ultra-sonic sensors. A laser would have several scans in the scan vector whereas the scan vector of an ultra-sonic sensor would only contain a single scan.
|
inline |
|
inline |
|
inline |
|
inline |
std::pair<float, float> getAnglesForOrientation | ( | const Pose3 & | mountPosition | ) | const |
Returns pair of adjusted start and delta angle for this scan assuming the scan was taken at the given mount position.
This is useful for lasers mounted upside down. start and delta angle are in (-pi,pi) interval.
XInvalidParameter | when laser is not mounted upright or upside down. |
SignedAnglef startAngle |
The starting orientation of the first sensor cone.
SignedAnglef deltaAngle |
The delta angle between neighboring cones.
float coneAngle |
The resolution of a single cone.
float aperture |
The aperture of the sensor in [m].
float stdError |
The measuring error of the sensor that delivered this scan.
float minimumRange |
The minimum range of valid measurements (measurements below this value result in BelowMinimum range code).
float maximumRange |
The maximum range of valid measurements (measurements above this value result in AboveMaximum range code).
Duration scanTime |