From 0b184aa31d2be4d71bbab96056f321bd5963ea8b Mon Sep 17 00:00:00 2001 From: Denis Stogl Date: Fri, 2 Jul 2021 14:05:08 +0200 Subject: [PATCH] Correct endings and typos. --- .github/workflows/build-coverage.yml | 1 - .github/workflows/build-galactic.yml | 1 - .github/workflows/build-rolling.yml | 1 - .github/workflows/build-source-galactic.yml | 1 - include/control_toolbox/pid_ros.hpp | 4 ++-- include/control_toolbox/sine_sweep.hpp | 2 +- include/control_toolbox/sinusoid.hpp | 2 +- test/pid_parameters_tests.cpp | 2 +- 8 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-coverage.yml b/.github/workflows/build-coverage.yml index e80a5253..b5855bab 100644 --- a/.github/workflows/build-coverage.yml +++ b/.github/workflows/build-coverage.yml @@ -39,4 +39,3 @@ jobs: with: name: colcon-logs-${{ matrix.os }} path: ros_ws/log - diff --git a/.github/workflows/build-galactic.yml b/.github/workflows/build-galactic.yml index f22c4e7c..01fc3a1b 100644 --- a/.github/workflows/build-galactic.yml +++ b/.github/workflows/build-galactic.yml @@ -53,4 +53,3 @@ jobs: sudo find ${{ env.BASEDIR }}/target_ws -wholename '*/test_results/*' -delete sudo rm -rf ${{ env.BASEDIR }}/target_ws/src du -sh ${{ env.BASEDIR }}/target_ws - diff --git a/.github/workflows/build-rolling.yml b/.github/workflows/build-rolling.yml index a1488dc1..3c6d7699 100644 --- a/.github/workflows/build-rolling.yml +++ b/.github/workflows/build-rolling.yml @@ -53,4 +53,3 @@ jobs: sudo find ${{ env.BASEDIR }}/target_ws -wholename '*/test_results/*' -delete sudo rm -rf ${{ env.BASEDIR }}/target_ws/src du -sh ${{ env.BASEDIR }}/target_ws - diff --git a/.github/workflows/build-source-galactic.yml b/.github/workflows/build-source-galactic.yml index 990b2f10..3f080c23 100644 --- a/.github/workflows/build-source-galactic.yml +++ b/.github/workflows/build-source-galactic.yml @@ -28,4 +28,3 @@ jobs: with: name: colcon-logs-${{ matrix.os }} path: ros_ws/log - diff --git a/include/control_toolbox/pid_ros.hpp b/include/control_toolbox/pid_ros.hpp index 2e0e1c3a..1d549625 100644 --- a/include/control_toolbox/pid_ros.hpp +++ b/include/control_toolbox/pid_ros.hpp @@ -90,7 +90,7 @@ class CONTROL_TOOLBOX_PUBLIC PidROS } /*! - * \brief Initialize the PID controller and set the paramaters + * \brief Initialize the PID controller and set the parameters * \param p The proportional gain. * \param i The integral gain. * \param d The derivative gain. @@ -101,7 +101,7 @@ class CONTROL_TOOLBOX_PUBLIC PidROS void initPid(double p, double i, double d, double i_max, double i_min, bool antiwindup); /*! - * \brief Initialize the PID controller based on already setted parameters + * \brief Initialize the PID controller based on already set parameters * \return True is all parameters are set (p, i, d, i_min and i_max), False otherwise */ bool initPid(); diff --git a/include/control_toolbox/sine_sweep.hpp b/include/control_toolbox/sine_sweep.hpp index 4844ac07..e69b24fc 100644 --- a/include/control_toolbox/sine_sweep.hpp +++ b/include/control_toolbox/sine_sweep.hpp @@ -73,7 +73,7 @@ class SineSweep double update(rclcpp::Duration dt); /*! - * \brief Intializes everything and calculates the constants for the sweep. + * \brief Initializes everything and calculates the constants for the sweep. * * \param start_freq Start frequency of the sweep, \f$\omega_1\f$ . * \param end_freq End frequency of the sweep, \f$\omega_2\f$. diff --git a/include/control_toolbox/sinusoid.hpp b/include/control_toolbox/sinusoid.hpp index 4c0564fd..c5cc09bd 100644 --- a/include/control_toolbox/sinusoid.hpp +++ b/include/control_toolbox/sinusoid.hpp @@ -56,7 +56,7 @@ class Sinusoid Sinusoid(); /** - * \brief Constructor which intializes values + * \brief Constructor which initializes values * * \param offset A DC offset to be added to the sine wave * \param amplitude Amplitude of the sine wave diff --git a/test/pid_parameters_tests.cpp b/test/pid_parameters_tests.cpp index 4b0818f6..64ac64cb 100644 --- a/test/pid_parameters_tests.cpp +++ b/test/pid_parameters_tests.cpp @@ -40,7 +40,7 @@ TEST(PidParametersTest, InitPidTest) rclcpp::Parameter param; - // check paramters were set + // check parameters were set ASSERT_TRUE(node->get_parameter("p", param)); ASSERT_EQ(param.get_value(), P);