Skip to content

Commit

Permalink
Update backend command routes and add route to generate mission file
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnans2006 authored and pizzalemon committed Dec 10, 2022
1 parent 22cc27f commit 511c228
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/apps/uav.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def uav_view_commands_file():
return send_file("handlers/uav/uav_mission.txt")


<<<<<<< HEAD:server/apps/uav.py
@uav_commands.route("/export")
def uav_export_commands_file():
waypoints = []
Expand All @@ -134,6 +135,8 @@ def uav_export_commands_file():
return {"waypoints": waypoints}


=======
>>>>>>> bffcf3d (Update backend command routes and add route to generate mission file):server/app/uav.py
@uav_commands.route("/generate", methods=["POST"])
def uav_generate_commands_file():
f = request.json
Expand Down

0 comments on commit 511c228

Please sign in to comment.