Biorbd
|
Class GeneralizedCoordinates. More...
#include <GeneralizedCoordinates.h>
Public Member Functions | |
GeneralizedCoordinates () | |
Construct generalized coordinates. More... | |
GeneralizedCoordinates (unsigned int nbQ) | |
Create generalized coordinates of dimension nbQ. More... | |
GeneralizedCoordinates (const biorbd::rigidbody::Joints &j) | |
Create generalized coordinates from a joint Model. More... | |
GeneralizedCoordinates (const biorbd::rigidbody::GeneralizedCoordinates &Q) | |
Construct generalized coordinates. More... | |
GeneralizedCoordinates (const RigidBodyDynamics::Math::VectorNd &v) | |
Construct vector from Casadi vector. More... | |
virtual | ~GeneralizedCoordinates () |
Destroy the class properly. | |
void | operator= (const biorbd::utils::Vector &other) |
operator= For submatrices More... | |
![]() | |
Vector () | |
Construct vector. | |
Vector (unsigned int size) | |
Construct vector of dimension size. More... | |
Vector (const biorbd::utils::Vector &other) | |
Construct vector from Casadi vector. More... | |
Vector (const RigidBodyDynamics::Math::VectorNd &other) | |
Construct vector from Casadi vector. More... | |
Vector (const biorbd::utils::Vector3d &other) | |
Construct vector from Casadi matrix. More... | |
biorbd::utils::Scalar | norm (unsigned int p=2, bool skipRoot=false) const |
Return the Euclidian p-norm of the vector. More... | |
biorbd::utils::Vector | normGradient (unsigned int p=2, bool skipRoot=false) |
Return the gradient of the p-norm. More... | |
void | operator= (const biorbd::utils::Vector &other) |
operator= For submatrices More... | |
Class GeneralizedCoordinates.
Definition at line 14 of file GeneralizedCoordinates.h.
biorbd::rigidbody::GeneralizedCoordinates::GeneralizedCoordinates | ( | ) |
Construct generalized coordinates.
Definition at line 6 of file GeneralizedCoordinates.cpp.
biorbd::rigidbody::GeneralizedCoordinates::GeneralizedCoordinates | ( | unsigned int | nbQ | ) |
Create generalized coordinates of dimension nbQ.
nbQ | number of degrees-of-freedom |
Definition at line 11 of file GeneralizedCoordinates.cpp.
biorbd::rigidbody::GeneralizedCoordinates::GeneralizedCoordinates | ( | const biorbd::rigidbody::Joints & | j | ) |
Create generalized coordinates from a joint Model.
j | The joint model |
Definition at line 18 of file GeneralizedCoordinates.cpp.
biorbd::rigidbody::GeneralizedCoordinates::GeneralizedCoordinates | ( | const biorbd::rigidbody::GeneralizedCoordinates & | Q | ) |
Construct generalized coordinates.
Q | State vector of the internal joints |
Definition at line 24 of file GeneralizedCoordinates.cpp.
biorbd::rigidbody::GeneralizedCoordinates::GeneralizedCoordinates | ( | const RigidBodyDynamics::Math::VectorNd & | v | ) |
Construct vector from Casadi vector.
v | The vector to copy |
Definition at line 31 of file GeneralizedCoordinates.cpp.
void biorbd::rigidbody::GeneralizedCoordinates::operator= | ( | const biorbd::utils::Vector & | other | ) |
operator= For submatrices
other | The vector to copy |
Definition at line 54 of file GeneralizedCoordinates.cpp.