rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
Loading...
Searching...
No Matches
parsing.py File Reference

Go to the source code of this file.

Namespaces

namespace  rosros
 Simple unified interface to ROS1 / ROS2.
 
namespace  rosros.parsing
 Utilities for ROS message definition texts.
 

Functions

 rosros.parsing.calculate_definition_hash (typename, definition, subdefs=())
 Returns MD5 hash for message / service type definition.
 
 rosros.parsing.get_ros2_message_definition (typename, full=True)
 Returns ROS2 message/service type definition full text.
 
 rosros.parsing.get_ros2_message_definition_idl (typename)
 Returns ROS2 message type definition parsed from IDL file.
 
 rosros.parsing.get_ros2_service_definition (typename)
 Returns ROS2 service type definition full text.
 
 rosros.parsing.get_ros2_service_definition_idl (typename)
 Returns ROS2 service type definition parsed from IDL file.
 
 rosros.parsing.make_definition_hash_text (pkg, definition, subdefs=())
 Returns text for calculating message or service request/response type definition.
 
 rosros.parsing.parse_definition_subtypes (typedef)
 Returns subtype names and type definitions from a full message definition.
 
 rosros.parsing.rosidl_format_comment (text)
 Returns annotation text formatted with comment prefixes and escapes.
 
 rosros.parsing.rosidl_format_idl_type (typeobj, msgpackage, constant=False)
 Returns canonical type name for ROS2 IDL parser entity, like "uint8" or "nav_msgs/Path".
 
 rosros.parsing.rosidl_format_message_content (msgidl)
 Returns message IDL as .msg text.
 
 rosros.parsing.rosidl_get_comments (obj)
 Returns all comments for annotatable object, as [text, ].