how to subscribe to data from any MCAP file generalised in a 3D panel . #623
Replies: 1 comment
-
Hey @JaplaVikash, thanks for reaching out! So, just to be clear, the panels ALWAYS subscribe to "topics", not schemas. What the 3D does is read all If you want to have the same behavior on your custom panel, you should do the same. Watch the Here is an example of how to You can check in the 3D panel code where this logic is done: lichtblick/packages/suite-base/src/panels/ThreeDeeRender/ThreeDeeRender.tsx Lines 382 to 446 in 9fc03ea |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need help understanding how to subscribe to data from any MCAP file in a 3D panel. I am currently creating a custom panel using a custom schema, and it works correctly when I upload data that matches this schema.
However, when I upload a general MCAP file, the data appears in the default 3D panel, but not in my custom panel.
I want to generalize the subscription logic in my custom panel so it can read and display data from any MCAP file, regardless of the schema. Could someone please guide me on how to achieve this? Also, please suggest where I can find the relevant code for subscribing to MCAP data.
Beta Was this translation helpful? Give feedback.
All reactions