From e8d9fd9849da385afdb5708f7d8a7fc0606b0a7b Mon Sep 17 00:00:00 2001 From: Yves Date: Mon, 15 Apr 2024 13:42:51 +0200 Subject: [PATCH] Upgrade roboto module to 0.2.13 in px4_flight_review Action --- actions/px4_flight_review/requirements.runtime.txt | 5 ++++- actions/px4_flight_review/src/px4_flight_review/__main__.py | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/actions/px4_flight_review/requirements.runtime.txt b/actions/px4_flight_review/requirements.runtime.txt index f24f39a..90e55da 100644 --- a/actions/px4_flight_review/requirements.runtime.txt +++ b/actions/px4_flight_review/requirements.runtime.txt @@ -1,2 +1,5 @@ # Python packages to install within the Docker image associated with this Action. -roboto +roboto==0.2.13 +pyulog==1.0.2 +mcap==1.1.1 +jsonschema>=4.21.1 diff --git a/actions/px4_flight_review/src/px4_flight_review/__main__.py b/actions/px4_flight_review/src/px4_flight_review/__main__.py index 933ac47..34775ab 100644 --- a/actions/px4_flight_review/src/px4_flight_review/__main__.py +++ b/actions/px4_flight_review/src/px4_flight_review/__main__.py @@ -13,6 +13,7 @@ from bokeh.embed import components from bokeh.io import curdoc from roboto.domain import actions +from roboto.env import RobotoEnvKey def process_ulg_file(ulog_file_path, output_folder): """Process a single .ulg file to generate and combine Bokeh plots into an HTML report.""" @@ -92,7 +93,7 @@ def process_ulg_files(input_folder, output_folder): type=pathlib.Path, required=False, help="Directory containing input files to process", - default=os.environ.get(actions.InvocationEnvVar.InputDir.value), + default=os.environ.get(RobotoEnvKey.InputDir.value), ) parser.add_argument( "-o", @@ -101,7 +102,7 @@ def process_ulg_files(input_folder, output_folder): type=pathlib.Path, required=False, help="Directory to which to write any output files to be uploaded", - default=os.environ.get(actions.InvocationEnvVar.OutputDir.value), + default=os.environ.get(RobotoEnvKey.OutputDir.value), ) args = parser.parse_args()