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

Class GeneralizedVelocity. More...

#include <GeneralizedVelocity.h>

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

Public Member Functions

 GeneralizedVelocity ()
 Construct generalized velocity vector.
 GeneralizedVelocity (size_t nbQdot)
 Create generalized velocity vector of dimension nbQdot.
 GeneralizedVelocity (const Joints &j)
 Create generalized velocity vector from a joint Model.
 GeneralizedVelocity (const GeneralizedVelocity &Q)
 Construct generalized velocity vector.
 GeneralizedVelocity (const RigidBodyDynamics::Math::VectorNd &v)
 Construct vector from Casadi vector.
virtual ~GeneralizedVelocity ()
 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 GeneralizedVelocity.

Definition at line 15 of file GeneralizedVelocity.h.

Constructor & Destructor Documentation

◆ GeneralizedVelocity() [1/5]

rigidbody::GeneralizedVelocity::GeneralizedVelocity ( )

Construct generalized velocity vector.

Definition at line 8 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [2/5]

rigidbody::GeneralizedVelocity::GeneralizedVelocity ( size_t nbQdot)

Create generalized velocity vector of dimension nbQdot.

Parameters
nbQdotnumber of degrees-of-freedom

Definition at line 10 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [3/5]

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

Create generalized velocity vector from a joint Model.

Parameters
jThe joint model

Definition at line 13 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [4/5]

rigidbody::GeneralizedVelocity::GeneralizedVelocity ( const GeneralizedVelocity & Q)

Construct generalized velocity vector.

Parameters
QState vector of the internal joints

Definition at line 16 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [5/5]

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

Construct vector from Casadi vector.

Parameters
vThe vector to copy

Definition at line 20 of file GeneralizedVelocity.cpp.

◆ ~GeneralizedVelocity()

rigidbody::GeneralizedVelocity::~GeneralizedVelocity ( )
virtual

Destroy the class properly.

Definition at line 31 of file GeneralizedVelocity.cpp.

Member Function Documentation

◆ operator=()

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

operator= For submatrices

Parameters
otherThe vector to copy

Definition at line 33 of file GeneralizedVelocity.cpp.


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