Biorbd
Public Member Functions | List of all members
biorbd::rigidbody::GeneralizedVelocity Class Reference

Class GeneralizedVelocity. More...

#include <GeneralizedVelocity.h>

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

Public Member Functions

 GeneralizedVelocity ()
 Construct generalized velocity vector. More...
 
 GeneralizedVelocity (unsigned int nbQdot)
 Create generalized velocity vector of dimension nbQdot. More...
 
 GeneralizedVelocity (const biorbd::rigidbody::Joints &j)
 Create generalized velocity vector from a joint Model. More...
 
 GeneralizedVelocity (const biorbd::rigidbody::GeneralizedVelocity &Q)
 Construct generalized velocity vector. More...
 
 GeneralizedVelocity (const RigidBodyDynamics::Math::VectorNd &v)
 Construct vector from Casadi vector. More...
 
virtual ~GeneralizedVelocity ()
 Destroy the class properly.
 
void operator= (const biorbd::utils::Vector &other)
 operator= For submatrices More...
 
- Public Member Functions inherited from biorbd::utils::Vector
 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...
 

Detailed Description

Class GeneralizedVelocity.

Definition at line 14 of file GeneralizedVelocity.h.

Constructor & Destructor Documentation

◆ GeneralizedVelocity() [1/5]

biorbd::rigidbody::GeneralizedVelocity::GeneralizedVelocity ( )

Construct generalized velocity vector.

Definition at line 6 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [2/5]

biorbd::rigidbody::GeneralizedVelocity::GeneralizedVelocity ( unsigned int  nbQdot)

Create generalized velocity vector of dimension nbQdot.

Parameters
nbQdotnumber of degrees-of-freedom

Definition at line 11 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [3/5]

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

Create generalized velocity vector from a joint Model.

Parameters
jThe joint model

Definition at line 18 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [4/5]

biorbd::rigidbody::GeneralizedVelocity::GeneralizedVelocity ( const biorbd::rigidbody::GeneralizedVelocity Q)

Construct generalized velocity vector.

Parameters
QState vector of the internal joints

Definition at line 24 of file GeneralizedVelocity.cpp.

◆ GeneralizedVelocity() [5/5]

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

Construct vector from Casadi vector.

Parameters
vThe vector to copy

Definition at line 31 of file GeneralizedVelocity.cpp.

Member Function Documentation

◆ operator=()

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

operator= For submatrices

Parameters
otherThe vector to copy

Definition at line 55 of file GeneralizedVelocity.cpp.


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