Probably missing something basic, but I am not a programmer by trade and we are stumped. The code seems to build ok and appears to deploy.
Using SDS Swerve Drive template with encoders, team number, etc set for out team not working.
NI game tools stable release (2021.3.1?) VS Code 1.5
Executing task: gradlew deploy -PteamNumber=3603 --offline -Dorg.gradle.java.home=“C:\Users\Public\wpilib\2021\jdk” <
Task :discoverRoborio
Discovering Target roborio
Using admin@172.22.11.2:22 for target roborio
Task :deployNativeLibsRoborio
Artifact skipped…
Task :deployJreRoborio
-C-> if [[ -f “/usr/local/frc/JRE/bin/java” ]]; then echo OK; else echo MISSING; fi @ /tmp
-[0]-> OK
Artifact skipped…
Task :deployRoborioCommandsRoborio
-C-> sed -i -e ‘s/^StartupDLLs/;StartupDLLs/’ /etc/natinst/share/ni-rt.ini @ /home/lvuser
-[-1]->
Task :deployFrcStaticFileDeployRoborio
-C-> mkdir -p @ /home/lvuser/deploy
-[-1]->
1 file(s) are up-to-date and were not deployed
Task :deployFrcJavaRoborio
-C-> . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t 2> /dev/null @ /home/lvuser
1 file(s) are up-to-date and were not deployed
-C-> echo '/usr/local/frc/JRE/bin/java -XX:+UseConcMarkSweepGC -Djava.library.path=/usr/local/frc/third-party/lib -Djava.lang.invoke.stringConcat=BC_SB -jar “/home/lvuser/Swerve_v.2021-12.jar” ’ > /home/lvuser/robotCommand @ /home/lvuser
-[-1]->
-C-> chmod +x /home/lvuser/robotCommand; chown lvuser /home/lvuser/robotCommand @ /home/lvuser
-C-> chmod +x “/home/lvuser/Swerve_v.2021-12.jar”; chown lvuser “/home/lvuser/Swerve_v.2021-12.jar” @ /home/lvuser
-C-> sync @ /home/lvuser
-[-1]->
-C-> . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r 2> /dev/null @ /home/lvuser
-[-1]->
Task :deployNativeZipRoborio
29 file(s) are up-to-date and were not deployed
-C-> chmod -R 777 “/usr/local/frc/third-party/lib” || true; chown -R lvuser:ni “/usr/local/frc/third-party/lib” @ /usr/local/frc/third-party/lib
-[-1]->
-C-> ldconfig @ /usr/local/frc/third-party/lib
-[-1]->
roboRio is showing No Code and of course lots of errors then in Driver Station. I re-deployed last spring’s code worked fine except our offsets changed by 90 degrees for some reason. Changed them and everything broken since. Updated firmware and 2021.3 re-imaged rio with same results.
Code
https://github.com/CyberCoyotes/Swerve-v.2021-12
RioLog text file
https://github.com/CyberCoyotes/Swerve-v.2021-12/blob/main/RioLog%20Errors%202021-12-12.txt