OpenWalker Project
Documentation of the ROS Packages
joint_position.h
Go to the documentation of this file.
1 
34 #ifndef OPEN_WALKER_CORE_JOINT_POSITION_H
35 #define OPEN_WALKER_CORE_JOINT_POSITION_H
36 
37 #include <Eigen/Dense>
38 #include <ow_core/vector_dof.h>
39 
40 namespace ow_core
41 {
49 template <typename _Scalar, int _Rows>
51  public VectorDof<_Scalar, _Rows>
52 {
53 public:
54  typedef _Scalar Scalar;
55 
56  enum
57  {
58  Rows = _Rows,
59  };
60 
62 
63 public:
67  explicit JointPosition()
68  {}
69 
76  template<typename OtherDerived>
77  JointPosition(const Eigen::EigenBase<OtherDerived>& other) :
78  Base(other)
79  {}
80 
84  using Base::operator=;
85 
86 };
87 
88 } // namespace ow_core
89 
90 
91 #endif // OPEN_WALKER_CORE_JOINT_POSITION_H
JointPosition(const Eigen::EigenBase< OtherDerived > &other)
Copy constructor.
Definition: joint_position.h:77
JointPosition()
Default Constructor.
Definition: joint_position.h:67
The JointPosition class.
Definition: joint_position.h:50
The VectorDof class.
Definition: vector_dof.h:49
Definition: angular_acceleration.h:39