- 3.0.2 rigid body dynamics module.
EndEffector-impl.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 
8 namespace ct {
9 namespace rbd {
10 
11 template <size_t NJOINTS, typename SCALAR>
13 {
14 }
15 
16 template <size_t NJOINTS, typename SCALAR>
18 {
19 }
20 
21 template <size_t NJOINTS, typename SCALAR>
22 EndEffector<NJOINTS, SCALAR>::EndEffector(const EndEffector& other) : linkId_(other.linkId_)
23 {
24 }
25 
26 template <size_t NJOINTS, typename SCALAR>
28 {
29  return linkId_;
30 }
31 
32 template <size_t NJOINTS, typename SCALAR>
34 {
35  linkId_ = linkId;
36 }
37 
38 } /* namespace rbd */
39 } /* namespace ct */
const size_t & getLinkId()
Return the ID of the link to which the end-effector is rigidly attached to.
Definition: EndEffector-impl.h:27
virtual ~EndEffector()
Definition: EndEffector-impl.h:17
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