diff options
author | ccolin | 2021-01-04 14:49:26 +0100 |
---|---|---|
committer | ccolin | 2021-01-04 14:49:26 +0100 |
commit | 0c28d9dc80e634ebfbabed5ad446b6a4f82056e3 (patch) | |
tree | 498a6b8ce12305a2d7531396767852a07f564b7d /src/drone.hh | |
parent | 472e291ca823910418919eac101f26e2b3d852a8 (diff) |
add speeding violation reporting
Diffstat (limited to 'src/drone.hh')
-rw-r--r-- | src/drone.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drone.hh b/src/drone.hh index 873bb27..bc69554 100644 --- a/src/drone.hh +++ b/src/drone.hh @@ -22,6 +22,7 @@ class Drone { QVector<Waypoint> waypoints; QVector3D pos; int id; + double speed = 0; public: Drone(int id); @@ -30,6 +31,7 @@ public: void setTo(int frame); const QVector3D getPos() const; int getId() const; + double getSpeed() const; const OpenGLMesh *getMesh() const; }; |