Git Product home page Git Product logo

Comments (4)

johannkipping avatar johannkipping commented on August 28, 2024

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.

askuric avatar askuric commented on August 28, 2024

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:
image

image

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.

jacobvartanian avatar jacobvartanian commented on August 28, 2024

Possibly related to this comment here? f6c8cde#r116060265

from swift.

jpenaloza1211 avatar jpenaloza1211 commented on August 28, 2024

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.

Screenshot 2023-08-10 171953

from swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.