weight
Input value for copp.objective.total_variation_torque. See Description for accepted shape and constraints.
objective = copp.objective.total_variation_torque(weight, normalize)
Returns a COPP objective that penalizes total variation of torque. This objective is supported by SOCP backends. NORMALIZE is a per-axis nonnegative vector with length dim=robot.dim; it may be 1-by-dim or \(\mathrm{dim} \times 1\) and is stored as a \(\mathrm{dim} \times 1\) double column.
weightInput value for copp.objective.total_variation_torque. See Description for accepted shape and constraints.
normalizeInput value for copp.objective.total_variation_torque. See Description for accepted shape and constraints.
objectiveReturned value from copp.objective.total_variation_torque. See Description for its shape and meaning.