Biorbd
GeneralizedVelocity.cpp
1 #define BIORBD_API_EXPORTS
2 #include "RigidBody/GeneralizedVelocity.h"
3 
4 #include "RigidBody/Joints.h"
5 
7 {
8 
9 }
10 
12  unsigned int nbQdot) :
13  biorbd::utils::Vector(nbQdot)
14 {
15 
16 }
17 
19  const biorbd::rigidbody::Joints &j) :
20  biorbd::utils::Vector(j.nbQdot()){
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 
49 
51 {
52 
53 }
54 
56  const biorbd::utils::Vector &other)
57 {
59 }
60 
61 #ifdef BIORBD_USE_CASADI_MATH
62 
64  const RBDLCasadiMath::MX_Xd_SubMatrix &other)
65 {
67 }
68 
70  const casadi::MX &other)
71 {
73 }
74 
75 #endif
biorbd::utils::Vector::operator=
void operator=(const biorbd::utils::Vector &other)
operator= For submatrices
Definition: Vector.cpp:105
biorbd::utils::Vector
Wrapper of the Eigen VectorXd.
Definition: Vector.h:20
biorbd::rigidbody::GeneralizedVelocity::~GeneralizedVelocity
virtual ~GeneralizedVelocity()
Destroy the class properly.
Definition: GeneralizedVelocity.cpp:50
biorbd::rigidbody::Joints
This is the core of the musculoskeletal model in biorbd.
Definition: Joints.h:40
biorbd::rigidbody::GeneralizedVelocity::operator=
void operator=(const biorbd::utils::Vector &other)
operator= For submatrices
Definition: GeneralizedVelocity.cpp:55
biorbd::rigidbody::GeneralizedVelocity::GeneralizedVelocity
GeneralizedVelocity()
Construct generalized velocity vector.
Definition: GeneralizedVelocity.cpp:6
biorbd::rigidbody::GeneralizedVelocity
Class GeneralizedVelocity.
Definition: GeneralizedVelocity.h:15