Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
parameter_limits.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  momentum

Functions

std::string_view momentum::toString (const LimitType type)
JointParameters momentum::applyPassiveJointParameterLimits (const ParameterLimits &limits, const JointParameters &jointParams)
 Only processes MinMaxJointPassive limits, clamping parameters to their ranges.
ParameterLimits momentum::getPoseConstraintParameterLimits (const std::string &name, const ParameterTransform &pt, float weight=1.0f)
 Creates MinMax limits from a pose constraint.
bool momentum::isInRange (const LimitLinear &limit, float value)
 If rangeMin and rangeMax are both 0, the limit applies to all values.
bool momentum::isInRange (const LimitLinearJoint &limit, float value)
 If rangeMin and rangeMax are both 0, the limit applies to all values.