nuttx-apps/examples/microros_pub/Kconfig
Arjav Patel 1081225509 examples/microros_pub: Add minimal Int32 publisher example.
End-to-end exercise of the micro-ROS stack on NuttX: calls
microros_transport_init() to register the configured backend,
brings up rclc_support / node / publisher, publishes 30
std_msgs/Int32 messages on /nuttx_pub at 1 Hz, then tears the
stack down cleanly.

The example's Make.defs adds $(APPDIR)/system/microros/transport
to its own CFLAGS rather than the system/microros Make.defs, so
the transport-glue header path is not pushed into the global
search path for unrelated apps.

Serves as the smoke test for the transport layer and as a template
for downstream publisher apps.

Signed-off-by: Arjav Patel <arjav1528@gmail.com>
2026-06-02 00:15:25 +08:00

30 lines
764 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_MICROROS_PUB
tristate "micro-ROS int32 publisher example"
default n
depends on SYSTEM_MICROROS
---help---
Minimal micro-ROS publisher that creates a node and publishes
an std_msgs/Int32 every second on the topic /nuttx_pub. Used
to validate the NuttX-native transport layer end-to-end with
a micro-ROS agent.
if EXAMPLES_MICROROS_PUB
config EXAMPLES_MICROROS_PUB_PROGNAME
string "Program name"
default "microros_pub"
config EXAMPLES_MICROROS_PUB_PRIORITY
int "micro-ROS pub task priority"
default 100
config EXAMPLES_MICROROS_PUB_STACKSIZE
int "micro-ROS pub stack size"
default 8192
endif