- 3.0.2 rigid body dynamics module.
EndEffector.h
Go to the documentation of this file.
1 /**********************************************************************************************************************
2 This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
3 Licensed under the BSD-2 license (see LICENSE file in main directory)
4 **********************************************************************************************************************/
5 
6 #pragma once
7 
10 
11 namespace ct {
12 namespace rbd {
13 
14 template <size_t NJOINTS, typename SCALAR = double>
16 {
17 public:
18  typedef Eigen::Matrix<SCALAR, 6, NJOINTS> jacobian_t;
20 
21  EndEffector();
22 
23  virtual ~EndEffector();
24 
25  EndEffector(const EndEffector& other);
26 
31  const size_t& getLinkId();
32 
37  void setLinkId(size_t linkId); // we should not have this public
38 
39 private:
40  // id of the link that the endeffector is on
41  size_t linkId_;
42 };
43 
44 } /* namespace rbd */
45 } /* namespace ct */
Eigen::Matrix< SCALAR, 6, NJOINTS > jacobian_t
Definition: EndEffector.h:18
const size_t & getLinkId()
Return the ID of the link to which the end-effector is rigidly attached to.
Definition: EndEffector-impl.h:27
joint state and joint velocity
Definition: JointState.h:21
virtual ~EndEffector()
Definition: EndEffector-impl.h:17
JointState< NJOINTS >::Position joint_position_t
Definition: EndEffector.h:19
EndEffector()
Definition: EndEffector-impl.h:12
void setLinkId(size_t linkId)
DO NOT USE. Set the link id on which an endeffector is on
Definition: EndEffector-impl.h:33
Definition: EndEffector.h:15