Class dist2D_metrics

Inheritance Relationships

Base Type

  • public rmetrics::base_metrics

Class Documentation

class dist2D_metrics : public virtual rmetrics::base_metrics

Defines the metrics to be collected from swarms regarding spatial distributions of robots within 2D space.

Public Functions

dist2D_metrics(void) = default
virtual rmath::vector2z dpos2D(void) const = 0

Return a single robot’s discretized position in 2D space.

virtual rmath::radians heading2D(void) const = 0

Return a single robot’s current heading in 2D space.

virtual rmath::vector2d rpos2D(void) const = 0

Return a single robot’s current position in 2D space in real coordinates.