commaai / commaai/openpilot

UI doesn't show camera feed for CTF replay route

Open
#32,778 17 comments 0 reactions 0 assignees View on GitHub
development PC
Dominant language
Python
Stars
63.7k
Forks
11.4k
Avg merge
17h 53m
Merged PRs (30d)
171

Description

### Describe the bug

For the route in [CTF](https://github.com/commaai/openpilot/blob/master/tools/CTF.md):
```bash
# 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.