!REDIRECT “https://docs.px4.io/master/ko/middleware/modules_template.html“
모듈 참고: 서식
모듈
Source: templates/template_module
설명
제공하는 모듈의 기능을 설명하는 절입니다.
start/stop/status 기능을 지닌 백그라운드 작업 실행 모듈의 서식입니다.
구현
이 모듈의 고수준 구현체를 설명하는 절입니다.
예제
CLI 사용 예:
module start -f -p 42
Usage
module <command> [arguments...]
Commands:
start
[-f] Optional example flag
[-p <val>] Optional example parameter
default: 0
stop
status print status info
work_item_example
Source: examples/work_item
설명
Example of a simple module running out of a work queue.
Usage
work_item_example <command> [arguments...]
Commands:
start
stop
status print status info