Advertisement
aalh

pressure loop

Dec 28th, 2023
1,096
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1.         with open((plog_path+PLOG_FILE), LOG_MODE) as pressfile:
  2.             debugp(t_stamp, gps.latitude, gps.longitude, gps.altitude_m)
  3.             while ((time.monotonic_ns() - timep) / 1000000000) >= 60:
  4.                 if stamped is False:
  5.                    
  6.                     stamped = True
  7.                 debugp(((time.monotonic_ns() - timep) / 1000000000), lps.pressure)
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement