AGX Dynamics  2.37.3.2
agxModel::IDJointValue Struct Reference

Struct holding information about a joint. More...

#include <InverseDynamics.h>

Public Attributes

agx::UInt32 angleIndex
 
agx::UInt32 jointIndex
 
agx::Real value
 

Detailed Description

Struct holding information about a joint.

Instances of this struct are used to store resulting forces from inverse dynamics computations.

The jointIndex value in the struct corresponds to the constraint index in the input data. If all input constraints are acting on input bodies, then indices will match 1-to-1. If some constraint is considered invalid, the indices will be different compared to the structure given to the InverseDynamics constructor.

To get the matching constraint for the data, the safest way to do so is:

inverseDynamics->getSourceData()->getConstraints()[ jointIndex ]

Definition at line 95 of file InverseDynamics.h.

Member Data Documentation

◆ angleIndex

agx::UInt32 agxModel::IDJointValue::angleIndex

Definition at line 97 of file InverseDynamics.h.

◆ jointIndex

agx::UInt32 agxModel::IDJointValue::jointIndex

Definition at line 96 of file InverseDynamics.h.

◆ value

agx::Real agxModel::IDJointValue::value

Definition at line 98 of file InverseDynamics.h.


The documentation for this struct was generated from the following file: