Metrics.h File Reference
#include <iosfwd>
#include <optional>
#include <string>
#include <vector>
#include <SimoxUtility/json/json.hpp>
#include <armarx/navigation/algorithms/Costmap.h>
#include <armarx/navigation/global_planning/GlobalPlanner.h>
#include "Sampling.h"

Classes

struct  Record
 What one planning request produced. More...
 

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
namespace  armarx::navigation
 This file is part of ArmarX.
 
namespace  armarx::navigation::evaluation
 This file is part of ArmarX.
 

Functions

Record measure (const Request &request, const std::optional< global_planning::GlobalPlannerResult > &result, const algorithms::Costmap &costmap, float plannedSeconds)
 Measure a planning result against the costmap.
 
std::string summarize (const std::vector< Record > &records, float checkerClearance)
 Aggregate over a sweep, grouped by request kind.
 
void writeRecord (std::ostream &out, const Record &record)
 One JSON object per line, so a sweep streams to disk and can be diffed across revisions.