|
g2o
|
laser measurement obtained by a robot More...
#include <robot_laser.h>


Public Member Functions | |
| RobotLaser () | |
| ~RobotLaser () | |
| virtual bool | write (std::ostream &os) const |
| write the data to a stream | |
| virtual bool | read (std::istream &is) |
| read the data from a stream | |
| SE2 | laserPose () const |
| const SE2 & | odomPose () const |
| void | setOdomPose (const SE2 &odomPose) |
Public Member Functions inherited from g2o::RawLaser | |
| RawLaser () | |
| ~RawLaser () | |
| Point2DVector | cartesian () const |
| const std::vector< double > & | ranges () const |
| the range measurements by the laser | |
| void | setRanges (const std::vector< double > &ranges) |
| const std::vector< double > & | remissions () const |
| the remission measurements by the laser | |
| void | setRemissions (const std::vector< double > &remissions) |
| const LaserParameters & | laserParams () const |
| the parameters of the laser | |
| void | setLaserParams (const LaserParameters &laserParams) |
Public Member Functions inherited from g2o::RobotData | |
| RobotData () | |
| virtual | ~RobotData () |
| double | timestamp () const |
| void | setTimestamp (double ts) |
| double | loggerTimestamp () const |
| void | setLoggerTimestamp (double ts) |
| const std::string & | tag () const |
| void | setTag (const std::string &tag) |
| const std::string & | hostname () const |
| void | setHostname (const std::string &hostname) |
Public Member Functions inherited from g2o::HyperGraph::Data | |
| Data () | |
| ~Data () | |
| virtual HyperGraph::HyperGraphElementType | elementType () const |
| const Data * | next () const |
| Data * | next () |
| void | setNext (Data *next_) |
| DataContainer * | dataContainer () |
| const DataContainer * | dataContainer () const |
| void | setDataContainer (DataContainer *dataContainer_) |
Public Member Functions inherited from g2o::HyperGraph::HyperGraphElement | |
| virtual | ~HyperGraphElement () |
Public Attributes | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | |
Protected Attributes | |
| SE2 | _odomPose |
| double | _laserTv |
| velocities and safety distances of the robot. | |
| double | _laserRv |
| double | _forwardSafetyDist |
| double | _sideSafetyDist |
| double | _turnAxis |
Protected Attributes inherited from g2o::RawLaser | |
| std::vector< double > | _ranges |
| std::vector< double > | _remissions |
| LaserParameters | _laserParams |
Protected Attributes inherited from g2o::RobotData | |
| double | _timestamp |
| timestamp when the measurement was generated | |
| double | _loggerTimestamp |
| timestamp when the measurement was recorded | |
| std::string | _tag |
| string tag (FLASER, ROBOTLASER, ODOM..) of the line in the log | |
| std::string | _hostname |
| name of the computer/robot generating the data | |
Protected Attributes inherited from g2o::HyperGraph::Data | |
| Data * | _next |
| DataContainer * | _dataContainer |
Additional Inherited Members | |
Public Types inherited from g2o::RawLaser | |
| using | Point2DVector = std::vector< Vector2 > |
laser measurement obtained by a robot
A laser measurement obtained by a robot. The measurement is equipped with a pose of the robot at which the measurement was taken. The read/write function correspond to the CARMEN logfile format.
Definition at line 43 of file robot_laser.h.
| g2o::RobotLaser::RobotLaser | ( | ) |
Definition at line 40 of file robot_laser.cpp.
| g2o::RobotLaser::~RobotLaser | ( | ) |
Definition at line 48 of file robot_laser.cpp.
|
inline |
|
inline |
Definition at line 53 of file robot_laser.h.
Referenced by g2o::addOdometryCalibLinksDifferential(), main(), and setOdomPose().
|
virtual |
read the data from a stream
Reimplemented from g2o::RawLaser.
Definition at line 50 of file robot_laser.cpp.
References _forwardSafetyDist, g2o::RobotData::_hostname, g2o::RawLaser::_laserParams, _laserRv, _laserTv, g2o::RobotData::_loggerTimestamp, _odomPose, g2o::RawLaser::_ranges, g2o::RawLaser::_remissions, _sideSafetyDist, g2o::RobotData::_timestamp, _turnAxis, g2o::SE2::inverse(), and g2o::LaserParameters::laserPose.
Referenced by g2o::Gm2dlIO::readGm2dl(), and g2o::Gm2dlIO::readRobotLaser().
| void g2o::RobotLaser::setOdomPose | ( | const SE2 & | odomPose | ) |
Definition at line 109 of file robot_laser.cpp.
References _odomPose, and odomPose().
Referenced by g2o::Gm2dlIO::updateLaserData().
|
virtual |
write the data to a stream
Reimplemented from g2o::RawLaser.
Definition at line 84 of file robot_laser.cpp.
References _forwardSafetyDist, g2o::RawLaser::_laserParams, _laserRv, _laserTv, _odomPose, g2o::RawLaser::_remissions, _sideSafetyDist, _turnAxis, g2o::LaserParameters::accuracy, g2o::LaserParameters::angularStep, g2o::LaserParameters::firstBeamAngle, g2o::LaserParameters::fov, g2o::RobotData::hostname(), g2o::LaserParameters::laserPose, g2o::RobotData::loggerTimestamp(), g2o::LaserParameters::maxRange, g2o::RawLaser::ranges(), g2o::LaserParameters::remissionMode, g2o::RobotData::timestamp(), g2o::SE2::toVector(), and g2o::LaserParameters::type.
|
protected |
Definition at line 59 of file robot_laser.h.
|
protected |
Definition at line 59 of file robot_laser.h.
|
protected |
velocities and safety distances of the robot.
Definition at line 59 of file robot_laser.h.
|
protected |
Definition at line 57 of file robot_laser.h.
Referenced by read(), setOdomPose(), and write().
|
protected |
Definition at line 59 of file robot_laser.h.
|
protected |
Definition at line 59 of file robot_laser.h.
| g2o::RobotLaser::EIGEN_MAKE_ALIGNED_OPERATOR_NEW |
Definition at line 45 of file robot_laser.h.