diff --git a/localization/deviation_estimation_tools/deviation_estimator/include/deviation_estimator/validation_module.hpp b/localization/deviation_estimation_tools/deviation_estimator/include/deviation_estimator/validation_module.hpp index ada582bc..c6c01567 100644 --- a/localization/deviation_estimation_tools/deviation_estimator/include/deviation_estimator/validation_module.hpp +++ b/localization/deviation_estimation_tools/deviation_estimator/include/deviation_estimator/validation_module.hpp @@ -22,6 +22,8 @@ #include #include +#include +#include #include #include diff --git a/localization/deviation_estimation_tools/deviation_evaluator/include/deviation_evaluator/deviation_evaluator.hpp b/localization/deviation_estimation_tools/deviation_evaluator/include/deviation_evaluator/deviation_evaluator.hpp index 278b1913..8ac92a48 100644 --- a/localization/deviation_estimation_tools/deviation_evaluator/include/deviation_evaluator/deviation_evaluator.hpp +++ b/localization/deviation_estimation_tools/deviation_evaluator/include/deviation_evaluator/deviation_evaluator.hpp @@ -49,7 +49,7 @@ class DeviationEvaluator : public rclcpp::Node { double lateral; double long_radius; - Errors() : lateral(0), long_radius(0){}; + Errors() : lateral(0), long_radius(0) {} }; public: diff --git a/localization/deviation_estimation_tools/deviation_evaluator/src/deviation_evaluator.cpp b/localization/deviation_estimation_tools/deviation_evaluator/src/deviation_evaluator.cpp index 9bc3329d..2ba5c285 100644 --- a/localization/deviation_estimation_tools/deviation_evaluator/src/deviation_evaluator.cpp +++ b/localization/deviation_estimation_tools/deviation_evaluator/src/deviation_evaluator.cpp @@ -31,7 +31,7 @@ // clang-format on using std::placeholders::_1; -using namespace std::chrono_literals; +using std::chrono_literals::operator""s; double double_round(const double x, const int n) { return std::round(x * pow(10, n)) / pow(10, n); }