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

issue with meshcat #22192

Open
Dawitsco opened this issue Nov 15, 2024 · 1 comment
Open

issue with meshcat #22192

Dawitsco opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels
component: geometry illustration What and how geometry gets communicated to external visualizers type: bug

Comments

@Dawitsco
Copy link

What happened?

I have issues with the meshcat local serve not opening in my browser(Chrome). I followed the drake tutorial on "Authoring a Multibody Simulation" I noticed when the visualizer is set to the class ModelVisualizer(meshcat=meshcat) and visualizer.Run() is called the meshcat opens but when i use this approach
AddDefaultVisualization(builder,meshcat)
diagram =builder.Build()
simulate = Simulator(diagram)
simulate.Initialize()
meshcat.StartRecording()
simulate.AdvanceTo(2)
meshcat.PublishRecording()
it provides the meshcat listening link but when i try to open in my browser it says "the site can't be reached". any solution to this. I am using ubuntu and using VScode IDE

Version

No response

What operating system are you using?

Ubuntu 22.04

What installation option are you using?

pip install drake

Relevant log output

No response

@jwnimmer-tri jwnimmer-tri self-assigned this Nov 15, 2024
@jwnimmer-tri jwnimmer-tri added the component: geometry illustration What and how geometry gets communicated to external visualizers label Nov 15, 2024
@jwnimmer-tri
Copy link
Collaborator

For reasons I don't fully understand, somehow using Meshcat and VSCode together can sometimes be troublesome.

For starters, please try to reproduce the problem without using VSCode.

If you can still reproduce the problem, then please post instructions here for how we (the Drake developers) can reproduce the problem for ourselves. The only way we can fix bugs is when the bug report contains enough detail for us to see the the problem for ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: geometry illustration What and how geometry gets communicated to external visualizers type: bug
Projects
None yet
Development

No branches or pull requests

2 participants