Ravelin
RNEAlgorithm.h
1 /****************************************************************************
2  * Copyright 2006 Evan Drumwright
3  * This library is distributed under the terms of the Apache V2.0
4  * License (obtainable from http://www.apache.org/licenses/LICENSE-2.0).
5  ****************************************************************************/
6 
7 #ifndef RNE_ALGORITHM
8 #error This class is not to be included by the user directly. Use RNEAlgorithmd.h or RNEAlgorithmf.h instead.
9 #endif
10 
13 {
14  public:
15 
18 
21 };
22 
24 
28 {
29  public:
30  std::map<boost::shared_ptr<JOINT>, VECTORN> calc_inv_dyn(boost::shared_ptr<RC_ARTICULATED_BODY> body, const std::map<boost::shared_ptr<RIGIDBODY>, RCArticulatedBodyInvDynData>& inv_dyn_data);
31  void calc_constraint_forces(boost::shared_ptr<RC_ARTICULATED_BODY> body);
32 
33  private:
34  std::map<boost::shared_ptr<JOINT>, VECTORN> calc_inv_dyn_fixed_base(boost::shared_ptr<RC_ARTICULATED_BODY> body, const std::map<boost::shared_ptr<RIGIDBODY>, RCArticulatedBodyInvDynData>& inv_dyn_data) const;
35  std::map<boost::shared_ptr<JOINT>, VECTORN> calc_inv_dyn_floating_base(boost::shared_ptr<RC_ARTICULATED_BODY> body, const std::map<boost::shared_ptr<RIGIDBODY>, RCArticulatedBodyInvDynData>& inv_dyn_data) const;
36 };
37 
38 
SFORCE wext
External force applied to this link.
Definition: RNEAlgorithm.h:17
Implementation of the Recursive Newton-Euler algorithm for inverse dynamics.
Definition: RNEAlgorithm.h:27
VECTORN qdd
Inner joint acceleration (desired)
Definition: RNEAlgorithm.h:20
A generic N-dimensional floating point vector.
Definition: VectorN.h:16
Wrapper class for passing data to and from inverse dynamics algorithms.
Definition: RNEAlgorithm.h:12
A spatial force (a wrench)
Definition: SForce.h:14