karto::LaserRangeFinder Class Reference
#include <Karto.h>
List of all members.
Detailed Description
The LaserRangeFinder defines a laser sensor that provides the pose offset position of a localized range scan relative to the robot. The user can set an offset pose for the sensor relative to the robot coordinate system. If no value is provided by the user, the sensor is set to be at the origin of the robot coordinate system. The LaserRangeFinder contains parameters for physical laser sensor used by the mapper for scan matching Also contains information about the maximum range of the sensor and provides a threshold for limiting the range of readings. The optimal value for the range threshold depends on the angular resolution of the scan and the desired map resolution. RangeThreshold should be set as large as possible while still providing "solid" coverage between consecutive range readings. The diagram below illustrates the relationship between map resolution and the range threshold.
Definition at line 3560 of file Karto.h.
Constructor & Destructor Documentation
karto::LaserRangeFinder::LaserRangeFinder |
( |
const Name & |
rName |
) |
[inline, private] |
karto::LaserRangeFinder::LaserRangeFinder |
( |
const LaserRangeFinder & |
|
) |
[private] |
Member Function Documentation
Create a laser range finder of the given type and ID
- Parameters:
-
| type | |
| rName | name of sensor - if no name is specified default name will be assigned |
- Returns:
- laser range finder
Definition at line 3788 of file Karto.h.
kt_double karto::LaserRangeFinder::GetAngularResolution |
( |
|
) |
const [inline] |
Gets this range finder sensor's angular resolution
- Returns:
- angular resolution
Definition at line 3682 of file Karto.h.
kt_double karto::LaserRangeFinder::GetMaximumAngle |
( |
|
) |
const [inline] |
Gets this range finder sensor's maximum angle
- Returns:
- maximum angle
Definition at line 3662 of file Karto.h.
kt_double karto::LaserRangeFinder::GetMaximumRange |
( |
|
) |
const [inline] |
Gets this range finder sensor's maximum range
- Returns:
- maximum range
Definition at line 3598 of file Karto.h.
kt_double karto::LaserRangeFinder::GetMinimumAngle |
( |
|
) |
const [inline] |
Gets this range finder sensor's minimum angle
- Returns:
- minimum angle
Definition at line 3642 of file Karto.h.
kt_double karto::LaserRangeFinder::GetMinimumRange |
( |
|
) |
const [inline] |
Gets this range finder sensor's minimum range
- Returns:
- minimum range
Definition at line 3578 of file Karto.h.
kt_int32u karto::LaserRangeFinder::GetNumberOfRangeReadings |
( |
|
) |
const [inline] |
Gets the number of range readings each localized range scan must contain to be a valid scan.
- Returns:
- number of range readings
Definition at line 3755 of file Karto.h.
Get point readings (potentially scale readings if given coordinate converter is not null)
- Parameters:
-
Definition at line 142 of file Karto.cpp.
kt_double karto::LaserRangeFinder::GetRangeThreshold |
( |
|
) |
const [inline] |
Gets the range threshold
- Returns:
- range threshold
Definition at line 3618 of file Karto.h.
kt_int32s karto::LaserRangeFinder::GetType |
( |
|
) |
[inline] |
void karto::LaserRangeFinder::SetAngularResolution |
( |
kt_double |
angularResolution |
) |
[inline] |
Sets this range finder sensor's angular resolution
- Parameters:
-
Definition at line 3691 of file Karto.h.
void karto::LaserRangeFinder::SetMaximumAngle |
( |
kt_double |
maximumAngle |
) |
[inline] |
Sets this range finder sensor's maximum angle
- Parameters:
-
Definition at line 3671 of file Karto.h.
void karto::LaserRangeFinder::SetMaximumRange |
( |
kt_double |
maximumRange |
) |
[inline] |
Sets this range finder sensor's maximum range
- Parameters:
-
Definition at line 3607 of file Karto.h.
void karto::LaserRangeFinder::SetMinimumAngle |
( |
kt_double |
minimumAngle |
) |
[inline] |
Sets this range finder sensor's minimum angle
- Parameters:
-
Definition at line 3651 of file Karto.h.
void karto::LaserRangeFinder::SetMinimumRange |
( |
kt_double |
minimumRange |
) |
[inline] |
Sets this range finder sensor's minimum range
- Parameters:
-
Definition at line 3587 of file Karto.h.
void karto::LaserRangeFinder::SetRangeThreshold |
( |
kt_double |
rangeThreshold |
) |
[inline] |
Sets the range threshold
- Parameters:
-
Definition at line 3627 of file Karto.h.
void karto::LaserRangeFinder::Update |
( |
|
) |
[inline, private] |
Set the number of range readings based on the minimum and maximum angles of the sensor and the angular resolution
Definition at line 3960 of file Karto.h.
virtual kt_bool karto::LaserRangeFinder::Validate |
( |
|
) |
[inline, virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: