g2o
Public Member Functions | Public Attributes | List of all members
g2o::LaserParameters Struct Reference

parameters for a 2D range finder More...

#include <laser_parameters.h>

Collaboration diagram for g2o::LaserParameters:
Collaboration graph
[legend]

Public Member Functions

 LaserParameters (int type, int beams, double firstBeamAngle, double angularStep, double maxRange, double accuracy, int remissionMode)
 
 LaserParameters (int beams, double firstBeamAngle, double angularStep, double maxRange)
 

Public Attributes

 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 
SE2 laserPose
 
int type
 
double firstBeamAngle
 
double fov
 
double angularStep
 
double accuracy
 
int remissionMode
 
double maxRange
 

Detailed Description

parameters for a 2D range finder

Definition at line 38 of file laser_parameters.h.

Constructor & Destructor Documentation

g2o::LaserParameters::LaserParameters ( int  type,
int  beams,
double  firstBeamAngle,
double  angularStep,
double  maxRange,
double  accuracy,
int  remissionMode 
)

Definition at line 31 of file laser_parameters.cpp.

References accuracy, angularStep, firstBeamAngle, fov, laserPose, maxRange, remissionMode, and type.

32  {
33  type = t;
34  firstBeamAngle = _firstBeamAngle;
35  angularStep = _angularStep;
36  maxRange = _maxRange;
37  laserPose = SE2(0., 0., 0.);
38  accuracy = _accuracy;
39  remissionMode = _remissionMode;
40  fov = angularStep * nbeams;
41  }
g2o::LaserParameters::LaserParameters ( int  beams,
double  firstBeamAngle,
double  angularStep,
double  maxRange 
)

Definition at line 43 of file laser_parameters.cpp.

References accuracy, angularStep, firstBeamAngle, fov, laserPose, maxRange, remissionMode, and type.

44  {
45  type = 0;
46  firstBeamAngle = _firstBeamAngle;
47  angularStep = _angularStep;
48  maxRange = _maxRange;
49  laserPose = SE2(0., 0., 0.);
50  accuracy = 0.1;
51  remissionMode = 0;
52  fov = angularStep * nbeams;
53  }

Member Data Documentation

double g2o::LaserParameters::accuracy

Definition at line 48 of file laser_parameters.h.

Referenced by LaserParameters(), and g2o::RobotLaser::write().

double g2o::LaserParameters::angularStep
g2o::LaserParameters::EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Definition at line 40 of file laser_parameters.h.

double g2o::LaserParameters::firstBeamAngle
double g2o::LaserParameters::fov

Definition at line 46 of file laser_parameters.h.

Referenced by LaserParameters(), and g2o::RobotLaser::write().

SE2 g2o::LaserParameters::laserPose
double g2o::LaserParameters::maxRange
int g2o::LaserParameters::remissionMode

Definition at line 49 of file laser_parameters.h.

Referenced by LaserParameters(), and g2o::RobotLaser::write().

int g2o::LaserParameters::type

Definition at line 44 of file laser_parameters.h.

Referenced by LaserParameters(), and g2o::RobotLaser::write().


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