3bd5475499
version: sunnypilot v2026.002.000 (staging) date: 2026-06-05T03:53:22 master commit: 46b9253729193e47a8be99154bae41c35359a373
16 lines
397 B
C++
16 lines
397 B
C++
#include "system/camerad/cameras/camera_common.h"
|
|
|
|
#include <cassert>
|
|
|
|
#include "common/params.h"
|
|
#include "common/util.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
// doesn't need RT priority since we're using isolcpus
|
|
int ret = util::set_core_affinity({6});
|
|
assert(ret == 0 || Params().getBool("IsOffroad")); // failure ok while offroad due to offlining cores
|
|
|
|
camerad_thread();
|
|
return 0;
|
|
}
|