process_replay: use LiveParametersV2 in custom params (#36080)

Fill LiveParametersV2 in get_custom_params_from_lr
master
Kacper Rączy 1 day ago committed by GitHub
parent 9fcac06297
commit 76e91da3ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/test/process_replay/process_replay.py

@ -591,7 +591,7 @@ def get_custom_params_from_lr(lr: LogIterable, initial_state: str = "first") ->
if len(live_calibration) > 0:
custom_params["CalibrationParams"] = live_calibration[msg_index].as_builder().to_bytes()
if len(live_parameters) > 0:
custom_params["LiveParameters"] = live_parameters[msg_index].as_builder().to_bytes()
custom_params["LiveParametersV2"] = live_parameters[msg_index].as_builder().to_bytes()
if len(live_torque_parameters) > 0:
custom_params["LiveTorqueParameters"] = live_torque_parameters[msg_index].as_builder().to_bytes()

Loading…
Cancel
Save