diff options
| author | Gaspard Coulet <gaspard.coulet@mines-ales.org> | 2021-04-28 23:08:21 +0200 |
|---|---|---|
| committer | Gaspard Coulet <gaspard.coulet@mines-ales.org> | 2021-04-28 23:08:21 +0200 |
| commit | 20f3a92f1c5ddecb565634237e33b321e846ad5d (patch) | |
| tree | 1de4cea19d6bf2768a212c1e3c030bdb05a39544 /Planification_vol/src/planification/Waypoint.java | |
Initial commit
Diffstat (limited to 'Planification_vol/src/planification/Waypoint.java')
| -rw-r--r-- | Planification_vol/src/planification/Waypoint.java | 49 |
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; + } + + + +} + |
