#include <RangeSensor.h>
Definition at line 84 of file RangeSensor.h.
RangeSensor::RangeSensor |
( |
const SensorType & |
type | ) |
|
const rs::rangeArray_ptr RangeSensor::getLaserScan |
( |
const cv::Point |
sensorPos, |
|
|
const double |
theta |
|
) |
| const |
Get a Laserscan at the current position/orientation.
- Parameters
-
[in] | sensorPos | sensor position |
[in] | theta | sensor orientation in a plane |
- Returns
- array of range finder values in meters
Definition at line 52 of file RangeSensor.cpp.
const double RangeSensor::getUSScan |
( |
const cv::Point |
sensorPos, |
|
|
const double |
theta |
|
) |
| const |
Get a ultra sonic range information at the current position/orientation.
- Parameters
-
[in] | sensorPos | sensor position |
[in] | theta | sensor orientation in a plane |
- Returns
- range finder value in meters
Definition at line 110 of file RangeSensor.cpp.
void RangeSensor::setConfig |
( |
pses_simulation::RangeSensorConfig & |
config | ) |
|
Sets the RangeSensorConfig object of this sensor simulation.
- Parameters
-
[in] | config | dynamic reconfigure object for this sensor |
Definition at line 40 of file RangeSensor.cpp.
void RangeSensor::setMap |
( |
const cv::Mat & |
map | ) |
|
Sets the occupancy grid to be used by this sensor simulation.
- Parameters
-
[in] | map | occupancy grid represented by a monochromatic image |
Definition at line 45 of file RangeSensor.cpp.
void RangeSensor::setMapMetaData |
( |
const nav_msgs::MapMetaData & |
mapInfo | ) |
|
Sets the meta data of the occupancy grid to be used by this sensor simulation.
Meta data contains information about the occupancy grids resultion, point of origin and meaning of grid values.
- Parameters
-
[in] | mapInfo | occupancy grid meta data |
Definition at line 47 of file RangeSensor.cpp.
pses_simulation::RangeSensorConfig RangeSensor::config |
|
private |
nav_msgs::MapMetaData RangeSensor::mapInfo |
|
private |
The documentation for this class was generated from the following files: