Move curvature_t to units namespace (#2444)

Note: this is a breaking change.
This commit is contained in:
Prateek Machiraju
2020-03-23 01:57:52 -04:00
committed by GitHub
parent 303194b08b
commit 1c28b729ad
18 changed files with 52 additions and 58 deletions

View File

@@ -48,7 +48,7 @@ namespace frc {
*/
class SplineParameterizer {
public:
using PoseWithCurvature = std::pair<Pose2d, curvature_t>;
using PoseWithCurvature = std::pair<Pose2d, units::curvature_t>;
struct MalformedSplineException : public std::runtime_error {
explicit MalformedSplineException(const char* what_arg)