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

Action type information.
| struct rclc_action_endpoint_hashes_t rclc_action_type_t::endpoint_hashes |
Issue 1913 — the hash each endpoint is keyed on (an older generator's designated initializer leaves it NULL).
| rclc_message_deserialize_fn_t rclc_action_type_t::feedback_deserialize |
The feedback part's deserialiser.
| size_t rclc_action_type_t::feedback_message_feedback_offset |
offsetof(<Action>_FeedbackMessage, feedback).
| size_t rclc_action_type_t::feedback_message_size |
sizeof(<Action>_FeedbackMessage).
| rclc_message_serialize_fn_t rclc_action_type_t::feedback_serialize |
The feedback part's serialiser.
| size_t rclc_action_type_t::feedback_serialized_size_max |
Maximum serialized size of feedback message
| size_t rclc_action_type_t::get_result_response_result_offset |
offsetof(<Action>_GetResult_Response, result) — after the int8 status, at the Result type's own alignment, so only the compiler that laid the struct out can state it.
| size_t rclc_action_type_t::get_result_response_size |
sizeof(<Action>_GetResult_Response).
| rclc_message_deserialize_fn_t rclc_action_type_t::goal_deserialize |
The goal part's deserialiser.
| rclc_message_serialize_fn_t rclc_action_type_t::goal_serialize |
phase-492 W8 — the goal part's serialiser (NULL in a descriptor built from names alone). Generated as <pkg>__action__<Name>__nros_type, what ROSIDL_GET_ACTION_TYPE_SUPPORT(pkg, action, Name) yields.
| size_t rclc_action_type_t::goal_serialized_size_max |
Maximum serialized size of goal message
| rclc_message_deserialize_fn_t rclc_action_type_t::result_deserialize |
The result part's deserialiser.
| rclc_message_serialize_fn_t rclc_action_type_t::result_serialize |
The result part's serialiser.
| size_t rclc_action_type_t::result_serialized_size_max |
Maximum serialized size of result message
| size_t rclc_action_type_t::send_goal_request_goal_offset |
offsetof(<Action>_SendGoal_Request, goal) — where the goal the executor deserialises lands, after the 16-byte goal id.
| size_t rclc_action_type_t::send_goal_request_size |
phase-515 C4a — sizeof(<Action>_SendGoal_Request), the generated envelope rclc's rclc_executor_add_action_server takes an array of. 0 in a descriptor from an older generator (or built from names alone): the envelope API refuses it rather than guess a layout.
| const char* rclc_action_type_t::type_hash |
Action type hash
| const char* rclc_action_type_t::type_name |
Action type name (e.g., "example_interfaces::action::Fibonacci")