commaai / openpilot

openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for 250+ supported car makes and models.
https://comma.ai/
MIT License
48.64k stars 8.81k forks source link

UI doesn't show camera feed for CTF replay route #32778

Open Quantizr opened 2 weeks ago

Quantizr commented 2 weeks ago

Describe the bug

For the route in CTF:

# start the route reply
cd tools/replay
./replay '0c7f0c7f0c7f0c7f|2021-10-13--13-00-00' --dcam --ecam

# start the UI in another terminal
selfdrive/ui/ui

The UI does not switch to the onroad display. The UI is receiving data as the camera feed can be viewed in Settings -> Device -> Driver Camera, the issue is probably with the format of the CTF route itself.

Starting the demo replay (/replay --demo --dcam --ecam), stopping the demo, then starting the CTF replay allows the CTF replay to work.

OS Version

Ubuntu 20.04

openpilot version or commit

No response

Additional info

No response

sshane commented 2 weeks ago

This is an old route that uses the deprecated pandaState service for ignition, @adeebshihadeh should we deprecate the CTF or support the old service in UI?

adeebshihadeh commented 2 weeks ago

I'd prefer regenerating the route. I think it should be easy: xx/projects/ctf.