#include #include "selfdrive/pandad/pandad.h" #include "common/swaglog.h" #include "common/util.h" #include "system/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::vector serials(argv + 1, argv + argc); pandad_main_thread(serials); return 0; }