#include <Statics.h>
Inheritance diagram for OSCAR::RRStatics:

Public Methods | |
| RRStatics (unsigned int dof, const String &linkCGandMassFile, const Vector3D &gravity=Vector3D(0.0, 0.0,-9.8)) | |
| RRStatics (unsigned int dof, const MatrixData &linkCGandMass, const Vector3D &gravity=Vector3D(0.0, 0.0,-9.8)) | |
| virtual | ~RRStatics () |
| virtual bool | GetGravityTorques (Vector &torques)=0 |
| bool | SetEEFJacobianTranspose (const Matrix *jacobianTranspose) |
| virtual bool | GetLoadTorques (const HandPose &eefLoad, Vector &torques) |
Protected Attributes | |
| unsigned int | DOF |
| MatrixData | linkCGmassData |
| Vector | gravity |
| Vector * | gravityTorques |
| const Matrix * | jt |
|
||||||||||||||||
|
Constructor.
# This file contains centers of gravity and masses for a 2-DOF planar robot.
|
|
||||||||||||||||
|
Constructor.
|
|
|
|
|
|
A pure virtual function for calculating the gravity torques.
Implemented in OSCAR::IDLagrange, OSCAR::IDNewtonEuler, and OSCAR::InverseDynamics. |
|
||||||||||||
|
Calculates the joint torques from the EEF load. Must call SetEEFJacobianTranspose(const Matrix* jacobianTranspose) to set the Jacobian transpose before calling this function.
|
|
|
Set the EEF Jacobian transpose. This is used to calculate joint torques due to EEF load. jacobianTranspose must be an nX6 matrix (The transpose of FULL Jacobian).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |