rosapi.objectutils module

rosapi.objectutils.get_action_feedback_typedef_recursive(actiontype)

Return a list of typedef dicts for this type and all contained type fields.

rosapi.objectutils.get_action_goal_typedef_recursive(actiontype)

Return a list of typedef dicts for this type and all contained type fields.

rosapi.objectutils.get_action_result_typedef_recursive(actiontype)

Return a list of typedef dicts for this type and all contained type fields.

rosapi.objectutils.get_service_request_typedef(servicetype)

Return a typedef dict for the service request class for the specified service type.

rosapi.objectutils.get_service_request_typedef_recursive(servicetype)

Return a list of typedef dicts for this type and all contained type fields.

rosapi.objectutils.get_service_response_typedef(servicetype)

Return a typedef dict for the service response class for the specified service type.

rosapi.objectutils.get_service_response_typedef_recursive(servicetype)

Return a list of typedef dicts for this type and all contained type fields.

rosapi.objectutils.get_typedef(type_name)

Get the typedef for a message type.

A typedef is a dict containing the following fields:
  • string type

  • string[] fieldnames

  • string[] fieldtypes

  • int[] fieldarraylen

  • string[] examples

  • string[] constnames

  • string[] constvalues

get_typedef will return a typedef dict for the specified message type.

rosapi.objectutils.get_typedef_full_text(ty)

Return the full text (similar to gendeps –cat) for the specified message type.

rosapi.objectutils.get_typedef_recursive(type_name)

Return a list of typedef dicts for this type and all contained type fields.