Borrowed objective descriptor for COPP solvers. More...
#include <formulation.h>
Data Fields | |
| enum CoppObjectiveKind | kind |
| Objective kind. | |
| double | weight |
| Objective weight. | |
| struct CoppSliceF64 | alpha |
| Linear objective coefficient for variable a. | |
| struct CoppSliceF64 | beta |
| Linear objective coefficient for variable b. | |
| struct CoppSliceF64 | normalize |
| Torque objective normalization vector. | |
Borrowed objective descriptor for COPP solvers.
For Time, only weight is used. For Linear, alpha and beta are interpreted by each solver family: COPP2 uses node-based alpha and interval-based beta, while COPP3 uses node-based alpha and node-based beta. For ThermalEnergy and TotalVariationTorque, normalize must have length equal to the robot dimension. Torque is evaluated through the robot's stored inverse-dynamics callback when provided, otherwise by the default point model (tau = ddq).
| enum CoppObjectiveKind CoppObjective::kind |
Objective kind.
| double CoppObjective::weight |
Objective weight.
| struct CoppSliceF64 CoppObjective::alpha |
Linear objective coefficient for variable a.
| struct CoppSliceF64 CoppObjective::beta |
Linear objective coefficient for variable b.
| struct CoppSliceF64 CoppObjective::normalize |
Torque objective normalization vector.