OptimizationResult optimize()
SPFASmoothing(const core::GlobalTrajectory &trajectory, const algorithms::Costmap &costmap, const Params ¶ms)
io::SmoothingParams Params
This file is part of ArmarX.
std::vector< std::size_t > repairedWaypoints
Waypoints removed to repair a fold, in terms of the trajectory handed in.
float outputMinClearance
Smallest clearance [mm] on the trajectory handed back.
std::optional< core::GlobalTrajectory > trajectory
std::optional< core::GlobalTrajectory > preprocessedTrajectory
bool isGeometryValid
Whether the result is free of folds and degenerate segments.
bool judgedAgainstInput
The input was already inside the limit, so it was judged against itself.
float inputMinClearance
Smallest clearance [mm] on the trajectory handed in.