RDK2::SensorData::LaserData::LaserPoint Struct Reference

#include <laserdata.h>

Collaboration diagram for RDK2::SensorData::LaserData::LaserPoint:

Collaboration graph
[legend]

Detailed Description

Definition at line 55 of file laserdata.h.


Public Member Functions

 LaserPoint ()
 Constructor.
bool isValid () const
void markInvalid ()
 After calling this function, isValid will return true.
bool hasTrueAlpha () const
RDK2::Geometry::PolarPoint ppoint () const
 Returns a PolarPoint.

Data Fields

double theta
 This is redundant but good to have.
double reading
double intensity
double trueAlpha

Constructor & Destructor Documentation

RDK2::SensorData::LaserData::LaserPoint::LaserPoint (  )  [inline]

Constructor.

Definition at line 70 of file laserdata.h.

References markInvalid().

Here is the call graph for this function:


Member Function Documentation

bool RDK2::SensorData::LaserData::LaserPoint::isValid (  )  const [inline]

This function returns true if the reading is valid.

Definition at line 74 of file laserdata.h.

References reading.

void RDK2::SensorData::LaserData::LaserPoint::markInvalid (  )  [inline]

After calling this function, isValid will return true.

Definition at line 77 of file laserdata.h.

References intensity, reading, and trueAlpha.

Referenced by LaserPoint().

bool RDK2::SensorData::LaserData::LaserPoint::hasTrueAlpha (  )  const [inline]

Definition at line 84 of file laserdata.h.

References trueAlpha.

RDK2::Geometry::PolarPoint RDK2::SensorData::LaserData::LaserPoint::ppoint (  )  const [inline]

Returns a PolarPoint.

Definition at line 87 of file laserdata.h.

References reading, and theta.


Field Documentation

This is redundant but good to have.

Definition at line 57 of file laserdata.h.

Referenced by RDK2::SensorData::LaserData::copy(), RDK2::SensorData::LaserParser::parse(), and ppoint().

Invalid rays have reading = 0; however this might change and you should check for validity with isValid().

Definition at line 61 of file laserdata.h.

Referenced by RDK2::SensorData::LaserData::copy(), isValid(), markInvalid(), RDK2::SensorData::LaserParser::parse(), and ppoint().

Direction of the normal to the surface (radians) in world frame of reference. This value is not saved when serializing.

Definition at line 67 of file laserdata.h.

Referenced by RDK2::SensorData::LaserData::copy(), hasTrueAlpha(), and markInvalid().


The documentation for this struct was generated from the following file:

Generated on Tue Mar 3 15:06:50 2009 for OpenRDK by  doxygen 1.5.6