diff --git a/typescript/ws-protocol-examples/src/examples/mcap-record.ts b/typescript/ws-protocol-examples/src/examples/mcap-record.ts index 3f569323..43cf2d1b 100644 --- a/typescript/ws-protocol-examples/src/examples/mcap-record.ts +++ b/typescript/ws-protocol-examples/src/examples/mcap-record.ts @@ -160,6 +160,7 @@ async function main( json: "jsonschema", protobuf: "protobuf", flatbuffer: "flatbuffer", + omgidl: "omgidl", ros1: "ros1msg", ros2: "ros2msg", }[channel.encoding]; @@ -174,6 +175,7 @@ async function main( let schemaData: Uint8Array | undefined; switch (schemaEncoding) { case "jsonschema": + case "omgidl": case "ros1msg": case "ros2msg": schemaData = textEncoder.encode(channel.schema);