Announcement

Collapse
No announcement yet.

Help with first time uses of FRCSim

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with first time uses of FRCSim

    Tried to run gearbot after following set up instructions. Seem to work OK until I run Gazebo when I get the following errors in Eclipse

    Buildfile: /home/john/workspace/GearsBot/build.xml
    Trying to override old definition of task classloader
    compile:
    [echo] [athena-compile] Compiling src with classpath=/home/john/wpilib/java/current/lib/WPILib.jar:/home/john/wpilib/java/current/lib/NetworkTables.jar: to build
    jar-for-simulation:
    [echo] [jar-for-simulation] Building jar.
    [jar] Building jar: /home/john/workspace/GearsBot/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.
    [java] resources = |sun.misc.CompoundEnumeration@156643d4|
    [java] platform: /Linux/amd64/
    [java] Failed to initialize simulator/dio/1/2: does the encoder exist?
    [java] NOTE|WPILibJSim: Encoder.setDistancePerPulse() assumes 360 pulses per revolution in simulation.
    [java] Default IterativeRobot.disabledInit() method... Overload me!
    [java] Failed to initialize simulator/dio/3/4: does the encoder exist?
    [java] NOTE|WPILibJSim: Encoder.setDistancePerPulse() assumes 360 pulses per revolution in simulation.
    [java] NOTE|WPILibJSim: Encoder.setDistancePerPulse() assumes 360 pulses per revolution in simulation.
    [java] NOTE|WPILibJSim: Encoder.setDistancePerPulse() assumes 360 pulses per revolution in simulation.


    I must not have installed the encoders like the error says, but for the life of me I can't find them.

  • #2
    Re: Help with first time uses of FRCSim

    delete everything and reload it again

    Comment

    Working...
    X