Biorbd
GeneralizedCoordinates.cpp
1 #define BIORBD_API_EXPORTS
2 #include "RigidBody/GeneralizedCoordinates.h"
3 
4 #include "RigidBody/Joints.h"
5 
7 {
8 
9 }
10 
12  unsigned int nbQ) :
13  biorbd::utils::Vector(nbQ)
14 {
15 
16 }
17 
19  const biorbd::rigidbody::Joints &j) :
20  biorbd::utils::Vector(j.nbQ()){
21 
22 }
23 
26  biorbd::utils::Vector(Q)
27 {
28 
29 }
30 
32  const RigidBodyDynamics::Math::VectorNd &v) :
33  biorbd::utils::Vector (v)
34 {
35 
36 }
37 
38 #ifdef BIORBD_USE_CASADI_MATH
39 
41  const casadi::MX &v) :
42  biorbd::utils::Vector(v)
43 {
44 
45 }
46 
47 #endif
48 
50 {
51 
52 }
53 
55  const biorbd::utils::Vector &other)
56 {
58 }
59 
60 #ifdef BIORBD_USE_CASADI_MATH
61 
63  const RBDLCasadiMath::MX_Xd_SubMatrix &other)
64 {
66 }
67 
69  const casadi::MX &other)
70 {
72 }
73 
74 #endif
biorbd::utils::Vector::operator=
void operator=(const biorbd::utils::Vector &other)
operator= For submatrices
Definition: Vector.cpp:105
biorbd::rigidbody::GeneralizedCoordinates::GeneralizedCoordinates
GeneralizedCoordinates()
Construct generalized coordinates.
Definition: GeneralizedCoordinates.cpp:6
biorbd::rigidbody::GeneralizedCoordinates::operator=
void operator=(const biorbd::utils::Vector &other)
operator= For submatrices
Definition: GeneralizedCoordinates.cpp:54
biorbd::utils::Vector
Wrapper of the Eigen VectorXd.
Definition: Vector.h:20
biorbd::rigidbody::GeneralizedCoordinates
Class GeneralizedCoordinates.
Definition: GeneralizedCoordinates.h:15
biorbd::rigidbody::Joints
This is the core of the musculoskeletal model in biorbd.
Definition: Joints.h:40
biorbd::rigidbody::GeneralizedCoordinates::~GeneralizedCoordinates
virtual ~GeneralizedCoordinates()
Destroy the class properly.
Definition: GeneralizedCoordinates.cpp:49