-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved generation of HTML file in px4_flight_review action
Context: The px4_flight_review action generates an HTML file using the underlying PX4/flight_review code. This code is able to generate an HTML file including a flight map, Bokeh plots and log tables. However, the current action implementation generated an HTML file that only included the Bokeh plots. Solution: Refactor how the action generates an HTML file, by better utilizing functions available in Bokeh as well as a Jinja template to lay out the resulting page with map and tables included. The map required inclusion of leaflet and mapbox script dependencies as well as an API token that is now exposed as an action parameter so it can be overridden by end users. Testing: Verified behavior by running the ./build.sh and ./test.sh scripts. Deployed action to Roboto dev stack account and ran with a variety of PX4 ULog files. Observed improved HTML artifacts that are much closer to the public PX4 flight review equivalents.
- Loading branch information
Showing
7 changed files
with
253 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
# Python packages to install within the Docker image associated with this Action. | ||
roboto | ||
#bokeh==3.0.0 | ||
pyulog | ||
scipy | ||
pyfftw | ||
img2pdf | ||
selenium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.