Go to the documentation of this file. 1 #ifndef AIKIDO_DISTANCE_SE2WEIGHTED_HPP_
2 #define AIKIDO_DISTANCE_SE2WEIGHTED_HPP_
18 explicit SE2Weighted(std::shared_ptr<const statespace::SE2> space);
27 std::shared_ptr<const statespace::SE2> space,
28 const Eigen::Vector2d& weights);
47 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
53 #endif // AIKIDO_DISTANCE_SE2WEIGHTED_HPP_
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
statespace::ConstStateSpacePtr getStateSpace() const override
Get the StateSpace associated with this metric.
SE2Weighted(std::shared_ptr< const statespace::SE2 > space)
Constructor.
Eigen::Vector2d mWeights
Definition: SE2Weighted.hpp:44
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
Computes the shortest distance between two states in SE2.
Definition: SE2Weighted.hpp:11
std::shared_ptr< const statespace::SE2 > mStateSpace
Definition: SE2Weighted.hpp:42
double distance(const statespace::StateSpace::State *state1, const statespace::StateSpace::State *state2) const override
Computes weighted distance between two SE2 states.
Implements a distance metric defined on a StateSpace.
Definition: DistanceMetric.hpp:13
Definition: StateSpace.hpp:167