Files
StarPilot/tools
firestar5683 5234a121f9 Add HKG EV App Start Climate wake
Add a StarPilot vehicle toggle that selects alternate Panda firmware for Hyundai/Kia/Genesis CAN-FD EVs. The firmware keeps the HKG CAN bus active while Panda is in power save and treats the app climate-active frame, bus 1 address 0x384 with byte 3 nonzero, as a Panda boot wake source without publishing it as CAN ignition.

Wire the toggle through StarPilot vehicle settings, Galaxy device settings, parameter definitions, and pandad firmware selection. Disabling the toggle selects the default Panda firmware again.

Tested on a Kia EV9 and 2023 Kia EV6. EV9 remote climate active used 0x384 byte 3 equal to 0x01; EV6 remote climate active used 0x0a. Both stopped/off states observed byte 3 equal to 0x00. Toggle-off negative testing on EV9 saw the remote climate frame on CAN but pandaStates.ignitionCan stayed false. Toggle-on testing verified the active Panda signature matched panda_h7_hkg_remote.bin.signed. Follow-up testing changed the HKG path to wake-only after remote climate caused partial-car fingerprinting and Dashcam Mode; wake-only firmware was built, flashed, and verified on both devices.
2026-07-01 11:32:29 -05:00
..
2026-06-26 16:52:28 -05:00
2025-12-18 23:23:21 -08:00
2026-06-27 23:38:32 -05:00
2025-12-18 23:23:21 -08:00
2025-12-18 23:23:21 -08:00
2025-12-18 23:23:21 -08:00
2025-12-18 23:23:21 -08:00
2026-06-02 21:47:09 -05:00
fix
2026-03-29 23:43:14 -05:00
2026-06-19 00:39:48 -05:00
2026-06-27 23:38:32 -05:00
2026-05-10 01:18:49 -05:00
2026-04-08 01:43:04 -05:00
2025-12-18 23:23:21 -08:00
2026-06-30 00:19:48 -04:00
2026-06-27 23:38:32 -05:00
2026-06-26 15:29:52 -05:00
2026-05-14 18:18:44 -05:00
2026-04-08 18:28:20 -05:00
2025-12-18 23:23:21 -08:00
2025-12-18 23:23:21 -08:00
2026-06-27 23:38:32 -05:00
2026-04-12 01:39:01 -05:00
2025-12-18 23:23:21 -08:00
2026-03-27 01:26:49 -05:00
2026-03-22 03:15:05 -05:00
2025-12-18 23:23:21 -08:00
2025-12-18 23:23:21 -08:00
2026-03-27 01:26:49 -05:00
2025-12-18 23:23:21 -08:00
2026-04-01 15:42:32 -05:00
2025-12-18 23:23:21 -08:00

openpilot tools

StarPilot branch-specific shorthand and split-build workflow: STARPILOT_DEVELOPMENT.md

System Requirements

openpilot is developed and tested on Ubuntu 24.04, which is the primary development target aside from the supported embedded hardware.

Most of openpilot should work natively on macOS. On Windows you can use WSL for a nearly native Ubuntu experience. Running natively on any other system is not currently recommended and will likely require modifications.

Native setup on Ubuntu 24.04 and macOS

Follow these instructions for a fully managed setup experience. If you'd like to manage the dependencies yourself, just read the setup scripts in this directory.

1. Clone openpilot

git clone https://github.com/commaai/openpilot.git

2. Run the setup script

cd openpilot
tools/op.sh setup

3. Activate a Python shell Activate a shell with the Python dependencies installed:

source .venv/bin/activate

4. Build openpilot

scons -u -j$(nproc)

WSL on Windows

Windows Subsystem for Linux (WSL) should provide a similar experience to native Ubuntu. WSL 2 specifically has been reported by several users to be a seamless experience.

Follow these instructions to setup the WSL and install the Ubuntu-24.04 distribution. Once your Ubuntu WSL environment is setup, follow the Linux setup instructions to finish setting up your environment. See these instructions for running GUI apps.

NOTE: If you are running WSL and any GUIs are failing (segfaulting or other strange issues) even after following the steps above, you may need to enable software rendering with LIBGL_ALWAYS_SOFTWARE=1, e.g. LIBGL_ALWAYS_SOFTWARE=1 selfdrive/ui/ui.

CTF

Learn about the openpilot ecosystem and tools by playing our CTF.

Directory Structure

├── cabana/             # View and plot CAN messages from drives or in realtime
├── camerastream/       # Cameras stream over the network
├── joystick/           # Control your car with a joystick
├── lib/                # Libraries to support the tools and reading openpilot logs
├── plotjuggler/        # A tool to plot openpilot logs
├── replay/             # Replay drives and mock openpilot services
├── scripts/            # Miscellaneous scripts
├── serial/             # Tools for using the comma serial
├── sim/                # Run openpilot in a simulator
└── webcam/             # Run openpilot on a PC with webcams