From 20f3a92f1c5ddecb565634237e33b321e846ad5d Mon Sep 17 00:00:00 2001 From: Gaspard Coulet Date: Wed, 28 Apr 2021 23:08:21 +0200 Subject: Initial commit --- Planification_vol/src/planification/Waypoint.java | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Planification_vol/src/planification/Waypoint.java (limited to 'Planification_vol/src/planification/Waypoint.java') diff --git a/Planification_vol/src/planification/Waypoint.java b/Planification_vol/src/planification/Waypoint.java new file mode 100644 index 0000000..9efd85d --- /dev/null +++ b/Planification_vol/src/planification/Waypoint.java @@ -0,0 +1,49 @@ +package planification; + +public class Waypoint { + + private double lat; + private double lon; + private double alt; + private double direction; + private double gimbal; + private boolean photo; + + public Waypoint(double lat, double lon, double alt, double turnDegree, double gimbal, boolean photo) { + super(); + this.lat = lat; + this.lon = lon; + this.alt = alt; + this.direction = direction; + this.gimbal = gimbal; + this.photo = photo; + } + + public double getLat() { + return lat; + } + + public double getLon() { + return lon; + } + + public double getAlt() { + return alt; + } + + public double getDirection() { + return direction; + } + + public double getGimbal() { + return gimbal; + } + + public boolean isPhoto() { + return photo; + } + + + +} + -- cgit v1.2.3