movement.h
Go to the documentation of this file.
1 #ifndef FSRMOVEMENT_H
2 #define FSRMOVEMENT_H
3 
4 #include "gmapping/utils/point.h"
5 #include <gmapping/utils/utils_export.h>
6 
7 namespace GMapping {
8 
10 class UTILS_EXPORT FSRMovement {
11  public:
12  FSRMovement(double f=0.0, double s=0.0, double r=0.0);
13  FSRMovement(const FSRMovement& src);
14  FSRMovement(const OrientedPoint& pt1, const OrientedPoint& pt2);
15  FSRMovement(const FSRMovement& move1, const FSRMovement& move2);
16 
17 
18  void normalize();
19  void invert();
20  void compose(const FSRMovement& move2);
21  OrientedPoint move(const OrientedPoint& pt) const;
22 
23 
24  /* static members */
25 
26  static OrientedPoint movePoint(const OrientedPoint& pt, const FSRMovement& move1);
27 
28  static FSRMovement composeMoves(const FSRMovement& move1,
29  const FSRMovement& move2);
30 
31  static FSRMovement moveBetweenPoints(const OrientedPoint& pt1,
32  const OrientedPoint& pt2);
33 
34  static FSRMovement invertMove(const FSRMovement& move1);
35 
36  static OrientedPoint frameTransformation(const OrientedPoint& reference_pt_frame1,
37  const OrientedPoint& reference_pt_frame2,
38  const OrientedPoint& pt_frame1);
39 
40  public:
41  double f;
42  double s;
43  double r;
44 };
45 }
46 #endif
GMapping::FSRMovement::s
double s
Definition: movement.h:42
point.h
normalize
void normalize(const Iterator &begin, const Iterator &end)
Definition: particlefilter.h:112
GMapping
Definition: configfile.cpp:34
GMapping::FSRMovement::r
double r
Definition: movement.h:43
GMapping::FSRMovement
Definition: movement.h:10
GMapping::orientedpoint< double, double >
GMapping::FSRMovement::f
double f
Definition: movement.h:41


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