Go to the documentation of this file. 1 #ifndef AIKIDO_DISTANCE_ANGULARDISTANCEMETRIC_HPP_
2 #define AIKIDO_DISTANCE_ANGULARDISTANCEMETRIC_HPP_
16 explicit SO2Angular(std::shared_ptr<const statespace::SO2> _space);
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
double distance(const statespace::StateSpace::State *_state1, const statespace::StateSpace::State *_state2) const override
Computes shortest distance between two angles.
statespace::ConstStateSpacePtr getStateSpace() const override
Get the StateSpace associated with this metric.
std::shared_ptr< const statespace::SO2 > mStateSpace
Definition: SO2Angular.hpp:30
SO2Angular(std::shared_ptr< const statespace::SO2 > _space)
Constructor.
Computes the shortest distance between two angles in SO(2)
Definition: SO2Angular.hpp:11
Implements a distance metric defined on a StateSpace.
Definition: DistanceMetric.hpp:13
Definition: StateSpace.hpp:167