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

Class GeneralizedTorque. More...

#include <GeneralizedTorque.h>

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

Public Member Functions

 GeneralizedTorque ()
 Construct generalized torque.
 GeneralizedTorque (size_t nTorque)
 Construct generalized torque of dimension nTorque.
 GeneralizedTorque (const Joints &j)
 Construct generalized torque from a joint model.
 GeneralizedTorque (const GeneralizedTorque &other)
 Construct generalized torque from anoter Generalized torque.
 GeneralizedTorque (const RigidBodyDynamics::Math::VectorNd &v)
 Construct vector from Casadi vector.
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 GeneralizedTorque.

Definition at line 15 of file GeneralizedTorque.h.

Constructor & Destructor Documentation

◆ GeneralizedTorque() [1/5]

rigidbody::GeneralizedTorque::GeneralizedTorque ( )

Construct generalized torque.

Definition at line 8 of file GeneralizedTorque.cpp.

◆ GeneralizedTorque() [2/5]

rigidbody::GeneralizedTorque::GeneralizedTorque ( size_t nTorque)

Construct generalized torque of dimension nTorque.

Parameters
nTorquePosition of the vector

Definition at line 10 of file GeneralizedTorque.cpp.

◆ GeneralizedTorque() [3/5]

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

Construct generalized torque from a joint model.

Parameters
jThe joint model

Definition at line 13 of file GeneralizedTorque.cpp.

◆ GeneralizedTorque() [4/5]

rigidbody::GeneralizedTorque::GeneralizedTorque ( const GeneralizedTorque & other)

Construct generalized torque from anoter Generalized torque.

Parameters
otherThe other generalized torque

Definition at line 16 of file GeneralizedTorque.cpp.

◆ GeneralizedTorque() [5/5]

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

Construct vector from Casadi vector.

Parameters
vThe vector to copy

Definition at line 20 of file GeneralizedTorque.cpp.

Member Function Documentation

◆ operator=()

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

operator= For submatrices

Parameters
otherThe vector to copy

Definition at line 31 of file GeneralizedTorque.cpp.


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