|
opynsim
Unofficial C++ Documentation
|
#include <inverse_kinematics.h>
Public Member Functions | |
| template<typename U > requires std::constructible_from<T, U> | |
| IKMeasurements (const Symbol &model_component, U &&value, double time=0.0, double weight=1.0) | |
| IKMeasurements (const Symbol &model_component, std::vector< double > times, std::vector< T > values) | |
| IKMeasurements (const Symbol &model_component, std::vector< double > times, std::vector< T > values, std::vector< double > weights) | |
| const Symbol & | model_component () const |
| size_t | size () const |
| Returns the number of measurements in the sequence. | |
| double | time (size_t i) const |
Returns the measurement time of the ith measurement in the sequence. | |
| const T & | value (size_t i) const |
Returns the value of the ith measurement in the sequence. | |
| double | weight (size_t i) const |
Returns the weight of the ith measurement in the sequence. | |
Represents a sequence of IK measurements associated to one component in the model.
|
inlineexplicit |
Constructs a single-element measurement sequence associated with model_component with given value, time, and weight.
|
inlineexplicit |
Constructs a measurement sequence associated with model_component of values at times, where all values have equal weight (1.0).
The number of times must be equal to the number of values.
|
inlineexplicit |
Constructs a measurement sequence associated with model_component of values at times with weights.
The number of times, values, and weights must be equal.
|
inline |
Returns a Symbol that can be used to look up the component in the model that's associated with these measurements.
|
inline |
Returns the number of measurements in the sequence.
|
inline |
Returns the measurement time of the ith measurement in the sequence.
|
inline |
Returns the value of the ith measurement in the sequence.
|
inline |
Returns the weight of the ith measurement in the sequence.