DynamicMessageField#
Fully qualified name: isaacsim::ros2::core::DynamicMessageField
-
struct DynamicMessageField#
Structure that encapsulates a dynamic message field.
Provides a flexible container for ROS 2 message fields with support for both ROS and OmniGraph data types, including hierarchical field names.
Public Functions
-
inline std::vector<std::string> names(char delimiter = ':')#
Splits the field name into hierarchical components.
Generates a list of field names by splitting the hierarchical name using the specified delimiter.
Note
The default delimiter is ‘:’ which matches how hierarchical fields are stored.
- Parameters:
delimiter – [in] Character used to split the name.
- Returns:
List of field names in hierarchical order.
Public Members
-
std::string name#
Field name.
Hierarchical names (e.g.: MESSAGE fields are unrolled and concatenated by
:).
-
uint8_t rosType#
ROS data type from rosidl_typesupport_introspection_c/field_types.h.
-
bool isArray#
Whether the field is an array.
-
std::string ognType#
OmniGraph data type name from omni.graph.docs.
-
inline std::vector<std::string> names(char delimiter = ':')#