COPP C ABI
C interface for COPP trajectory optimization
Loading...
Searching...
No Matches
Copp2Problem Struct Reference

Borrowed value descriptor for a COPP2 problem solved from C. More...

#include <formulation.h>

Data Fields

const struct CoppRobotrobot
 Robot handle that owns the station-indexed constraint storage.
size_t idx_s_start
 Closed start station index.
size_t idx_s_final
 Closed final station index.
double a_start
 Boundary value a(idx_s_start) = (ds/dt)^2.
double a_final
 Boundary value a(idx_s_final) = (ds/dt)^2.
const struct CoppObjectiveobjectives
 Objective descriptor array.
size_t num_objectives
 Number of objective descriptors.

Detailed Description

Borrowed value descriptor for a COPP2 problem solved from C.

This is not an owning handle. robot and objectives are borrowed only during the solver call, and the solver does not store those pointers after the call returns.

Field Documentation

◆ robot

const struct CoppRobot* Copp2Problem::robot

Robot handle that owns the station-indexed constraint storage.

◆ idx_s_start

size_t Copp2Problem::idx_s_start

Closed start station index.

◆ idx_s_final

size_t Copp2Problem::idx_s_final

Closed final station index.

◆ a_start

double Copp2Problem::a_start

Boundary value a(idx_s_start) = (ds/dt)^2.

◆ a_final

double Copp2Problem::a_final

Boundary value a(idx_s_final) = (ds/dt)^2.

◆ objectives

const struct CoppObjective* Copp2Problem::objectives

Objective descriptor array.

◆ num_objectives

size_t Copp2Problem::num_objectives

Number of objective descriptors.


The documentation for this struct was generated from the following file: