roslibrust_codegen 0.20.0

An library for generating rust type definitions from ROS IDL files
Documentation
{
  "type_description_msg": {
    "type_description": {
      "type_name": "example_interfaces/srv/AddTwoInts",
      "fields": [
        {
          "name": "request_message",
          "type": {
            "type_id": 1,
            "capacity": 0,
            "string_capacity": 0,
            "nested_type_name": "example_interfaces/srv/AddTwoInts_Request"
          },
          "default_value": ""
        },
        {
          "name": "response_message",
          "type": {
            "type_id": 1,
            "capacity": 0,
            "string_capacity": 0,
            "nested_type_name": "example_interfaces/srv/AddTwoInts_Response"
          },
          "default_value": ""
        },
        {
          "name": "event_message",
          "type": {
            "type_id": 1,
            "capacity": 0,
            "string_capacity": 0,
            "nested_type_name": "example_interfaces/srv/AddTwoInts_Event"
          },
          "default_value": ""
        }
      ]
    },
    "referenced_type_descriptions": [
      {
        "type_name": "builtin_interfaces/msg/Time",
        "fields": [
          {
            "name": "sec",
            "type": {
              "type_id": 6,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          },
          {
            "name": "nanosec",
            "type": {
              "type_id": 7,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          }
        ]
      },
      {
        "type_name": "example_interfaces/srv/AddTwoInts_Event",
        "fields": [
          {
            "name": "info",
            "type": {
              "type_id": 1,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": "service_msgs/msg/ServiceEventInfo"
            },
            "default_value": ""
          },
          {
            "name": "request",
            "type": {
              "type_id": 97,
              "capacity": 1,
              "string_capacity": 0,
              "nested_type_name": "example_interfaces/srv/AddTwoInts_Request"
            },
            "default_value": ""
          },
          {
            "name": "response",
            "type": {
              "type_id": 97,
              "capacity": 1,
              "string_capacity": 0,
              "nested_type_name": "example_interfaces/srv/AddTwoInts_Response"
            },
            "default_value": ""
          }
        ]
      },
      {
        "type_name": "example_interfaces/srv/AddTwoInts_Request",
        "fields": [
          {
            "name": "a",
            "type": {
              "type_id": 8,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          },
          {
            "name": "b",
            "type": {
              "type_id": 8,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          }
        ]
      },
      {
        "type_name": "example_interfaces/srv/AddTwoInts_Response",
        "fields": [
          {
            "name": "sum",
            "type": {
              "type_id": 8,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          }
        ]
      },
      {
        "type_name": "service_msgs/msg/ServiceEventInfo",
        "fields": [
          {
            "name": "event_type",
            "type": {
              "type_id": 3,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          },
          {
            "name": "stamp",
            "type": {
              "type_id": 1,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": "builtin_interfaces/msg/Time"
            },
            "default_value": ""
          },
          {
            "name": "client_gid",
            "type": {
              "type_id": 51,
              "capacity": 16,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          },
          {
            "name": "sequence_number",
            "type": {
              "type_id": 8,
              "capacity": 0,
              "string_capacity": 0,
              "nested_type_name": ""
            },
            "default_value": ""
          }
        ]
      }
    ]
  },
  "type_hashes": [
    {
      "type_name": "example_interfaces/srv/AddTwoInts",
      "hash_string": "RIHS01_e118de6bf5eeb66a2491b5bda11202e7b68f198d6f67922cf30364858239c81a"
    },
    {
      "type_name": "builtin_interfaces/msg/Time",
      "hash_string": "RIHS01_b106235e25a4c5ed35098aa0a61a3ee9c9b18d197f398b0e4206cea9acf9c197"
    },
    {
      "type_name": "example_interfaces/srv/AddTwoInts_Event",
      "hash_string": "RIHS01_32c1d140259c71e5c355115942bcb31df98b4330e4d906b1b75ccb1c9b3ce6c8"
    },
    {
      "type_name": "example_interfaces/srv/AddTwoInts_Request",
      "hash_string": "RIHS01_000c5fd92d6b2e1a05949348f584d6d652adea1e92d691792011ac2273508302"
    },
    {
      "type_name": "example_interfaces/srv/AddTwoInts_Response",
      "hash_string": "RIHS01_de5c030d4af33cba2749310b249737b631594703f9300495f48bffb2b44dcc2f"
    },
    {
      "type_name": "service_msgs/msg/ServiceEventInfo",
      "hash_string": "RIHS01_41bcbbe07a75c9b52bc96bfd5c24d7f0fc0a08c0cb7921b3373c5732345a6f45"
    }
  ]
}