From f44135ec776ec2d6b34f28f91fe5752fe0de6b03 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 29 Sep 2022 14:11:31 +0900 Subject: [PATCH] AP_Mount: minor comment fix to has_pan_control --- libraries/AP_Mount/AP_Mount_Alexmos.cpp | 2 +- libraries/AP_Mount/AP_Mount_SToRM32.h | 2 +- libraries/AP_Mount/AP_Mount_SToRM32_serial.h | 2 +- libraries/AP_Mount/AP_Mount_SoloGimbal.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Mount/AP_Mount_Alexmos.cpp b/libraries/AP_Mount/AP_Mount_Alexmos.cpp index 59f92065b4..8a5213bd5f 100644 --- a/libraries/AP_Mount/AP_Mount_Alexmos.cpp +++ b/libraries/AP_Mount/AP_Mount_Alexmos.cpp @@ -96,7 +96,7 @@ void AP_Mount_Alexmos::update() control_axis(_angle_rad); } -// has_pan_control - returns true if this mount can control it's pan (required for multicopters) +// has_pan_control - returns true if this mount can control its pan (required for multicopters) bool AP_Mount_Alexmos::has_pan_control() const { return _gimbal_3axis && yaw_range_valid(); diff --git a/libraries/AP_Mount/AP_Mount_SToRM32.h b/libraries/AP_Mount/AP_Mount_SToRM32.h index a50ddb1d25..2f195b910b 100644 --- a/libraries/AP_Mount/AP_Mount_SToRM32.h +++ b/libraries/AP_Mount/AP_Mount_SToRM32.h @@ -29,7 +29,7 @@ public: // update mount position - should be called periodically void update() override; - // has_pan_control - returns true if this mount can control it's pan (required for multicopters) + // has_pan_control - returns true if this mount can control its pan (required for multicopters) bool has_pan_control() const override { return yaw_range_valid(); } protected: diff --git a/libraries/AP_Mount/AP_Mount_SToRM32_serial.h b/libraries/AP_Mount/AP_Mount_SToRM32_serial.h index d1c1019034..5156f7d90a 100644 --- a/libraries/AP_Mount/AP_Mount_SToRM32_serial.h +++ b/libraries/AP_Mount/AP_Mount_SToRM32_serial.h @@ -32,7 +32,7 @@ public: // update mount position - should be called periodically void update() override; - // has_pan_control - returns true if this mount can control it's pan (required for multicopters) + // has_pan_control - returns true if this mount can control its pan (required for multicopters) bool has_pan_control() const override { return yaw_range_valid(); }; protected: diff --git a/libraries/AP_Mount/AP_Mount_SoloGimbal.h b/libraries/AP_Mount/AP_Mount_SoloGimbal.h index 0b9f07182d..8b845a27cf 100644 --- a/libraries/AP_Mount/AP_Mount_SoloGimbal.h +++ b/libraries/AP_Mount/AP_Mount_SoloGimbal.h @@ -29,7 +29,7 @@ public: // update mount position - should be called periodically void update() override; - // has_pan_control - returns true if this mount can control it's pan (required for multicopters) + // has_pan_control - returns true if this mount can control its pan (required for multicopters) bool has_pan_control() const override { return false; } // handle a GIMBAL_REPORT message