|
nros C API
Lightweight ROS 2 client for embedded real-time systems
|
#include <nros_generated.h>

Data Fields | |
| struct ActionClientInternal | _internal |
| uint64_t | _opaque [ACTION_CLIENT_OPAQUE_U64S] |
| uint8_t | action_name [256] |
| size_t | action_name_len |
| void * | context |
| nros_feedback_callback_t | feedback_callback |
| nros_goal_response_callback_t | goal_response_callback |
| const struct nros_node_t * | node |
| nros_result_callback_t | result_callback |
| nros_sched_context_id_t | sched_context_id |
| enum nros_action_client_state_t | state |
| uint8_t | type_hash [128] |
| size_t | type_hash_len |
| uint8_t | type_name [256] |
| size_t | type_name_len |
Action client structure.
| struct ActionClientInternal nros_action_client_t::_internal |
Internal state (arena entry index + executor pointer). Phase 87.5: Typed C-ABI handle field.
| uint64_t nros_action_client_t::_opaque[ACTION_CLIENT_OPAQUE_U64S] |
Phase 122.3.c.6.b — inline opaque storage for the L1 polling-mode ActionClientCore. Zeroed in L2 mode; populated by nros_action_client_init_polling.
| uint8_t nros_action_client_t::action_name[256] |
Action name storage
| size_t nros_action_client_t::action_name_len |
Action name length
| void* nros_action_client_t::context |
User context pointer
| nros_feedback_callback_t nros_action_client_t::feedback_callback |
Feedback callback
| nros_goal_response_callback_t nros_action_client_t::goal_response_callback |
Goal response callback (for async send_goal)
| const struct nros_node_t* nros_action_client_t::node |
Pointer to parent node
| nros_result_callback_t nros_action_client_t::result_callback |
Result callback
| nros_sched_context_id_t nros_action_client_t::sched_context_id |
Phase 189.M3.3.b — scheduling-context slot to bind the action client's executor handle to. 0 = inherit the executor / Node default; set via nros_action_client_init_with_options. When non-zero, nros_executor_register_action_client binds the handle after registration. No effect on the L1 polling path.
| enum nros_action_client_state_t nros_action_client_t::state |
Current state
| uint8_t nros_action_client_t::type_hash[128] |
Type hash storage
| size_t nros_action_client_t::type_hash_len |
Type hash length
| uint8_t nros_action_client_t::type_name[256] |
Type name storage
| size_t nros_action_client_t::type_name_len |
Type name length