3528b5515f
refer to: https://docs.px4.io/v1.12/en/middleware/uorb.html - orb_open: do real work for advertise() and subscribe(), if thre is no user, register topic first, then save meta in driver; only first user can successfully set buffer number. - orb_exists: check topic state, if topic only has subscribers, return "not exists". Signed-off-by: jihandong <jihandong@xiaomi.com>
42 lines
666 B
Plaintext
42 lines
666 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menuconfig UORB
|
|
tristate "uorb(micro object request broker)"
|
|
depends on SENSORS && USENSOR
|
|
default n
|
|
|
|
if UORB
|
|
|
|
config DEBUG_UORB
|
|
bool "uorb debug output"
|
|
default n
|
|
|
|
if DEBUG_UORB
|
|
|
|
config UORB_ALERT
|
|
bool "uorb panic output"
|
|
default n
|
|
depends on DEBUG_ALERT
|
|
|
|
config UORB_ERROR
|
|
bool "uorb error output"
|
|
default n
|
|
depends on DEBUG_ERROR
|
|
|
|
config UORB_WARN
|
|
bool "uorb warn output"
|
|
default n
|
|
depends on DEBUG_WARN
|
|
|
|
config UORB_INFO
|
|
bool "uorb info output"
|
|
default n
|
|
depends on DEBUG_INFO
|
|
|
|
endif # DEBUG_UORB
|
|
|
|
endif # UORB
|