Skip to content

Commit

Permalink
add constructor to mock gps to match actual gps
Browse files Browse the repository at this point in the history
  • Loading branch information
jhazentia committed Feb 28, 2024
1 parent 08d72e0 commit b36f36d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scos_actions/hardware/mocks/mock_gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@


class MockGPS(GPSInterface):
def __init__(self, sigan):
self.sigan = sigan

def get_location(timeout_s=1):
logger.warning("Using mock GPS!")
return 39.995118, -105.261572, 1651.0
Expand Down

0 comments on commit b36f36d

Please sign in to comment.