27 #ifndef MPBLOCKS_DUBINS_CURVES_FUNCS_H_
28 #define MPBLOCKS_DUBINS_CURVES_FUNCS_H_
42 template <
typename Format_t>
47 template <
typename Format_t>
49 Format_t
ccwArc( Format_t a, Format_t b );
52 template <
typename Format_t>
54 Format_t
leftArc( Format_t a, Format_t b );
57 template <
typename Format_t>
59 Format_t
cwArc( Format_t a, Format_t b);
62 template <
typename Format_t>
64 Format_t
rightArc( Format_t a, Format_t b);
69 #endif // MPBLOCKS_DUBINS_CURVES_FUNCS_H_
__host__ __device__ Format_t cwArc(Format_t a, Format_t b)
returns the clockwise (right) distance from a to b
__host__ __device__ Format_t ccwArc(Format_t a, Format_t b)
returns the counter clockwise (left) distance from a to b
__host__ __device__ Format_t clampRadian(Format_t a)
wraps the input onto [-pi,pi]
__host__ __device__ Format_t rightArc(Format_t a, Format_t b)
returns the clockwise (right) distance from a to b
__host__ __device__ Format_t leftArc(Format_t a, Format_t b)
returns the counter clockwise (left) distance from a to b