COPP C ABI
C interface for COPP trajectory optimization
Loading...
Searching...
No Matches
topp2.h
Go to the documentation of this file.
1#ifndef COPP_TOPP2_H
2#define COPP_TOPP2_H
3
4/*
5 * Generated by bindings/c/scripts/generate_headers.ps1.
6 * Do not edit by hand; update src/ffi/c and regenerate.
7 */
8
14
15#include <stddef.h>
16#include "copp/core.h"
17#include "copp/formulation.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
27
49
57
71enum CoppStatus topp2_ra(struct Topp2Problem problem,
72 struct Topp2RaOptions options,
73 struct CoppVecF64 *out_a);
74
93
112 struct Topp2RaOptions options,
113 struct CoppReachSet2Result *out_result);
114
132 struct Topp2RaOptions options,
133 struct CoppReachSet2Result *out_result);
134
144
146
147#ifdef __cplusplus
148}
149#endif
150
151#endif /* COPP_TOPP2_H */
Core status, memory, matrix, and shared solver option types.
TOPP/COPP problem descriptors, objectives, and profile ownership.
CoppStatus
C ABI status code returned by COPP FFI functions.
Definition core.h:34
CoppVerbosity
C ABI verbosity level for solver diagnostics.
Definition core.h:270
void copp_reach_set2_result_free(struct CoppReachSet2Result result)
Release a reachable-set result returned by COPP.
enum CoppStatus topp2_ra_default_options(struct Topp2RaOptions *out_options)
Write default TOPP2-RA options into out_options.
enum CoppStatus topp2_ra(struct Topp2Problem problem, struct Topp2RaOptions options, struct CoppVecF64 *out_a)
Solve a TOPP2-RA problem.
enum CoppStatus copp_reach_set2_bidirectional(struct Topp2Problem problem, struct Topp2RaOptions options, struct CoppReachSet2Result *out_result)
Compute bidirectional TOPP2 reachable intervals.
enum CoppStatus copp_reach_set2_backward(struct Topp2Problem problem, struct Topp2RaOptions options, struct CoppReachSet2Result *out_result)
Compute backward-only TOPP2 reachable intervals.
Reachable intervals returned by TOPP2 reachable-set construction.
Definition topp2.h:83
struct CoppVecF64 a_min
Lower reachable bound for each station.
Definition topp2.h:91
struct CoppVecF64 a_max
Upper reachable bound for each station.
Definition topp2.h:87
Library-owned f64 vector returned to C.
Definition core.h:743
Borrowed value descriptor for a TOPP2 problem solved from C.
Definition formulation.h:137
Options for TOPP2-RA reachability analysis.
Definition topp2.h:31
enum CoppVerbosity verbosity
Verbosity level for diagnostics.
Definition topp2.h:47
double a_cmp_abs_tol
Absolute tolerance for comparing interval bounds.
Definition topp2.h:39
double a_cmp_rel_tol
Relative tolerance for comparing interval bounds.
Definition topp2.h:43
double lp_feas_tol
Feasibility tolerance used by LP subproblems.
Definition topp2.h:35