summaryrefslogtreecommitdiff
path: root/Planification_vol/src/planification/Waypoint.java
diff options
context:
space:
mode:
Diffstat (limited to 'Planification_vol/src/planification/Waypoint.java')
-rw-r--r--Planification_vol/src/planification/Waypoint.java49
1 files changed, 49 insertions, 0 deletions
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;
+ }
+
+
+
+}
+