Skip to content

Commit

Permalink
fix compile issue in DroneServer
Browse files Browse the repository at this point in the history
  • Loading branch information
sytelus committed Apr 25, 2018
1 parent 46fd493 commit 00de800
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions DroneServer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@ class DroneServerSimModeApi : public SimModeApiBase {
return api_;
}

virtual bool isPaused() const override
{
return false;
}

virtual void pause(bool is_paused) override
{
throw std::domain_error("pause is not supported");
}

virtual void continueForTime(double seconds) override
{
throw std::domain_error("continueForTime is not supported");
}

private:
MultirotorApi* api_;
};
Expand Down

0 comments on commit 00de800

Please sign in to comment.