Skip to content

Commit

Permalink
Small fixes to mapping state test #29
Browse files Browse the repository at this point in the history
  • Loading branch information
RexBerry committed Nov 15, 2024
1 parent 64e77e0 commit e8314c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flight/test_files/mapping_state_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def run_test(_sim: bool) -> None: # Temporary fix for unused variable
# Output logging info to stdout
logging.basicConfig(filename="/dev/stdout", level=logging.INFO)

path_data_path: str = "flight/data/waypoint_data.json" if _sim else "flight/data/golf_data.json"
path_data_path: str = "flight/data/golf_data.json"

drone: Drone = Drone()
if _sim:
Expand All @@ -49,6 +49,5 @@ async def run_test(_sim: bool) -> None: # Temporary fix for unused variable

if __name__ == "__main__":
print("Pass argument --sim to enable the simulation flag.")
print("When the simulation flag is not set, golf data is used for the boundary and waypoints.")
print()
asyncio.run(run_test("--sim" in sys.argv))

0 comments on commit e8314c8

Please sign in to comment.