-
Notifications
You must be signed in to change notification settings - Fork 37
After test run, SysId NetworkTables disconnects and reconnects repeatedly #460
Comments
That's not what's causing the code to crash. There was a double-allocation when configuring Spark Maxes that causes the HAL to crash the program. It was fixed in #459, which didn't make it into the kickoff release. You could recompile SysId yourself to get the fix or wait for the next release. We usually do them every week or so during build season. |
The updated SysID was included in the WPILib 2023.2.1 release |
Upgrading to WPILib 2023.2.1 did not work for me. I run and end that test and then the NT disconnects and connects over and over. |
Are you using the "Client (NT3)" or "Client (NT4)" mode when you're seeing the repeated disconnects? Do you have any firewall/proxy software installed? Is the DS console giving any messages (e.g. is the robot code restarting, is it showing multiple NT connect/disconnects, etc)? |
I'm seeing this also. We upgraded to 2023.2.1. We deploy fine. Then we do not have Network Tables connectivity.
We have tried both NT3 and NT4. When robot code is deployed (our base robot), then we get a green NT Connected message. When we deploy the sysid program, it goes red, with occasional flickers to green.
We see nothing in driver station log window, and 'No robot code' as the status message. We are using SparkMAX and were attempting to run sysid with the drive train, but #459 is reported as fixed in 2023.2.1. Also have a NavX gyro. |
I am using two Sparkmaxs and a NavX gyro. Make sure you have imaged the roboRIO to the latest version. When in SysID select NT4 in client before deploying and running the tests. This fixed my problem. |
Robo rio info is below from web dashboard. WRT selecting nt4, I’ll try again Saturday (maybe Thursday). I know we tried with both 3 and 4, but not sure about having it selected when deploying (but we did try whole cycle of power off/deploy /run several times. Firmware Version: 6.0.0f1 |
What other information would be helpful for me to collect? I'll have access to the robot again tomorrow and Saturday. Please just let me know what might be helpful. (note that I (smoser) am the same human as 'smoser-frc' who commented above). |
Any thoughts here? Its possible this is user-error, as this is the first time our team has done it. Thanks, |
Sorry for replying late, it's also my first time using SysID. I am not an expert 😅 |
OBE by #518. The problematic robot projects SysId deploys have been removed. NT4 seems to connect relatively fine to user programs. |
Describe the bug
When using System Identification (SysId) tool. After deploying Drivertrain analysys type, robot code crashed with "networktable.json No such file or directory" error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Run logging tool normally
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: