question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] URDF preview no longer work after VS Code update

See original GitHub issue

(Please add appropriate labels)

  • Windows: (Version)
  • Linux: Ubuntu 18.04
  • ROS 1: Melodic
  • ROS 2: Dist

<Version of the plugin> v0.6.7

<Copy the Version information from the Help | About menu> Version: 1.56.0 Commit: cfa2e218100323074ac1948c885448fdf4de2a7f Date: 2021-05-04T21:58:14.757Z Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Linux x64 4.15.0-142-generic

what is the bug

<current behavior> I was editing an URDF file and it was showing in the preview just fine. Then there were an automatic update of vscode. After that the the previewer stopped showing the model, only shows the ground plane and origin. Code was not modified. I tried rebooting the computer and restarting the vscode, non worked. I also tried several of the turtlebot3 urdf, seems like previewer only shows non-STL links.

Repro steps

<how to reproduce the bug. Please attach sample files or github repo if appropriate.>

  1. Open any urdf file in the previewer.
  2. bug appears

expected behavior

<what you would expect to happen> Expecting all links to show up, including STL/DAE links.

additional context

<any additional information would be helpful for a better understanding>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
ooeyguicommented, May 7, 2021

This is going to require more investigation. It looks like the URI scheme that vscode used changed. but the docs haven’t been updated.

We used to be able to handle vscode-resource:. Now it looks like it is through https and <guid>.vscode-webview-test.com. However, replacement doesn’t seem to find the local resources.

Plot thickens.

2reactions
ooeyguicommented, May 17, 2021

Thank you for reporting, 0.6.8 is now live with the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tip1 |How to visualize URDF file using vscode?!(ROS)
Try Out Visual Studio Code's URDF Previewer! Sometimes, running a software like Gazebo becomes tedious if you're trying to see that your ...
Read more >
Why won't my STL file render in visual studio code URDF ...
However with Visual Code URDF preview, I'm open with the 3D Format .dae and it's working properly. Could you please provide your STL...
Read more >
Troubleshoot Terminal launch failures - Visual Studio Code
If the terminal is being launched from an extension, report the issue to the extension by opening the issue reporter (Help > Report...
Read more >
Visual Studio Code URDF Previewer
Preview urdf files in VS Code! ... Once VS Code is installed, you will want to open a catkin workspace from there. For...
Read more >
Tutorial: Using a URDF in Gazebo
It would be nice if more work was put into URDFs to update them to the ... URDF format, one of which that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found