From 0c28d9dc80e634ebfbabed5ad446b6a4f82056e3 Mon Sep 17 00:00:00 2001 From: ccolin Date: Mon, 4 Jan 2021 14:49:26 +0100 Subject: add speeding violation reporting --- src/drone.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drone.hh') 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 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; }; -- cgit v1.2.3-70-g09d2