vscode-ros: [bug] URDF Preview not rendering - Due to RobotWebTools.org being down.
(Please add appropriate labels)
- Windows: (Version)
- Linux: (Dist/Version)
- ROS 1: Dist
- ROS 2: Dist
<Version of the plugin>
i have a problem previewing the ROS URDF files in the vs code
<Copy the Version information from the
Help | About
menu>
what is the bug
<current behavior>
Repro steps
<how to reproduce the bug. Please attach sample files or github repo if appropriate.> 1. 2. 3.
expected behavior
<what you would expect to happen>
additional context
<any additional information would be helpful for a better understanding>
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 20 (9 by maintainers)
Closing this as it the new URDF previewer has been pushed to pre-release.
v0.9.4 with the new URDF preview has been pushed to Pre-release on the marketplace. You can select pre-release by going to the marketplace page and select “switch to pre-release”
RobotWebTools.org is down, which is where the pane is sourced. I’m working on contacting the owner to get an ETA for restoration of the website.
I’m also working on a rewrite of the pane to use Babylon.JS which doesn’t require an external website - but that’s a long lead time item.
It looks like RobotWebTools.org is down, which the vscode ROS extension depends on per the recommendation of the docs. Following up with the maintainers.
Upgrading from very old laptop to new 'you_beuty" i9 gaming laptop and having the same drama. Ubuntu 20.04, downloaded .dep and apt installed as per CODE website. URDF preview blank (same as above) but still functioning normal on older laptop. both connected through same wifi network. please help. note: long running project using Ubuntu 20.04 and noetic. so upgrading to newer Ubuntu distro’s unaplicable /for now
Thanks for the reply. Is there a way to copy required files over from old laptop with VS-code’s working URDF-preview plane?
update: I have renamed folders ~/.config/Code and ~/.vscode and then replaced them with copied folders from old laptop with working urdf pre-view. Unfortunately it didn’t work. Is there a way to get this to work, please.
Hi, I have the same Issue. ROS Preview URDF, renders a completely blank screen. No Grids. Tried re-installing the ROS plugin, and vscode too. No Luck. Need help …
ROS1: Noetic Linux: 20.04 VScode: 1.76.2 ROS Plugin: 0.9.1
@luewh I created this to track this fix - https://github.com/ms-iot/vscode-ros/issues/1084
@luewh Thanks for the feedback. I’ve been on the fence about usingxacro on urdfs. However, a significant portion of urdfs are actually xacros - including in mainline ROS components such as Nav2 and Turtlebot. However, there are many cases where xacro isn’t available - such as on the ROS release from Open Robotics or RoboStack. I’m considering a solution which introspects the URDF and uses Xacro only when it detects xacro tags - then warn when Xacro isn’t stalled.
@Tjaart-Hobby Thank you for your interest! The URDF previewer is mostly working in the current CI builds - https://github.com/ms-iot/vscode-ros/actions/runs/4812717992, which you can sideload by downloading vscode-ros-dev-vsix. There are a few bugs which I’d like to resolve before pushing to the pre-release pipeline.
Any updates on this? I could really use this feature.
I managed to find most of the js files required here
All are there except Threejs’s
ColladaLoader.js
. And most of the files are minified. But that may not pose an issue. Navigating through wayback machine is a bit of a pain, so I’ve also attached files here:EventEmitter2.min.txt ros3d.min.txt roslib.min.txt STLLoader.txt three.min.txt
Note: I renamed the file extensions to
.txt
so Github will accept them. Just replace.txt
with.js
.You probably don’t even need these files as the libraries are still available, its just a matter of finding a new CDN.
roslib CDN ros3d CDN EventEmitter2 CDN
Maybe you can use these as a temporary fix? Thanks 😄