sunnypilot v2026.002.000
version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
This commit is contained in:
commit
de77c89cf6
3995 files changed
+1260688
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#include <cassert>
|
||||
|
||||
#include "selfdrive/pandad/pandad.h"
|
||||
#include "common/swaglog.h"
|
||||
#include "common/util.h"
|
||||
#include "common/hardware/hw.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
LOGW("starting pandad");
|
||||
|
||||
if (!Hardware::PC()) {
|
||||
int err;
|
||||
err = util::set_realtime_priority(54);
|
||||
assert(err == 0);
|
||||
err = util::set_core_affinity({3});
|
||||
assert(err == 0);
|
||||
}
|
||||
|
||||
std::string serial = (argc > 1) ? argv[1] : "";
|
||||
pandad_main_thread(serial);
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user