vuer icon indicating copy to clipboard operation
vuer copied to clipboard

Webpage empty for visualizing URDF

Open kavikode opened this issue 5 months ago • 0 comments

Following the instructions in Ubuntu 22.04. I did

pip install -U 'vuer[all]==0.0.32-rc7'

gedit vuer_example.py with the contents:

from vuer import Vuer, VuerSession
from vuer.schemas import DefaultScene, Urdf

app = Vuer()

@app.spawn(start=True)
async def main(session: VuerSession):
    app.set @ DefaultScene(
        Urdf("assets/urdf/robotiq.urdf"),
    )
    while True:
        await session.sleep(0.1)

I run the script with python3 vuer_example.py

sudo apt-get install git-lfs git lfs install git lfs clone https://github.com/vuer-ai/assets cd assets/robots make # Downloads example robot URDFs

I open the browser to the http://localhost:8012

There is no robot visible anywhere and it is empty screen. Please help.

kavikode avatar Sep 23 '24 03:09 kavikode