Biorbd Release_1.13.0
Loading...
Searching...
No Matches
BIORBD_NAMESPACE::rigidbody::GeneralizedCoordinates Class Reference

Class GeneralizedCoordinates. More...

#include <GeneralizedCoordinates.h>

Inheritance diagram for BIORBD_NAMESPACE::rigidbody::GeneralizedCoordinates:
BIORBD_NAMESPACE::utils::Vector

Public Member Functions

 GeneralizedCoordinates ()
 Construct generalized coordinates.
 GeneralizedCoordinates (size_t nbQ)
 Create generalized coordinates of dimension nbQ.
 GeneralizedCoordinates (const Joints &j)
 Create generalized coordinates from a joint Model.
 GeneralizedCoordinates (const GeneralizedCoordinates &Q)
 Construct generalized coordinates.
 GeneralizedCoordinates (const RigidBodyDynamics::Math::VectorNd &v)
 Construct vector from Casadi vector.
virtual ~GeneralizedCoordinates ()
 Destroy the class properly.
void operator= (const utils::Vector &other)
 operator= For submatrices
Public Member Functions inherited from BIORBD_NAMESPACE::utils::Vector
 Vector ()
 Construct vector.
 Vector (size_t size)
 Construct vector of dimension size.
 Vector (const Vector &other)
 Construct vector from Casadi vector.
 Vector (const RigidBodyDynamics::Math::VectorNd &other)
 Construct vector from Casadi vector.
 Vector (const Vector3d &other)
 Construct vector from Casadi matrix.
Scalar norm (size_t p=2, bool skipRoot=false) const
 Return the Euclidian p-norm of the vector.
Vector normGradient (size_t p=2, bool skipRoot=false)
 Return the gradient of the p-norm.
void operator= (const Vector &other)
 operator= For submatrices

Detailed Description

Class GeneralizedCoordinates.

Definition at line 15 of file GeneralizedCoordinates.h.

Constructor & Destructor Documentation

◆ GeneralizedCoordinates() [1/5]

rigidbody::GeneralizedCoordinates::GeneralizedCoordinates ( )

Construct generalized coordinates.

Definition at line 8 of file GeneralizedCoordinates.cpp.

◆ GeneralizedCoordinates() [2/5]

rigidbody::GeneralizedCoordinates::GeneralizedCoordinates ( size_t nbQ)

Create generalized coordinates of dimension nbQ.

Parameters
nbQnumber of degrees-of-freedom

Definition at line 10 of file GeneralizedCoordinates.cpp.

◆ GeneralizedCoordinates() [3/5]

rigidbody::GeneralizedCoordinates::GeneralizedCoordinates ( const Joints & j)

Create generalized coordinates from a joint Model.

Parameters
jThe joint model

Definition at line 13 of file GeneralizedCoordinates.cpp.

◆ GeneralizedCoordinates() [4/5]

rigidbody::GeneralizedCoordinates::GeneralizedCoordinates ( const GeneralizedCoordinates & Q)

Construct generalized coordinates.

Parameters
QState vector of the internal joints

Definition at line 17 of file GeneralizedCoordinates.cpp.

◆ GeneralizedCoordinates() [5/5]

rigidbody::GeneralizedCoordinates::GeneralizedCoordinates ( const RigidBodyDynamics::Math::VectorNd & v)

Construct vector from Casadi vector.

Parameters
vThe vector to copy

Definition at line 21 of file GeneralizedCoordinates.cpp.

◆ ~GeneralizedCoordinates()

rigidbody::GeneralizedCoordinates::~GeneralizedCoordinates ( )
virtual

Destroy the class properly.

Definition at line 32 of file GeneralizedCoordinates.cpp.

Member Function Documentation

◆ operator=()

void rigidbody::GeneralizedCoordinates::operator= ( const utils::Vector & other)

operator= For submatrices

Parameters
otherThe vector to copy

Definition at line 34 of file GeneralizedCoordinates.cpp.


The documentation for this class was generated from the following files: