|
nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
|
The M type parameter on nros::Publisher<M>, nros::Subscription<M>, etc. must satisfy the following concept (provided automatically by code generated via nano_ros_generate_interfaces(... LANGUAGE CPP)):
Likewise service types S expose nested Request and Response types (each itself satisfying the message-type concept) plus S::TYPE_NAME and S::TYPE_HASH. Action types A expose nested Goal, Feedback, and Result.
You should never write these by hand. The codegen tool emits conformant C++ headers from .msg / .srv / .action files.