Skip to content

Commit

Permalink
Update pysquared_eps.py
Browse files Browse the repository at this point in the history
Fixed distance return statements
  • Loading branch information
Mikefly123 committed Nov 5, 2024
1 parent 16a0212 commit 7b34621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Batt_Board/lib/pysquared_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,10 @@ def distance(self):
self.debug_print(
"LiDAR error: " + "".join(traceback.format_exception(e))
)
return 0
else:
self.debug_print("[WARNING] LiDAR not initialized")
return 0
return 0

def burn(self, burn_num, dutycycle=0, freq=1000, duration=1):
"""
Expand Down

0 comments on commit 7b34621

Please sign in to comment.