Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Anybody had any luck with FRCSim? (http://www.chiefdelphi.com/forums/showthread.php?t=133104)

zerobits 03-12-2015 21:13

Re: Anybody had any luck with FRCSim?
 
Yes, I have it working on my native Ubuntu 14.04 workstation and in Virtualbox + VMware Player. PM me and I will give a link to OVA I keep on mega. I'm open to ideas on how to share the VM though since its a pretty sizeable download.

It works pretty well in VMWare Player but not usuable in Virtualbox. My workstation runs at full speed but its got 16gigs of ram and nvidia 750Ti... beats the pants off my laptop.

gbuckholtz 11-01-2016 14:16

Re: Anybody had any luck with FRCSim?
 
I am working with the 2016 release of everything and I am getting this error when running the simulator:

[Err] [Plugin.hh:165] Failed to load plugin /home/robosim/wpilib/simulation/plugins/libclock.so: libboost_system.so.1.54.0: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:165] Failed to load plugin /home/robosim/wpilib/simulation/plugins/libdc_motor.so: libprotobuf.so.8: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:165] Failed to load plugin /home/robosim/wpilib/simulation/plugins/libdc_motor.so: libprotobuf.so.8: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:165] Failed to load plugin /home/robosim/wpilib/simulation/plugins/libdc_motor.so: libprotobuf.so.8: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:165] Failed to load plugin /home/robosim/wpilib/simulation/plugins/libdc_motor.so: libprotobuf.so.8: cannot open shared object file: No such file or directory
[Err] [Plugin.h


I have verified that the location and file exists

Has anyone else encountered and overcome this?

Peter Mitrano 11-01-2016 18:13

Re: Anybody had any luck with FRCSim?
 
Hey everyone, FRCSim maintainer here...

A few issues to address:
if your C++ code doesn't compile do follow the instructions prensing posted. This can happen if you install a version of Gazebo we didn't anticipate. This will happen on other versions of Ubuntu. It's an easy fix, just right click on the project and go to C++ Settings > includes > and change the sdf or gazebo folder to the one on your computer.

If you get those errors about boost, that tells me you're using a version of Ubuntu other than 14.04...
I know we said this would work, but the issue here is dependencies. You'll need to install libprotobuf-8 and boost 1.54

Information on debuggin and simulation in general is on screensteps:
http://wpilib.screenstepslive.com/s/4485/m/23353

Videos on frcsim are here:
https://www.youtube.com/playlist?lis...mUjaj0UIzRJhWf

tcjinaz 16-01-2016 22:02

Re: Anybody had any luck with FRCSim?
 
Quote:

Originally Posted by Peter Mitrano (Post 1521461)
Hey everyone, FRCSim maintainer here...

A few issues to address:
if your C++ code doesn't compile do follow the instructions prensing posted. This can happen if you install a version of Gazebo we didn't anticipate. This will happen on other versions of Ubuntu. It's an easy fix, just right click on the project and go to C++ Settings > includes > and change the sdf or gazebo folder to the one on your computer.

If you get those errors about boost, that tells me you're using a version of Ubuntu other than 14.04...
I know we said this would work, but the issue here is dependencies. You'll need to install libprotobuf-8 and boost 1.54

Information on debuggin and simulation in general is on screensteps:
http://wpilib.screenstepslive.com/s/4485/m/23353

Videos on frcsim are here:
https://www.youtube.com/playlist?lis...mUjaj0UIzRJhWf

I'm trying to install on MacOS 10.11.2. I see this:

[MBPlate2013:~/FIRST Robotics/FRC 2016/Eclipse WS] Tim% which gazebo
/usr/local/homebrew/bin/gazebo
[MBPlate2013:~/FIRST Robotics/FRC 2016/Eclipse WS] Tim% gazebo
dyld: Library not loaded: @executable_path/../Components/libOgrePaging.1.7.4.dylib
Referenced from: /usr/local/homebrew/opt/ogre/lib/libOgreTerrain.1.7.4.dylib
Reason: image not found
Trace/BPT trap


Yet the lib exists:

[MBPlate2013:~/FIRST Robotics/FRC 2016/Eclipse WS] Tim% ll /usr/local/homebrew/opt/ogre/lib/libOgrePaging.1.7.4.dylib
-r--r--r--+ 1 root wheel 227968 Jan 16 18:18 /usr/local/homebrew/opt/ogre/lib/libOgrePaging.1.7.4.dylib

but not under a Components directory. Did Ogre get built wrong?

TIA,
Tim

masami 28-01-2016 01:47

Re: Anybody had any luck with FRCSim?
 
Tim,

I encountered the same error, and was able to work around it by creating a symlink from Components to lib in the brew directory. To be more specific, go to the brew directory (/usr/local/homebrew in your case), and type the following:

ln -s lib Components

Hope this will work for you.
Masami

motleymentor 26-03-2016 18:52

Re: Anybody had any luck with FRCSim?
 
Hey robo folks! A little late to the party, but want to share with you some of my experiences setting up FRCSim for my team. I just posted them to my first ever blog post on wordpress. :P Hope this helps!

https://motleymentor.wordpress.com/2...ting-up-frcsim

DaveFrederick 06-04-2016 18:14

Re: Anybody had any luck with FRCSim?
 
I have had good success running FRCSIM on a powerful Dell XPS within VMWare workstation. I looks like there is an error in the installation script with the ownership of the wpilib folder in the users home directory. If you recursively update the ownership from root to the current user (chown -R user:user wpilib) and re-run the script, it might work.

I would like to get additional details on the process of building a simulated robot from scratch. I believe the process is to build the robot body in solidworks, export and add sensors, then import into gazebo.

I will work to learn the process, capture the details and find a mean to perform the same actions without solid works.

Does anyone have information or experience in this area?

Overall goal is to develop a means for the students to run this process on a medium power computer or an Amazon Cloud computer to support the development of code at home.

Dave Frederick
Team 1895 Mentor, Manassas, VA

Adisai1 08-04-2016 13:31

Re: Anybody had any luck with FRCSim?
 
I was able to get it working on my Macbook Pro 2015 and Dell Inspiron 15R dual-booted with Ubuntu 14.04 in the beginning of the season, but I haven't touched it since. From the little amount of use I have with it, I've seen that it is very memory intensive.

DaveFrederick 03-10-2016 16:29

Re: Anybody had any luck with FRCSim?
 
2 Attachment(s)
I have continued to develop a detailed process build a simple robot in SolidWorks, Gazebo Export/Enhance, and run the the FRCSIM (Gazebo).

Here is the draft process. I need to figure out the Z-axis up vs. Y-axis up issue.

All feedback is welcome.

I needed to split the document to get it under the 3 MB limit.

Does anyone know of any detailed documentation for the Gazebo export process. Trial and error takes time.

Dave Frederick
Team 1895 Mentor, Manassas, VA


All times are GMT -5. The time now is 22:59.

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