scanmatcherprocessor.h
Go to the documentation of this file.
1 #ifndef SCANMATCHERPROCESSOR_H
2 #define SCANMATCHERPROCESSOR_H
3 
7 //#include <gsl/gsl_eigen.h>
9 #include <gmapping/scanmatcher/scanmatcher_export.h>
10 
11 namespace GMapping {
12 
13 class SCANMATCHER_EXPORT ScanMatcherProcessor{
14  public:
16  ScanMatcherProcessor (double xmin, double ymin, double xmax, double ymax, double delta, double patchdelta);
17  virtual ~ScanMatcherProcessor ();
18  virtual void processScan(const RangeReading & reading);
19  void setSensorMap(const SensorMap& smap, std::string sensorName="FLASER");
20  void init();
21  void setMatchingParameters
22  (double urange, double range, double sigma, int kernsize, double lopt, double aopt, int iterations, bool computeCovariance=false);
23  void setRegistrationParameters(double regScore, double critScore);
24  OrientedPoint getPose() const;
25  inline const ScanMatcherMap& getMap() const {return m_map;}
26  inline ScanMatcher& matcher() {return m_matcher;}
27  inline void setmaxMove(double mmove){m_maxMove=mmove;}
28  bool useICP;
29  protected:
32  bool m_first;
34  double m_regScore, m_critScore;
35  unsigned int m_beams;
36  double m_maxMove;
37  //state
41  int m_count;
42  //gsl_eigen_symmv_workspace * m_eigenspace;
43 };
44 
45 };
46 
47 #endif
48 
49 
GMapping::SensorMap
std::map< std::string, Sensor * > SensorMap
Definition: sensor.h:20
rangesensor.h
GMapping::ScanMatcherProcessor::m_pose
OrientedPoint m_pose
Definition: scanmatcherprocessor.h:39
GMapping::ScanMatcherProcessor::m_regScore
double m_regScore
Definition: scanmatcherprocessor.h:34
GMapping
Definition: configfile.cpp:34
GMapping::ScanMatcherProcessor::getMap
const ScanMatcherMap & getMap() const
Definition: scanmatcherprocessor.h:25
GMapping::ScanMatcherProcessor::m_matcher
ScanMatcher m_matcher
Definition: scanmatcherprocessor.h:30
GMapping::ScanMatcherProcessor::matcher
ScanMatcher & matcher()
Definition: scanmatcherprocessor.h:26
sensorlog.h
GMapping::ScanMatcherProcessor::m_odoPose
OrientedPoint m_odoPose
Definition: scanmatcherprocessor.h:40
GMapping::ScanMatcher
Definition: scanmatcher.h:15
delta
const char *const *argv double delta
Definition: gfs2stream.cpp:19
GMapping::ScanMatcherProcessor::m_count
int m_count
Definition: scanmatcherprocessor.h:41
GMapping::Map< PointAccumulator, HierarchicalArray2D< PointAccumulator > >
GMapping::ScanMatcherProcessor
Definition: scanmatcherprocessor.h:13
GMapping::ScanMatcherProcessor::m_computeCovariance
bool m_computeCovariance
Definition: scanmatcherprocessor.h:31
GMapping::ScanMatcherProcessor::setmaxMove
void setmaxMove(double mmove)
Definition: scanmatcherprocessor.h:27
scanmatcher.h
GMapping::ScanMatcherProcessor::m_beams
unsigned int m_beams
Definition: scanmatcherprocessor.h:35
rangereading.h
GMapping::RangeReading
Definition: rangereading.h:17
GMapping::ScanMatcherProcessor::m_map
ScanMatcherMap m_map
Definition: scanmatcherprocessor.h:38
GMapping::ScanMatcherProcessor::m_first
bool m_first
Definition: scanmatcherprocessor.h:32
GMapping::orientedpoint< double, double >
GMapping::ScanMatcherProcessor::useICP
bool useICP
Definition: scanmatcherprocessor.h:28
GMapping::ScanMatcherProcessor::m_maxMove
double m_maxMove
Definition: scanmatcherprocessor.h:36
GMapping::ScanMatcherProcessor::m_sensorMap
SensorMap m_sensorMap
Definition: scanmatcherprocessor.h:33


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Thu Oct 19 2023 02:25:51