From b4252404ec80d30248d6b05188a113c0a7bb13d4 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 15 Oct 2024 20:05:44 -0700 Subject: [PATCH] round aTarget --- tools/longitudinal_maneuvers/generate_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/longitudinal_maneuvers/generate_report.py b/tools/longitudinal_maneuvers/generate_report.py index b29777f894..d38ae87d90 100755 --- a/tools/longitudinal_maneuvers/generate_report.py +++ b/tools/longitudinal_maneuvers/generate_report.py @@ -65,7 +65,7 @@ def report(platform, route, _description, CP, ID, maneuvers): # get first acceleration target and first intersection aTarget = longitudinalPlan[0].aTarget target_cross_time = None - builder.append(f'

Initial aTarget: {aTarget} m/s^2') + builder.append(f'

Initial aTarget: {round(aTarget, 2)} m/s^2') # Localizer is noisy, require two consecutive 20Hz frames above threshold prev_crossed = False