nuttx-apps/examples/microros_sub/Kconfig
Arjav Patel c106a02b58 examples/microros_sub: Add minimal Int32 subscriber example.
Mirror of microros_pub for the receive direction.  Creates a node,
subscribes to /nuttx_sub with std_msgs/Int32, drives an rclc_executor
spin loop, and prints each received value.  Exercises the new
rclc_executor + subscription callback path on top of the
microros_transport library shipped in apps/system/microros.

Validates the NuttX-native transport in the agent->client direction
end-to-end against a micro-ROS agent + ros2 topic pub on the host.

Signed-off-by: Arjav Patel <arjav1528@gmail.com>
2026-06-04 14:30:34 +08:00

31 lines
868 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_SUB
tristate "micro-ROS int32 subscriber example"
default n
depends on SYSTEM_MICROROS
---help---
Minimal micro-ROS subscriber that creates a node, subscribes to
the topic /nuttx_sub with std_msgs/Int32, and prints each
received value. Drives an rclc_executor spin loop and is used
together with microros_pub (or any external publisher) to
validate the NuttX-native transport in the receive direction.
if EXAMPLES_MICROROS_SUB
config EXAMPLES_MICROROS_SUB_PROGNAME
string "Program name"
default "microros_sub"
config EXAMPLES_MICROROS_SUB_PRIORITY
int "micro-ROS sub task priority"
default 100
config EXAMPLES_MICROROS_SUB_STACKSIZE
int "micro-ROS sub stack size"
default 8192
endif