|
|
@ -10,6 +10,7 @@ import matplotlib.pyplot as plt |
|
|
|
|
|
|
|
|
|
|
|
from openpilot.tools.lib.logreader import LogReader |
|
|
|
from openpilot.tools.lib.logreader import LogReader |
|
|
|
from openpilot.system.hardware.hw import Paths |
|
|
|
from openpilot.system.hardware.hw import Paths |
|
|
|
|
|
|
|
from weasyprint import HTML |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def report(platform, maneuvers): |
|
|
|
def report(platform, maneuvers): |
|
|
@ -79,6 +80,7 @@ def report(platform, maneuvers): |
|
|
|
f.write("</details>\n") |
|
|
|
f.write("</details>\n") |
|
|
|
|
|
|
|
|
|
|
|
print(f"\nReport written to {output_fn}\n") |
|
|
|
print(f"\nReport written to {output_fn}\n") |
|
|
|
|
|
|
|
HTML(output_fn).write_pdf(output_fn.with_suffix('.pdf')) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
if __name__ == '__main__': |
|
|
|