OpenWalker Project
Documentation of the ROS Packages
joint_effort.h
Go to the documentation of this file.
1 
34 #ifndef OPEN_WALKER_CORE_JOINT_EFFORT_H
35 #define OPEN_WALKER_CORE_JOINT_EFFORT_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>
50 class JointEffort :
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 JointEffort()
68  {}
69 
76  template<typename OtherDerived>
77  JointEffort(const Eigen::EigenBase<OtherDerived>& other) :
78  Base(other)
79  {}
80 
84  using Base::operator=;
85 
86 
87 };
88 
89 } // namespace ow_core
90 
91 
92 #endif // OPEN_WALKER_CORE_JOINT_EFFORT_H
The VectorDof class.
Definition: vector_dof.h:49
JointEffort(const Eigen::EigenBase< OtherDerived > &other)
Copy constructor.
Definition: joint_effort.h:77
Definition: angular_acceleration.h:39
JointEffort()
Default Constructor.
Definition: joint_effort.h:67
The JointEffort class.
Definition: joint_effort.h:50