mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
Copter: remove comments
non-functional change
This commit is contained in:
parent
ac8c2b3f03
commit
20d7216179
@ -36,7 +36,7 @@ public:
|
||||
protected:
|
||||
|
||||
virtual bool init(bool ignore_checks) = 0;
|
||||
virtual void run() = 0; // should be called at 100hz or more
|
||||
virtual void run() = 0;
|
||||
|
||||
virtual bool is_autopilot() const { return false; }
|
||||
virtual bool requires_GPS() const = 0;
|
||||
@ -174,7 +174,7 @@ public:
|
||||
Copter::FlightMode(copter)
|
||||
{ }
|
||||
virtual bool init(bool ignore_checks) override;
|
||||
virtual void run() override; // should be called at 100hz or more
|
||||
virtual void run() override;
|
||||
|
||||
virtual bool is_autopilot() const override { return false; }
|
||||
virtual bool requires_GPS() const override { return false; }
|
||||
@ -202,7 +202,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
protected:
|
||||
private:
|
||||
@ -220,7 +220,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return false; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -247,7 +247,7 @@ public:
|
||||
{ }
|
||||
|
||||
virtual bool init(bool ignore_checks) override;
|
||||
virtual void run() override; // should be called at 100hz or more
|
||||
virtual void run() override;
|
||||
|
||||
virtual bool requires_GPS() const override { return false; }
|
||||
virtual bool has_manual_throttle() const override { return true; }
|
||||
@ -295,7 +295,7 @@ public:
|
||||
{ }
|
||||
|
||||
virtual bool init(bool ignore_checks) override;
|
||||
virtual void run() override; // should be called at 100hz or more
|
||||
virtual void run() override;
|
||||
|
||||
virtual bool is_autopilot() const override { return true; }
|
||||
virtual bool requires_GPS() const override { return true; }
|
||||
@ -373,7 +373,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -411,7 +411,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -457,7 +457,7 @@ public:
|
||||
Copter::FlightMode(copter) { }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -523,7 +523,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return false; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -558,10 +558,10 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override { // should be called at 100hz or more
|
||||
void run() override {
|
||||
return run(true);
|
||||
}
|
||||
void run(bool disarm_on_land); // should be called at 100hz or more
|
||||
void run(bool disarm_on_land);
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -635,7 +635,7 @@ public:
|
||||
{ }
|
||||
|
||||
virtual bool init(bool ignore_checks) override;
|
||||
virtual void run() override; // should be called at 100hz or more
|
||||
virtual void run() override;
|
||||
|
||||
virtual bool requires_GPS() const override { return true; }
|
||||
virtual bool has_manual_throttle() const override { return false; }
|
||||
@ -664,7 +664,7 @@ public:
|
||||
{ }
|
||||
|
||||
virtual bool init(bool ignore_checks) override;
|
||||
virtual void run() override; // should be called at 100hz or more
|
||||
virtual void run() override;
|
||||
|
||||
virtual bool requires_GPS() const override { return false; }
|
||||
virtual bool has_manual_throttle() const override { return false; }
|
||||
@ -691,7 +691,7 @@ public:
|
||||
{ }
|
||||
|
||||
virtual bool init(bool ignore_checks) override;
|
||||
virtual void run() override; // should be called at 100hz or more
|
||||
virtual void run() override;
|
||||
|
||||
virtual bool requires_GPS() const override { return false; }
|
||||
virtual bool has_manual_throttle() const override { return false; }
|
||||
@ -722,7 +722,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return false; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -876,7 +876,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -912,7 +912,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -943,7 +943,7 @@ public:
|
||||
Copter::FlightMode_GUIDED(copter) { }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -972,7 +972,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -1011,7 +1011,7 @@ public:
|
||||
Copter::FlightMode_GUIDED(copter) { }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
@ -1042,7 +1042,7 @@ public:
|
||||
{ }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
|
@ -6,7 +6,7 @@ public:
|
||||
Copter::FlightMode_GUIDED(copter) { }
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override; // should be called at 100hz or more
|
||||
void run() override;
|
||||
|
||||
bool requires_GPS() const override { return true; }
|
||||
bool has_manual_throttle() const override { return false; }
|
||||
|
Loading…
Reference in New Issue
Block a user