Comments (4)
I have the same issue when trying to load URDF files to add a robot to the environment. I also get 404 errors for every .stl and .dae file the robot uses. The GET requests seem to fail, even if i use the shipped Franka model. I can supply furhter information if needed. The error already arises when i try:
import roboticstoolbox as rp
panda = rp.models.Panda()
panda.plot(q=panda.qr)
from swift.
I am not sure if this is the same issue but I am experiencing something similar, whenever I add the Mesh
file to my environment everything blocks. And the application dies:
This is the code that does that:
from spatialgeometry import Mesh
poly_mesh = Mesh('demofile.stl')
poly_mesh.color = (0.9,0.6,0.0,0.5)
env.add(poly_mesh)
However, in my case the absolute path resolved the issue:
# robot visualisation
from spatialgeometry import Mesh
poly_mesh = Mesh(os.path.join(os.getcwd(),'demofile.stl'))
poly_mesh.color = (0.9,0.6,0.0,0.5)
env.add(poly_mesh)
P.S. this does not happen with the earlier versions of Swig and spsatialgeometry package
from swift.
Possibly related to this comment here? f6c8cde#r116060265
from swift.
I believe I get a similar issue in the tutorial notebook: part 1 topic 3. Seems like there's a forward slash on some of the paths before the drive. I'm on Windows 11 using jupyter notebooks through anaconda.
from swift.
Related Issues (20)
- How to add own mesh object HOT 1
- Recording with Swift freezes HOT 1
- Error in documentation HOT 1
- file_name argument in Swift.screenshot does nothing.
- update slider values with an event
- Swift Environment Elements Do Not Update
- Swift environment doesn't start on Windows 10 HOT 5
- Member Base Unknown
- Large cache accumulation
- Resolved-Rate Motion Control
- "Could not connect to the Swift simulator" in Colab/Remote Notebook HOT 2
- Can't load .glb meshes HOT 3
- xy zero plane is opaque when viewed from above
- Application error: a client-side exception has occurred (see the browser console for more information). HOT 8
- Drawing lines/trajectories in Swift
- Qt5/Qt6 integration
- How to attach thing to the robot ?
- Swift elements bug HOT 2
- No tab opens when running on Mac HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift.