COPP C++ API
C++ interface for COPP trajectory optimization
Loading...
Searching...
No Matches
objective.hpp File Reference
#include <initializer_list>
#include <utility>
#include <vector>
#include "copp/core.hpp"

Go to the source code of this file.

Classes

class  copp::Objective
 Owning objective descriptor used by C++ COPP solver problem objects. More...

Namespaces

namespace  copp
 Root namespace for the C++ facade: paths, robots, constraints, matrices, profiles, errors, objectives, interpolation, and solver entry points.
namespace  copp::objective
 Python-like factory namespace for constructing COPP objective descriptors such as time, linear, thermal-energy, and torque-variation costs.

Enumerations

enum class  copp::ObjectiveKind { copp::Time = 0 , copp::Linear = 1 , copp::ThermalEnergy = 2 , copp::TotalVariationTorque = 3 }
 Objective kinds accepted by COPP optimization solvers. More...

Functions

Objective copp::objective::Time (double weight=1.0)
Objective copp::objective::Linear (double weight, Span< const double > alpha, Span< const double > beta)
Objective copp::objective::Linear (double weight, std::initializer_list< double > alpha, std::initializer_list< double > beta)
Objective copp::objective::ThermalEnergy (double weight, Span< const double > normalize)
Objective copp::objective::ThermalEnergy (double weight, std::initializer_list< double > normalize)
Objective copp::objective::TotalVariationTorque (double weight, Span< const double > normalize)
Objective copp::objective::TotalVariationTorque (double weight, std::initializer_list< double > normalize)