From ac1ada6ca75c704b38de67b906ba8ce83d536fe5 Mon Sep 17 00:00:00 2001 From: ccolin Date: Mon, 4 Jan 2021 17:59:11 +0100 Subject: [PATCH] add a better sample file --- waypoints2.json | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 waypoints2.json diff --git a/waypoints2.json b/waypoints2.json new file mode 100644 index 0000000..629186c --- /dev/null +++ b/waypoints2.json @@ -0,0 +1,77 @@ +{ + "description": "un fichier de test plus probant", + "framerate": 30, + "drones": [ + { + "id": 1, + "waypoints": [ + { + "frame": 0, + "position": { + "alt_Y": 100, + "lat_Z": 100, + "lng_X": 200 + } + }, + { + "frame": 200, + "position": { + "alt_Y": 100, + "lat_Z": -500, + "lng_X": 150 + } + }, + { + "frame": 300, + "position": { + "alt_Y": 100, + "lat_Z": -9000, + "lng_X": 150 + } + } + ] + }, + { + "id": 2, + "waypoints": [ + { + "frame": 0, + "position": { + "alt_Y": 100, + "lat_Z": 100, + "lng_X": -800 + } + }, + { + "frame": 300, + "position": { + "alt_Y": 100, + "lat_Z": -500, + "lng_X": -400 + } + } + ] + }, + { + "id": 3, + "waypoints": [ + { + "frame": 0, + "position": { + "alt_Y": 100, + "lat_Z": 100, + "lng_X": -400 + } + }, + { + "frame": 300, + "position": { + "alt_Y": 100, + "lat_Z": -500, + "lng_X": -800 + } + } + ] + } + ] +}