Skip to content

Commit

Permalink
update: return output file name
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Aug 1, 2024
1 parent fb08629 commit ac867a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drone_flightplan/flightplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def add_speed_and_agl(placemark):
updated_waypoints = list(map(add_speed_and_agl, waypoints))

# generate wpml file in output_file_path
create_xml(updated_waypoints, "goHome", agl, output_file_path)
output_file = create_xml(updated_waypoints, "goHome", agl, output_file_path)

return output_file


def main():
Expand Down

0 comments on commit ac867a3

Please sign in to comment.