Support loading DAE files using data uri
See original GitHub issueDescription
I tried publishing the meshes of a robot as visualization markers (visualization_msgs/Marker
) to a topic, which works for STL files but not DAE files. My robot model is the UR3e, directly off of the official ROS repos. The STL files are collision geometry, and the DAE files are visual geometry.
- Version: https://studio.foxglove.dev/
- OS: Windows 10, Chrome latest
Steps To Reproduce
The visual meshes are published to a topic using data URIs of the following format: data:model/vnd.collada+xml;base64,...
. For STL meshes (which work), the data URI is data:application/sla;base64,...
, so it seems there’s a problem with data type identification.
To reproduce:
- Launch ROS+MoveIt+UR3e using this docker compose file
- Using
compas_fab
in a Python environment, run this script
Expected Behavior
Loaded meshes.
Actual Behavior
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Convert dae to scn at runtime in i… | Apple Developer Forums
First load a DAE file from the file system using SCNScene's init(url:options:) together with NSOpenPanel's urls property. Then save as an SCN file...
Read more >Load Collada/image data stored in a multipart file into three.js
I have Collada and related image data stored in a multipart file that is outputted from an application. I need to be able...
Read more >pycollada Documentation - Read the Docs
The library allows you to load a COLLADA file and interact with ... Contains a string with a URI referencing the source data...
Read more >Loading Any File Type - Babylon.js Documentation
Babylon.JS supports directly loading models from base64 encoded Data URLs without needing to create an object URL or download the file. When loading...
Read more >The dae or Collada file loader in threejs
This is a post on using the ColladaLoader which can be added on top of three.js to load Collada files with a DAE...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gonzalocasas I converted your question to a discussion at https://github.com/foxglove/studio/discussions/3139
Thank you for the report! I’m going to convert this to a feature request since it’s more of a missing feature within the app. We currently have a MIME type check for STL files but not DAE:
https://github.com/foxglove/studio/blob/34f8298432af3268eb671f96768b9914b41686b4/packages/studio-base/src/panels/ThreeDimensionalViz/commands/MeshMarkers.tsx#L65-L73