!REDIRECT “https://docs.px4.io/master/ko/middleware/modules_template.html

모듈 참고: 서식

모듈

Source: templates/template_module

설명

제공하는 모듈의 기능을 설명하는 절입니다.

start/stop/status 기능을 지닌 백그라운드 작업 실행 모듈의 서식입니다.

구현

이 모듈의 고수준 구현체를 설명하는 절입니다.

예제

CLI 사용 예:

  1. module start -f -p 42

Usage

  1. module <command> [arguments...]
  2. Commands:
  3. start
  4. [-f] Optional example flag
  5. [-p <val>] Optional example parameter
  6. default: 0
  7. stop
  8. status print status info

work_item_example

Source: examples/work_item

설명

Example of a simple module running out of a work queue.

Usage

  1. work_item_example <command> [arguments...]
  2. Commands:
  3. start
  4. stop
  5. status print status info