Skip to content

Commit

Permalink
Merge commit '11537341833255d722b353d1605d70ec658c020d' into navigati…
Browse files Browse the repository at this point in the history
…on-gnss
  • Loading branch information
rodja committed Jul 18, 2024
2 parents 93312dd + 1153734 commit 1b90cab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ geopy
shapely
fiona
geopandas
rosys == 0.10.10
rosys == 0.11
uvicorn == 0.28.1
3 changes: 1 addition & 2 deletions tests/test_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ async def get_stretch(self, max_distance: float) -> float:
self.current_stretch = random.uniform(0.02, max_distance)
return self.current_stretch

async def start_workflow(self) -> bool:
async def start_workflow(self) -> None:
self.workflow_started = True
deadline = rosys.time() + 1
while self.workflow_started and rosys.time() < deadline:
await rosys.sleep(0.1)
self.workflow_started = False
return True

system.current_implement = stopper = Stopper(system)
assert isinstance(system.current_navigation, StraightLineNavigation)
Expand Down

0 comments on commit 1b90cab

Please sign in to comment.