|
nros C API
Lightweight ROS 2 client for embedded real-time systems
|
Topic publishers and subscriptions. More...
Files | |
| file | publisher.h |
| Topic publisher API. | |
| file | subscription.h |
| Topic subscription API. | |
Topic publishers and subscriptions.
rcl_publisher_t sends typed (or raw-CDR) messages on a topic; rcl_subscription_t receives them through a callback registered on the executor, which owns the subscriber. A subscription polled manually is the separate type rclc_polling_subscription_t, drained with rclc_polling_subscription_take_serialized.