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

Diagnostics recorded while constructing a tolerance-fitted waypoint path. More...

#include <path.h>

Data Fields

struct CoppVecUsize axes
 Selected 0-based input-row indices, in tolerance/report order.
size_t segments
 Number of final polynomial spans shared by the selected axes.
size_t interpolated_segments
 Number of spans in the separate unselected-axis interpolant.
size_t refinements
 Number of completed local knot-refinement passes.
size_t fitting_rows
 Number of discrete or quadrature fitting rows assembled, counting rows assembled again during local refits.
size_t checked_intervals
 Number of reference-polyline intervals visited by numerical audits, including revisits and the final full audit.
struct CoppVecF64 max_errors
 Final whole-domain absolute-error bound for each selected axis.

Detailed Description

Diagnostics recorded while constructing a tolerance-fitted waypoint path.

Obtain this report with copp_path_smoothing_report. axes, segments, and interpolated_segments describe the final representation, while refinements, fitting_rows, and checked_intervals are cumulative work counters. None of these values is an optimality or run-time guarantee. Both vectors are library-owned and must be released together with copp_smoothing_report_free.

This report type is currently unstable: its fields and layout may change as additional waypoint path-construction algorithms are introduced.

Definition at line 585 of file path.h.

Field Documentation

◆ axes

struct CoppVecUsize CoppSmoothingReport::axes

Selected 0-based input-row indices, in tolerance/report order.

Definition at line 589 of file path.h.

◆ segments

size_t CoppSmoothingReport::segments

Number of final polynomial spans shared by the selected axes.

Definition at line 593 of file path.h.

◆ interpolated_segments

size_t CoppSmoothingReport::interpolated_segments

Number of spans in the separate unselected-axis interpolant.

This is zero when every row is selected and is not included in segments or the max_segments budget.

Definition at line 600 of file path.h.

◆ refinements

size_t CoppSmoothingReport::refinements

Number of completed local knot-refinement passes.

Definition at line 604 of file path.h.

◆ fitting_rows

size_t CoppSmoothingReport::fitting_rows

Number of discrete or quadrature fitting rows assembled, counting rows assembled again during local refits.

Definition at line 609 of file path.h.

◆ checked_intervals

size_t CoppSmoothingReport::checked_intervals

Number of reference-polyline intervals visited by numerical audits, including revisits and the final full audit.

Definition at line 614 of file path.h.

◆ max_errors

struct CoppVecF64 CoppSmoothingReport::max_errors

Final whole-domain absolute-error bound for each selected axis.

Values are in input units and follow axes order. They are Bernstein-derived numerical bounds computed with ordinary floating-point arithmetic, not sampled maxima or formal certificates.

Definition at line 622 of file path.h.


The documentation for this struct was generated from the following file:
  • bindings/c/include/copp/path.h