From 3088849cf42ea256cae7502c785bcd0c924dd354 Mon Sep 17 00:00:00 2001 From: Akshat Pandya Date: Fri, 17 Dec 2021 00:38:44 -0800 Subject: [PATCH] Reformatting for codecheck fix #301 Signed-off-by: Akshat Pandya --- include/ignition/math/DiffDriveOdometry.hh | 3 ++- src/DiffDriveOdometry.cc | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/ignition/math/DiffDriveOdometry.hh b/include/ignition/math/DiffDriveOdometry.hh index ddb9bf16f..adebf8fa3 100644 --- a/include/ignition/math/DiffDriveOdometry.hh +++ b/include/ignition/math/DiffDriveOdometry.hh @@ -130,7 +130,8 @@ namespace ignition /// \param[in] _leftWheelRadius Radius of the left wheel. /// \param[in] _rightWheelRadius Radius of the right wheel. public: void SetWheelParams(const double _wheelSeparation, - const double _leftWheelRadius, const double _rightWheelRadius); + const double _leftWheelRadius, + const double _rightWheelRadius); /// \brief Set the velocity rolling window size. /// \param[in] _size The Velocity rolling window size. diff --git a/src/DiffDriveOdometry.cc b/src/DiffDriveOdometry.cc index b5ccb2254..6814b3900 100644 --- a/src/DiffDriveOdometry.cc +++ b/src/DiffDriveOdometry.cc @@ -29,7 +29,8 @@ class ignition::math::DiffDriveOdometryPrivate /// Runge-Kutta. /// \param[in] _linear Linear velocity. /// \param[in] _angular Angular velocity. - public: void IntegrateRungeKutta2(const double _linear, const double _angular); + public: void IntegrateRungeKutta2(const double _linear, + const double _angular); /// \brief Integrates the velocities (linear and angular) using exact /// method. @@ -223,7 +224,8 @@ void DiffDriveOdometryPrivate::IntegrateRungeKutta2( } ////////////////////////////////////////////////// -void DiffDriveOdometryPrivate::IntegrateExact(const double _linear, const double _angular) +void DiffDriveOdometryPrivate::IntegrateExact(const double _linear, + const double _angular) { if (std::fabs(_angular) < 1e-6) {