Thread: FRCSIM Help
View Single Post
  #6   Spotlight this post!  
Unread 20-01-2016, 22:58
garystjean garystjean is offline
Registered User
FRC #1991
 
Join Date: Dec 2015
Location: CT
Posts: 7
garystjean is an unknown quantity at this point
Re: FRCSIM Help

Peter, I've re-done a fresh install of Ubuntu on a USB - still having problems.

1) I did the same steps as before (installing everything from frcsim-installer.sh).

2) I see the permissions on the wpilib directory are still incorrect, so I fix them with chown -R and chgrp -R.

3) I look for the 2016 world in the ~/wpilib/simulation/worlds folder -> I don't see it - should I?

4) I create the robot sample app in Eclipse - and now with your latest change I no longer get the original error message, however, I get the following message from Eclipse:
---------------------------------------------------------
Buildfile: /home/first1991/workspace/Tank Drive/build.xml
Trying to override old definition of task classloader
compile:
[echo] [athena-compile] Compiling src with classpath=/home/first1991/wpilib/java/current/lib/WPILib.jar:/home/first1991/wpilib/java/current/lib/NetworkTables.jar: to build
jar-for-simulation:
[echo] [jar-for-simulation] Building jar.
[jar] Building jar: /home/first1991/workspace/Tank Drive/dist/FRCUserProgramSim.jar
simulate:
[echo] [simulate] You may now run Gazebo and your DriverStation
[echo] [simulate] Running Code.
[java] WARNING|Gazebo Transport: Cannot connect, retrying in five seconds.
[java] WARNING|Gazebo Transport: Cannot connect, retrying in five seconds.
-----------------------------------------------------------------

5) Eclipse used to automatically run Gazebo and the Driver Station? So maybe this has changed? I run them both manually, first running "frcsim" from term then "Sim DS" from the menu.

6) I then try running the robot application again from Eclipse and I get a different message as follows:

---------------------------------------------------------
Buildfile: /home/first1991/workspace/Tank Drive/build.xml
Trying to override old definition of task classloader
compile:
[echo] [athena-compile] Compiling src with classpath=/home/first1991/wpilib/java/current/lib/WPILib.jar:/home/first1991/wpilib/java/current/lib/NetworkTables.jar: to build
jar-for-simulation:
[echo] [jar-for-simulation] Building jar.
[jar] Building jar: /home/first1991/workspace/Tank Drive/dist/FRCUserProgramSim.jar
simulate:
[echo] [simulate] You may now run Gazebo and your DriverStation
[echo] [simulate] Running Code.
[java] resources = |sun.misc.CompoundEnumeration@7de26db8|
[java] platform: /Linux/amd64/
[java] Default robotInit() method running, consider providing your own
[java] Default disabled() method running, consider providing your own
------------------------------------------------------------------------

7) In my terminal where I ran frcsim, I see this message:
-----------------------------------------------------------------------
first1991@Ubuntu1991:~$ frcsim
Gazebo multi-robot simulator, version 6.5.1
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 6.5.1
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.188
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.188
[Wrn] [Publisher.cc:140] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.
---------------------------------------------------------------


Is there something I should try or do you need to take a look at the install script?

-Gary
Reply With Quote