gkjohnson / urdf-loaders

URDF Loaders for Unity and THREE.js with example ATHLETE URDF Files open sourced from NASA JPL
https://gkjohnson.github.io/urdf-loaders/javascript/example/bundle/index.html
Apache License 2.0
471 stars 122 forks source link

The robot arm renders an error in the browser #284

Closed chengSenLong closed 8 months ago

chengSenLong commented 8 months ago

Hello, I'm implementing an react app in which one of the components uses this package to display urdf in a browser. When I want to render urdf into the scene, an error occurs I'm a bit lost. Please help me take a look.Thanks My react component code, error code location and error message are as follows

微信图片_20240312150958 微信图片_20240312151007 微信图片_20240312151013 微信图片_20240312151020
gkjohnson commented 8 months ago

Please provide a live example using something like CodeSandbox of JS Fiddle. There's not enough information here to help.

chengSenLong commented 8 months ago

Oh, sorry. I found that the file path of urdf was wrong. It should be placed under public. This problem has been solved.

Next I will try to control the echo and delivery of the robot arm joints.

Thanks for your help.

gkjohnson commented 8 months ago

If you have a new problem please open a new issue with a working demonstration of what's happening.