Skip to content

Commit

Permalink
round aTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Oct 16, 2024
1 parent 277691c commit b425240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/longitudinal_maneuvers/generate_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'<h3 style="font-weight: normal">Initial aTarget: {aTarget} m/s^2')
builder.append(f'<h3 style="font-weight: normal">Initial aTarget: {round(aTarget, 2)} m/s^2')

# Localizer is noisy, require two consecutive 20Hz frames above threshold
prev_crossed = False
Expand Down

0 comments on commit b425240

Please sign in to comment.