|
| Scanner2DModel (const std::string &name, double angularRangeInRad, int maxDataPoints, rw::core::Ptr< rw::kinematics::Frame > frame) |
| constructor More...
|
|
virtual | ~Scanner2DModel () |
| Destructor. Closes scanner connection if not already closed.
|
|
rw::geometry::PointCloud & | getScan (const rw::kinematics::State &state) |
| get handle to point cloud data in state. More...
|
|
void | setScan (const rw::geometry::PointCloud &data, const rw::kinematics::State &state) |
| set point cloud data in state More...
|
|
std::pair< double, double > | getAngularRange () const |
| Returns the min and max angular range of the scanner, where the angles represent the beginning and end of scanning in the z-x plane. Hence, angles represent rotation of z-axis around the y-axis. Normally range would be something like -170 to 170 degree for a Hokyo or Sick scanner. More...
|
|
size_t | getMeasurementCount () const |
| Returns the number of scan points.
|
|
std::pair< double, double > | getDistanceRange () const |
| get the min an max range in meters that is scannable by the 2D scanner More...
|
|
void | setDistanceRange (const std::pair< double, double > &range) |
| set distance range More...
|
|
void | setDistanceRange (double min, double max) |
| set distance range More...
|
|
| SensorModel (const std::string &name, rw::core::Ptr< kinematics::Frame > frame) |
| constructor More...
|
|
| SensorModel (const std::string &name, rw::core::Ptr< kinematics::Frame > frame, const std::string &description) |
| constructor More...
|
|
virtual | ~SensorModel () |
| destructor
|
|
void | setName (const std::string &name) |
| sets the name of this sensor More...
|
|
void | setDescription (const std::string &description) |
| sets the description of this sensor More...
|
|
const std::string & | getName () const |
| returns the name of this sensor More...
|
|
const std::string & | getDescription () const |
| returns a description of this sensor More...
|
|
kinematics::Frame * | getFrame () const |
| The frame to which the sensor is attached. More...
|
|
virtual void | attachTo (rw::core::Ptr< kinematics::Frame > frame) |
| Sets the frame to which the sensor should be attached. More...
|
|
rw::core::PropertyMap & | getPropertyMap () |
| gets the propertymap of this sensor
|
|
const rw::core::PropertyMap & | getPropertyMap () const |
| gets the propertymap of this sensor
|
|
virtual | ~Stateless () |
| destructor
|
|
virtual void | registerIn (State &state) |
| initialize this stateless data to a specific state More...
|
|
virtual void | registerIn (StateStructure::Ptr state) |
| register this stateless object in a statestructure.
|
|
virtual void | unregister () |
| unregisters all state data of this stateless object
|
|
StateStructure::Ptr | getStateStructure () |
| Get the state structure. More...
|
|
const StateStructure::Ptr | getStateStructure () const |
| Get the state structure. More...
|
|
bool | isRegistered () |
| Check if object has registered its state. More...
|
|
The Scanner2DModel encapsulate the basic model of a 2 dimensional range scanning device such as SICK or Hokyuo laser range scanners.
The model supports any range scanner that measures distance in an arc around the origin of the sensor. The scanner scans in the z-x plane with z-axis being the 0 angle measurement.
TODO: enable the selection of internal format, either pointcloud (large) or range-array (compact).