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 
6 namespace GMapping {
7 
9 class FSRMovement {
10  public:
11  FSRMovement(double f=0.0, double s=0.0, double r=0.0);
12  FSRMovement(const FSRMovement& src);
13  FSRMovement(const OrientedPoint& pt1, const OrientedPoint& pt2);
14  FSRMovement(const FSRMovement& move1, const FSRMovement& move2);
15 
16 
17  void normalize();
18  void invert();
19  void compose(const FSRMovement& move2);
20  OrientedPoint move(const OrientedPoint& pt) const;
21 
22 
23  /* static members */
24 
25  static OrientedPoint movePoint(const OrientedPoint& pt, const FSRMovement& move1);
26 
27  static FSRMovement composeMoves(const FSRMovement& move1,
28  const FSRMovement& move2);
29 
30  static FSRMovement moveBetweenPoints(const OrientedPoint& pt1,
31  const OrientedPoint& pt2);
32 
33  static FSRMovement invertMove(const FSRMovement& move1);
34 
35  static OrientedPoint frameTransformation(const OrientedPoint& reference_pt_frame1,
36  const OrientedPoint& reference_pt_frame2,
37  const OrientedPoint& pt_frame1);
38 
39  public:
40  double f;
41  double s;
42  double r;
43 };
44 }
45 #endif
static FSRMovement invertMove(const FSRMovement &move1)
Definition: movement.cpp:82
static FSRMovement composeMoves(const FSRMovement &move1, const FSRMovement &move2)
Definition: movement.cpp:52
OrientedPoint move(const OrientedPoint &pt) const
Definition: movement.cpp:39
void compose(const FSRMovement &move2)
Definition: movement.cpp:47
static OrientedPoint frameTransformation(const OrientedPoint &reference_pt_frame1, const OrientedPoint &reference_pt_frame2, const OrientedPoint &pt_frame1)
Definition: movement.cpp:92
static FSRMovement moveBetweenPoints(const OrientedPoint &pt1, const OrientedPoint &pt2)
Definition: movement.cpp:71
static OrientedPoint movePoint(const OrientedPoint &pt, const FSRMovement &move1)
Definition: movement.cpp:62
FSRMovement(double f=0.0, double s=0.0, double r=0.0)
Definition: movement.cpp:7


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22