Biorbd Release_1.13.0
Loading...
Searching...
No Matches
GeneralizedVelocity.cpp
1#define BIORBD_API_EXPORTS
2#include "RigidBody/GeneralizedVelocity.h"
3
4#include "RigidBody/Joints.h"
5
6using namespace BIORBD_NAMESPACE;
7
9
11 : utils::Vector(nbQdot) {}
12
15
19
21 const RigidBodyDynamics::Math::VectorNd &v)
22 : utils::Vector(v) {}
23
24#ifdef BIORBD_USE_CASADI_MATH
25
27 : utils::Vector(v) {}
28
29#endif
30
32
36
37#ifdef BIORBD_USE_CASADI_MATH
38
40 const RBDLCasadiMath::MX_Xd_SubMatrix &other) {
41 this->utils::Vector::operator=(other);
42}
43
44void rigidbody::GeneralizedVelocity::operator=(const casadi::MX &other) {
45 this->utils::Vector::operator=(other);
46}
47
48#endif
void operator=(const utils::Vector &other)
operator= For submatrices
virtual ~GeneralizedVelocity()
Destroy the class properly.
GeneralizedVelocity()
Construct generalized velocity vector.
This is the core of the musculoskeletal model in biorbd.
Definition Joints.h:48
Wrapper of the Eigen VectorXd.
Definition Vector.h:21
Vector()
Construct vector.
Definition Vector.cpp:10
void operator=(const Vector &other)
operator= For submatrices
Definition Vector.cpp:83