Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::JointToJointSequenceConstraintT< T > Struct Template Reference

Constraint data for the joint-to-joint sequence error function. More...

#include <joint_to_joint_sequence_error_function.h>

Public Attributes

size_t sourceJoint = kInvalidIndex
 Index of the source joint (the joint whose relative pose we track).
size_t referenceJoint = kInvalidIndex
 Index of the reference joint (the frame of reference).
T weight = T(1)
 Weight for this constraint.
std::string name = {}
 Name of the constraint (for debugging).

Detailed Description

template<typename T>
struct momentum::JointToJointSequenceConstraintT< T >

Constraint data for the joint-to-joint sequence error function.

Describes a pair of joints whose relative transform should remain stable across consecutive frames.

Definition at line 25 of file joint_to_joint_sequence_error_function.h.

Member Data Documentation

◆ name

template<typename T>
std::string momentum::JointToJointSequenceConstraintT< T >::name = {}

Name of the constraint (for debugging).

Definition at line 36 of file joint_to_joint_sequence_error_function.h.

Referenced by momentum::JointToJointSequenceErrorFunctionT< T >::addConstraint().

◆ referenceJoint

template<typename T>
size_t momentum::JointToJointSequenceConstraintT< T >::referenceJoint = kInvalidIndex

◆ sourceJoint

template<typename T>
size_t momentum::JointToJointSequenceConstraintT< T >::sourceJoint = kInvalidIndex

Index of the source joint (the joint whose relative pose we track).

Definition at line 27 of file joint_to_joint_sequence_error_function.h.

Referenced by momentum::JointToJointSequenceErrorFunctionT< T >::addConstraint(), and momentum::JointToJointSequenceErrorFunctionT< T >::addConstraint().

◆ weight

template<typename T>
T momentum::JointToJointSequenceConstraintT< T >::weight = T(1)

Weight for this constraint.

Definition at line 33 of file joint_to_joint_sequence_error_function.h.

Referenced by momentum::JointToJointSequenceErrorFunctionT< T >::addConstraint().


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