aboutsummaryrefslogtreecommitdiff
path: root/src/drone.hh
diff options
context:
space:
mode:
authorccolin2021-01-04 14:49:26 +0100
committerccolin2021-01-04 14:49:26 +0100
commit0c28d9dc80e634ebfbabed5ad446b6a4f82056e3 (patch)
tree498a6b8ce12305a2d7531396767852a07f564b7d /src/drone.hh
parent472e291ca823910418919eac101f26e2b3d852a8 (diff)
add speeding violation reporting
Diffstat (limited to 'src/drone.hh')
-rw-r--r--src/drone.hh2
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;
};