Parasol Planning Library (PPL)
DHParameters.h
Go to the documentation of this file.
1 #ifndef DH_PARAMETERS_H_
2 #define DH_PARAMETERS_H_
3 
4 #include <iostream>
5 #include <fstream>
6 using namespace std;
7 
8 #include <Transformation.h>
9 using namespace mathtool;
10 
27 class DHParameters {
28 
29  public:
30 
33 
39  DHParameters(double _alpha = 0.0, double _a = 0.0,
40  double _d = 0.0, double _theta = 0.0);
41 
45 
47  Transformation GetTransformation() const;
48 
52 
56  friend istream& operator>>(istream& _is, DHParameters& _d);
57 
61  friend ostream& operator<<(ostream& _os, const DHParameters& _d);
62 
66 
67  double m_alpha;
68  double m_a;
69  double m_d;
70  double m_theta;
71 
73 
74 };
75 
76 #endif
ostream & operator<<(ostream &_os, const Cfg &_cfg)
Definition: Cfg.cpp:1280
istream & operator>>(istream &_is, Cfg &_cfg)
Definition: Cfg.cpp:1273
Definition: DHParameters.h:27
double m_theta
Angle between two z axis.
Definition: DHParameters.h:70
double m_a
Distance between two z axis.
Definition: DHParameters.h:68
double m_d
Algebraic distance along z axis.
Definition: DHParameters.h:69
double m_alpha
Angle between two x axis.
Definition: DHParameters.h:67
Definition: Cfg.h:23