View Single Post
  #4   Spotlight this post!  
Unread 08-02-2017, 23:08
rtielking rtielking is offline
Registered User
FRC #4330
 
Join Date: Jan 2017
Location: St Louis
Posts: 2
rtielking is an unknown quantity at this point
Re: FRCsim problem in the environment build

FYI, you can rebuild the wpilibjSimulation.jar file yourself without to much trouble. The source code is located at https://github.com/wpilibsuite/allwpilib

git clone https://github.com/wpilibsuite/allwpilib.git
cd allwpilib
git tag --list ( this command will show the release tags available )
git checkout v2017.2.1 ( or whatever the latest release tag is )
./gradlew -PmakeSim :wpilibj:wpilibjSimJar
cp wpilibj/build/libs/wpilibjSimulation.jar ~/wpilib/simulation/jar/

The benefit of building it yourself is fixing any issue you see such as simulated motor controllers not having a setInverted method.
Reply With Quote