-
Notifications
You must be signed in to change notification settings - Fork 834
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
ROS almost works now, but not quite... #1450
Comments
Seems like a problem related to ipv6? Have you tried disabling ipv6 in windows to verify? Running ROS would really be a step forward. |
Well disabling it from the adapter settings didn't help. ipconfig shows no ipv6 addresses, but I get the same error. Might have to disable ipv6 more deeply somehow... but windows warns against doing that, I suspect a bunch of things may break... |
I'd guess, the problem is that your ipv6 address is still cached on the dns-server and/or the local cache.. |
Related: #1391? |
@lovettchris: unless things have changed very recently, even with |
@gavanderhoorn - We are glad to know that things are progressing with |
I just checked roswtf on my installation of kinectic. Since I disabled ipv6, the issue mentioned here does not show. However, the issue mentioned by @gavanderhoorn is present - see also #1391 The warning in the end is relevant
|
@lovettchris - Thanks for your post. Please try your scenario on 15007 and let us know if it still doesn't work. |
On 15007 roswtf still complains that /rosout is not available. On the other hand, the ipv6 issue reported by @lovettchris seems to be fixed since there are no errors even though ipv6 is enabled.
|
@janbernloehr - Thanks for trying this out in recent build and the update. Can you collect and share the strace of the failing
|
I created straces of roscore and roswtf on 15014. |
I have tested in build 15019, still not working. Made straces from roscore and roswtf as well. |
any update? with the latest windows creator update? |
See #1391 for the latest update |
I have used the instruction for Ubuntu ROS installation to install ROS on Windows 10 Bash (WSL). It did install without complaining. I am also able to start the ROS master using roscore. However, I am not having so much luck with the debug (visualization tools). RViz just crashed after a segmentation fault and Gazebo open with a blank (greyed out) visualization window. Based on comments above, I see that its not expected to work rightaway. Perhaps this has to do something with OpenGL + NVIDIA (GeForce 920M) interface issues. Maybe compiling from source in WSL is the best option - but I am too faint of heart to try something like that. My system configuration is listed below for reference. Apologize for the long post.
System config:
|
I see from your output that you are using ros kinetic. The necessary patch, however, is only available for ros lunar. Also, when I run your glxinfo statement I get Are you sure you didnt install any custom glx stuff which may interfere here? |
Thanks Jan. For the record, installation based on ROS lunar resolved the ros_comm issue. However, WSL still seems to struggle with getting Gazebo visualization to work. Same setup for ROS lunar replicated on Raspberry Pi (display tunneled over X11 forwarding) seems to open Gazebo with visualization just fine. I opened a thread on Gazebo answers on this. |
@svanimisetti - Thanks for your post. WSL's focus so far as been command line tools. Although, within that focus, graphical tools have been able to work with X11 forwarding. If you are having problems with the visualization on ROS, that would be a different issue than this one and I would recommend opening a new issue for that. |
I've been following this thread and want to say that your blog post for ROS on WSL is great! Thanks @janbernloehr |
The Robot Operating System almost works now with latest windows insider build 10.00.14965.1001, so I can get past the RAW socket problem, yay. But ROS nodes are not talking to each other for some reason. There is a tool called "roswtf" (yeah, that's the real name :-) which reports an interesting error:
ERROR Local network configuration is invalid: Local hostname [CLOVETT13] resolves to [2001:4898:d8:47:f136:8c9c:2110:ce3f], which does not appear to be a local IP address ['10.137.62.126', '127.0.0.1', '10.0.0.228'].
It should not report any errors. Perhaps this is why the ros nodes are not yet talking.
I'm on Windows build 10.00.14965.1001, 64-bit.
Steps to repo:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
sudo apt-get update
sudo apt-get -y install ros-indigo-desktop-full
sudo rosdep init
rosdep update
roswtf
Email me at clovett at microsoft.com to get the strace, it is rather large.
The text was updated successfully, but these errors were encountered: