Skip to content

fix: Linux setup, USB timeout, and C++ compilation fixes - #93

Open
hamidi2 wants to merge 5 commits into
flowdriveai:masterfrom
hamidi2:master
Open

fix: Linux setup, USB timeout, and C++ compilation fixes#93
hamidi2 wants to merge 5 commits into
flowdriveai:masterfrom
hamidi2:master

Conversation

@hamidi2

@hamidi2 hamidi2 commented Aug 5, 2026

Copy link
Copy Markdown

Summary of changes:

  1. Verified SCons Build & Runtime (Linux): Fixed modern GCC header includes (<iterator>, <string>, etc.) and Python 3.10+ compatibility issues.
  2. USB Timeout Bound: Applied a 5 ms timeout budget on Panda::can_receive() (usb_bulk_read) in panda.cc to prevent unlimited blocking during Android USB stalls.
  3. Setup Script & Docs: Added scripts/setup_linux.sh and updated README.md to automate environment setup and build instructions for Linux users.
  4. Submodule Updates: Updated opendbc submodule reference with the necessary <iterator> header fix for C++ compilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant