From 17e0fa8f36de14dc9c770f8519eedd581d575206 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 11 Sep 2024 13:33:16 -0700 Subject: [PATCH] add description to alert --- tools/longitudinal_maneuvers/maneuversd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/longitudinal_maneuvers/maneuversd.py b/tools/longitudinal_maneuvers/maneuversd.py index b2a64eb6aa..d8d363d121 100755 --- a/tools/longitudinal_maneuvers/maneuversd.py +++ b/tools/longitudinal_maneuvers/maneuversd.py @@ -143,10 +143,10 @@ def main(): accel = maneuver.get_accel(v_ego, cs.cruiseState.enabled, cs.cruiseState.standstill) if maneuver.active: - alert_msg.alertDebug.alertText1 = 'Maneuver: Active' + alert_msg.alertDebug.alertText1 = f'Maneuver Active: {accel:0.2f} m/s^2' else: alert_msg.alertDebug.alertText1 = f'Reaching Speed: {maneuver.initial_speed * CV.MS_TO_MPH:0.2f} mph' - alert_msg.alertDebug.alertText2 = f'Requesting {accel:0.2f} m/s^2' + alert_msg.alertDebug.alertText2 = f'{maneuver.description}' pm.send('alertDebug', alert_msg) longitudinalPlan.aTarget = accel