AP_Mount: minor comment fix to has_pan_control

This commit is contained in:
Randy Mackay 2022-09-29 14:11:31 +09:00
parent 288f3a2bb9
commit ca8da230de
4 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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:

View File

@ -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:

View File

@ -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