mirror of https://github.com/ArduPilot/ardupilot
AP_Mount: minor comment fix to has_pan_control
This commit is contained in:
parent
5fe0cf5e00
commit
5cdc24faf6
|
@ -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();
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue