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