Package detail

@jony_starc/mcap-support

jony_starc13MPL-2.01.0.3

Common schema and message parsing logic for use with MCAP and related protocols

readme

Note

Dependency Installation

npm i --save @foxglove/wasm-bz2 @protobufjs/base64 flatbuffers flatbuffers_reflection wasm-lz4

for RosMsgDefinition

npm i @foxglove/rosmsg@v3.1.0

ISSUE 01

  • change the import path
// from
import { foxgloveMessageSchemas, generateJsonSchema } from "@foxglove/schemas";
// to
import {
  foxgloveMessageSchemas,
  generateJsonSchema,
} from "@foxglove/schemas/internal";

add missing dependencies

npm i @foxglove/rosmsg-serialization @foxglove/rosmsg2-serialization
# for `Mcap0Types`
npm i @mcap/core@0.2.1

install a local module using npm

npm install .\@types\zstd-codec\
npm install flatbuffers@2.0.6 flatbuffers_reflection@0.0.1

bfbs (binary flatbuffer schema) files.

fixtures refer to a fixed state or environment that is set up before executing tests. They are used to ensure that tests have a consistent and repeatable context, which is crucial for obtaining reliable results