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

Borrowed value descriptor for a TOPP2 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.

Detailed Description

Borrowed value descriptor for a TOPP2 problem solved from C.

This is not an owning handle. robot is borrowed only during TOPP2 solver calls such as topp2_ra and copp_reach_set2_*, and no pointer is stored after the call returns.

Refactor it after the C solver flow is validated.

Field Documentation

◆ robot

const struct CoppRobot* Topp2Problem::robot

Robot handle that owns the station-indexed constraint storage.

◆ idx_s_start

size_t Topp2Problem::idx_s_start

Closed start station index.

◆ idx_s_final

size_t Topp2Problem::idx_s_final

Closed final station index.

◆ a_start

double Topp2Problem::a_start

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

◆ a_final

double Topp2Problem::a_final

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


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