Structs§
Enums§
- IdlKind
- MsgType
Ref - RosPrimitive
- Strongly-typed enum of every ROS2 IDL primitive. This is the
single source of truth for how a primitive maps to wire formats
across generators. Both
proto_genandmcp_python_genconsume the methods on this enum so a new primitive only has to be added here once.
Functions§
- format_
resolve_ error - index_
msg_ files - index_
srv_ files - infer_
package_ name - infer_
srv_ package_ name - is_
ros_ primitive - Back-compat alias around the canonical
RosPrimitive::parse. Kept because external callers may still spell it this way. - package_
aliases - parse_
msg_ field_ type - Parse the type-side of one .msg field line. Returns
(type_ref, is_array, array_size, string_max_len). - parse_
msg_ file - parse_
qualified_ type_ ref - Like
parse_ridl_type_refbut also returns whether the middle wasmsgorsrv. ReturnsNonefor any other middle segment or for shapes that aren’tpkg/<msg|srv>/Name. - parse_
ridl_ type_ ref - Parse a fully-qualified IDL type ref of the form
pkg/msg/Nameorpkg/srv/Name. Returns(package, name)— the middle segment is dropped after validation. Useparse_qualified_type_refif the caller needs to know whether it was a msg or srv reference. - parse_
srv_ file - ros_
msg_ type_ fmt