From d86e67b498cd1a0f6f543dab81465d64787ff60d Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov <mshakuznetsov@gmail.com> Date: Wed, 11 Oct 2023 18:41:53 +1100 Subject: [PATCH] AP_Gripper: Fix some typos Fixed some typos found in the code. --- libraries/AP_Gripper/AP_Gripper.h | 2 +- libraries/AP_Gripper/AP_Gripper_Backend.h | 2 +- libraries/AP_Gripper/AP_Gripper_Servo.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Gripper/AP_Gripper.h b/libraries/AP_Gripper/AP_Gripper.h index 29a7c24c44..3d412a191a 100644 --- a/libraries/AP_Gripper/AP_Gripper.h +++ b/libraries/AP_Gripper/AP_Gripper.h @@ -75,7 +75,7 @@ public: AP_Int16 grab_pwm; // PWM value sent to Gripper to initiate grabbing the cargo AP_Int16 release_pwm; // PWM value sent to Gripper to release the cargo AP_Int16 neutral_pwm; // PWM value sent to gripper when not grabbing or releasing - AP_Int8 regrab_interval; // Time in seconds that EPM gripper will regrab the cargo to ensure grip has not weakend + AP_Int8 regrab_interval; // Time in seconds that EPM gripper will regrab the cargo to ensure grip has not weakened AP_Float autoclose_time; // Automatic close time (in seconds) AP_Int16 uavcan_hardpoint_id; diff --git a/libraries/AP_Gripper/AP_Gripper_Backend.h b/libraries/AP_Gripper/AP_Gripper_Backend.h index 1607289130..1508e0ab1b 100644 --- a/libraries/AP_Gripper/AP_Gripper_Backend.h +++ b/libraries/AP_Gripper/AP_Gripper_Backend.h @@ -45,7 +45,7 @@ public: // grabbed - returns true if currently in grabbed position virtual bool grabbed() const = 0; - // type-specific intiailisations: + // type-specific initialisations: virtual void init_gripper() = 0; // type-specific periodic updates: diff --git a/libraries/AP_Gripper/AP_Gripper_Servo.h b/libraries/AP_Gripper/AP_Gripper_Servo.h index 3c72effc09..e51b729d0b 100644 --- a/libraries/AP_Gripper/AP_Gripper_Servo.h +++ b/libraries/AP_Gripper/AP_Gripper_Servo.h @@ -44,7 +44,7 @@ public: protected: - // type-specific intiailisations: + // type-specific initializations: void init_gripper() override; // type-specific periodic updates: