Skip to content

Commit

Permalink
fix: Add commandline ussage clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
Sage Silberman committed Feb 16, 2024
1 parent da3c6b2 commit 2c32a99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyulog/crop_ulog.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Convert a ULog file into CSV file(s)
"""
#commandline usage: python <file.py> <file.ulg> -flight_start <insert timestamp value> -flight_end <insert timestamp value>
#OUTS: python crop_ulog Jan_Subscale_Launch.ulg -flight_start 19:20 -flight_end 21:40
#for us 19:20 to 21:40
#OURS: python crop_ulog.py Jan_Subscale_Launch.ulg -flight_start 19:20 -flight_end 21:40
#make sure you use python not python3 this script does not support python3

from __future__ import print_function

Expand Down Expand Up @@ -45,7 +45,7 @@ def main():
crop_ulog(args.ulog_file, flight_start_seconds, flight_end_seconds)

print(" complete")

def convert_to_seconds(time_str):
"""Converts time in HH:MM format to seconds"""
if time_str is None:
Expand Down

0 comments on commit 2c32a99

Please sign in to comment.