Go to Post Adversity should be seen as a challenge and not as an obstacle. :D - waialua359 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-12-2016, 00:05
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 14
Jdkmotorhead is an unknown quantity at this point
FRCSim on Windows 10 Linux Subsystem

When the Windows 10 Anniversary Update came out, Microsoft released the Windows Subsystem for Linux as a beta Windows feature, which essentially installs Ubuntu 14.04 LTS on your Windows 10 PC. A while ago I was experimenting with running FRCSim on an Ubuntu laptop I had laying around. Installing the Linux subsystem on my Windows 10 laptop got me thinking; would it be possible to install the simulator on Windows 10, using the Ubuntu subsystem? Has anyone tried this, or are there any reasons that it wouldn't work? And if you could get it to install, would you also have to install the Linux version of Eclipse in order to push code to it?
__________________
"It's not a software issue."
Reply With Quote
  #2   Spotlight this post!  
Unread 23-12-2016, 00:46
solomondg solomondg is offline
Registered User
FRC #2898 (Flying Hedgehogs)
Team Role: Programmer
 
Join Date: Aug 2016
Rookie Year: 2016
Location: Portland, Oregon
Posts: 7
solomondg is an unknown quantity at this point
Re: FRCSim on Windows 10 Linux Subsystem

Don't think it would work, for many reasons. Biggest one of which is that FRCSim/Gazebo is going to expect to be running under the X11 Window Server, which is basically how everything you see on linux that isn't a straight-up full screen console works (press ctrl-alt-f2 or ctrl-alt-fn-f2 on the ubuntu laptop to see what I mean, same thing but with f7 gets you back to GUI mode). As well, Gazebo is going to need GTK/QT (window theming), and a window manager, and all of that. You could probably get it to work with a ton of work and Xming or something (X11 for Windows, basically), but I'd say it's not worth the effort.
Reply With Quote
  #3   Spotlight this post!  
Unread 23-12-2016, 07:32
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 296
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: FRCSim on Windows 10 Linux Subsystem

I've tried it (using xming), and gazebo just crashes immediately. It's not even because of graphics, but instead because WSL's networking stack sucks
Code:
[Err] [Connection.cc:738] EXCEPTION: Unable to get local interface addresses

[Err] [Connection.cc:738] EXCEPTION: Unable to get local interface addresses

Gazebo multi-robot simulator, version 6.6.0
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

getifaddres: Invalid argument
[Err] [Connection.cc:738] EXCEPTION: Unable to get local interface addresses

terminate called after throwing an instance of 'gazebo::common::Exception'
I bet if the networking problem were solved, then it would crash because of graphics
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org

Last edited by euhlmann : 23-12-2016 at 09:49.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi