Biorbd Release_1.13.0
Loading...
Searching...
No Matches
GeneralizedCoordinates.cpp
1#define BIORBD_API_EXPORTS
2#include "RigidBody/GeneralizedCoordinates.h"
3
4#include "RigidBody/Joints.h"
5
6using namespace BIORBD_NAMESPACE;
7
9
12
16
20
22 const RigidBodyDynamics::Math::VectorNd &v)
23 : utils::Vector(v) {}
24
25#ifdef BIORBD_USE_CASADI_MATH
26
28 : utils::Vector(v) {}
29
30#endif
31
33
37
38#ifdef BIORBD_USE_CASADI_MATH
39
41 const RBDLCasadiMath::MX_Xd_SubMatrix &other) {
42 this->utils::Vector::operator=(other);
43}
44
45void rigidbody::GeneralizedCoordinates::operator=(const casadi::MX &other) {
46 this->utils::Vector::operator=(other);
47}
48
49#endif
virtual ~GeneralizedCoordinates()
Destroy the class properly.
void operator=(const utils::Vector &other)
operator= For submatrices
GeneralizedCoordinates()
Construct generalized coordinates.
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