Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpage empty for visualizing URDF #28

Open
kavikode opened this issue Sep 23, 2024 · 0 comments
Open

Webpage empty for visualizing URDF #28

kavikode opened this issue Sep 23, 2024 · 0 comments

Comments

@kavikode
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant