런타임 구성

플래너는 처음 실행될 때 런타임 구성 파일 ~/.config/Zivid/Motion/RuntimeConfiguration.yml 을 생성합니다. 이 파일을 수정하여 플래너의 특정 런타임 동작을 변경할 수 있습니다.

필드

APILog

  • ContinuouslySaveSetObstaclesDetailsyes 로 설정하면 각 SetObstacles 호출에 대한 세부 정보를 개별적으로 저장할 수 있습니다. 이는 더 많은 메모리를 필요로 하며, 디스크에 저장되는 API 로그 파일의 누적 크기가 커질 수 있습니다. 이 기능은 일반적으로 디버깅 목적으로만 사용해야 합니다.

  • Folder 는 플래너에서 API 로그 파일을 내보낼 때 저장 위치를 재정의하는 데 사용됩니다. 지정하지 않으면 API 로그 파일은 기본 폴더인 <USER_HOME>/.cache/Zivid/Motion/State 에 저장됩니다.

Performance

  • FreeCpuThreads is used to override how many CPU threads are left free for you when the planner sizes its thread pool. On an 8-thread CPU, setting this to 2 gives the planner 6 threads. The planner always gets at least one thread. If unspecified, two threads are left free.

예제 파일

아래는 예시 파일입니다 RuntimeConfiguration.yml.

__version__: 1
RuntimeConfiguration:
  ApiLog:
    ContinuouslySaveSetObstaclesDetails: no
    Folder: __not_set__
  Performance:
    FreeCpuThreads: __not_set__