26 #ifndef MPBLOCKS_DUBINS_CURVES_EIGEN_SOLUTION_RSR_HPP_
27 #define MPBLOCKS_DUBINS_CURVES_EIGEN_SOLUTION_RSR_HPP_
35 namespace curves_eigen {
38 template <
typename Scalar>
64 Scalar t1 = std::atan2(v[1], v[0]);
80 #endif // MPBLOCKS_DUBINS_CURVES_EIGEN_SOLUTION_RSR_HPP_
__host__ __device__ Format_t cwArc(Format_t a, Format_t b)
returns the clockwise (right) distance from a to b
Eigen::Matrix< Scalar, 2, 1 > Vector2d
static Path< Scalar > solve(const Vector3d &q0, const Vector3d &q1, const Scalar r)
interface for different solutions, this is specialized for each Id in the SolutionId enum ...
Eigen::Matrix< Scalar, 3, 1 > Vector3d
Eigen::Matrix< Scalar, 2, 1 > rightCenter(const Eigen::Matrix< Scalar, 3, 1 > &q, Scalar r)
return the center of a clockwise (right) circle coincident to q with radius r
Encodes a dubins path primitive, which is three connected arc segments.