2023-09-27 15:45:31 -07:00
|
|
|
#include "system/camerad/cameras/camera_common.h"
|
|
|
|
|
|
|
|
#include <cassert>
|
|
|
|
|
|
|
|
#include "common/params.h"
|
|
|
|
#include "common/util.h"
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) {
|
2024-06-11 01:36:40 +00:00
|
|
|
int ret = util::set_realtime_priority(53);
|
2023-09-27 15:45:31 -07:00
|
|
|
assert(ret == 0);
|
|
|
|
ret = util::set_core_affinity({6});
|
|
|
|
assert(ret == 0 || Params().getBool("IsOffroad")); // failure ok while offroad due to offlining cores
|
|
|
|
|
|
|
|
camerad_thread();
|
|
|
|
return 0;
|
|
|
|
}
|