|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Errors not showing up in Driverstation until they are corrected
When testing our code, sometimes when we deploy, then the robot code light on Driverstation stays red. We then take out the change that we made, and when we redeploy, then the error that was showing what was wrong for the previous code shows up in the Driverstation. I don't know if this is a bug or not, but it would be nice to know what the error is when our robot code is showing red on the Driverstation instead of fixing it and then it shows us what the error was. Has anyone else ran into this problem?
PS: We program in java, but this might be a multi-platform thing. |
|
#2
|
||||
|
||||
|
Re: Errors not showing up in Driverstation until they are corrected
No, but you can get a more reliable log over ssh
Code:
tail -f /home/lvuser/FRC_UserProgram.log |
|
#3
|
||||
|
||||
|
Re: Errors not showing up in Driverstation until they are corrected
This is a known bug in the driver station, that has been fixed for the 2017 season. As a temporary workaround, import the
edu.wpi.first.wpilibj.communication.FRCNetworkComm unicationsLibrary package, and at the the very beginning of RobotInit, add a call to FRCNetworkCommunicationsLibrary.FRCNetworkCommunic ationObserveUserProgramStarting. That will force the robot to be seen as connected, and it will print the error messages. However, this will not be needed in 2017. |
|
#4
|
|||
|
|||
|
Re: Errors not showing up in Driverstation until they are corrected
Ah, thank goodness!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|