|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Configuration for glove constraints. More...
#include <glove_utils.h>
Public Attributes | |
| float | positionWeight = 1.0f |
| Weight for position constraints between glove and finger joints. | |
| float | orientationWeight = 1.0f |
| Weight for orientation constraints between glove and finger joints. | |
| std::array< std::string, 2 > | wristJointNames = {"l_wrist", "r_wrist"} |
| Names of the left and right wrist joints in the skeleton. | |
Configuration for glove constraints.
Controls how glove data is integrated into the solver, including constraint weights and which wrist joints to attach glove bones to.
Definition at line 55 of file glove_utils.h.
| float momentum::GloveConfig::orientationWeight = 1.0f |
Weight for orientation constraints between glove and finger joints.
Scaled internally by OrientationErrorFunction::kLegacyWeight for consistency with marker constraint weighting.
Definition at line 64 of file glove_utils.h.
Referenced by momentum::setupGloveErrorFunctions().
| float momentum::GloveConfig::positionWeight = 1.0f |
Weight for position constraints between glove and finger joints.
Scaled internally by PositionErrorFunction::kLegacyWeight for consistency with marker constraint weighting.
Definition at line 59 of file glove_utils.h.
Referenced by momentum::setupGloveErrorFunctions().
| std::array<std::string, 2> momentum::GloveConfig::wristJointNames = {"l_wrist", "r_wrist"} |
Names of the left and right wrist joints in the skeleton.
Definition at line 67 of file glove_utils.h.
Referenced by momentum::addGloveBones(), momentum::addGloveCalibrationParameters(), momentum::createGloveOrientationConstraintData(), momentum::createGlovePositionConstraintData(), momentum::extractGloveOffsetsFromCharacter(), and momentum::setupGloveErrorFunctions().