|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
New C++ Error after mandatory update
After we made the mandatory update in C++, our ability to tune PID failed -- it starts to work, and then we get an error that appears to kill the motors every second or so. (Please keep in mind that our code worked fine before the update).
Interspersed between our printed data, we get: 0xcd99b8 entered connection state: GOT_CONNECTION_FROM_CLIENT Starting task: Server Connection Reader Thread 0xcd99b8 entered connection state: CONNECTED_TO_CLIENT Bad message: A server should not receive a protocol version unsupported message 0xcd99b8 entered connection state: SERVER_ERROR Close: 0xcd99b8 Task exited normally: Server Connection Reader Thread task 0x11177f0 (FRC_Server Connection Reader Thread) deleted: errno=9 (0x9) status=0 (0) We are also getting Bad message: Unknown Network Table Message Type: 128 Close: 0xcd99b8 Task exited normally: Server Connection Reader Thread task 0x11177f0 (FRC_Server Connection Reader Thread) deleted: errno=9 This problem is occurring whenever the robot is on, including when it is disabled. We have print statements to show our shooter rate data every 20 loops, and these errors are interspersed at rates that appear to be inconsistent with the main teleop while loop. Any assistance that anyone can provide would be very appreciated. |
|
#2
|
|||
|
|||
|
Re: New C++ Error after mandatory update
Looks like your Dashboard, or other network tables client is not the right version. Make sure your SmartDashboard is the latest version.
|
|
#3
|
||||
|
||||
|
Re: New C++ Error after mandatory update
We updated the dashboard the day before... and did it again after your suggestion, just to be sure. Same problem.
We tried again, only this time with a laptop that has not yet been updated. Everything worked fine, and we were able to tune our PID with no difficulties outside that which is normal when trying to tune PID. As this update is mandatory, this concerns us rather muchly. |
|
#4
|
|||
|
|||
|
Re: New C++ Error after mandatory update
Your best bet is probably filing a bug report at the WPILib project, attaching the code that causes the issue will probably help. If everything worked before the update then it sounds like a regression which I'd imagine the WPILib developers want to hear about
|
|
#5
|
|||||
|
|||||
|
Re: New C++ Error after mandatory update
We don't use any dashboard, so setting the dashboard to Remote Dashboard stopped the error for us.
|
|
#6
|
||||
|
||||
|
Re: New C++ Error after mandatory update
Ah, so you had the same error after the update?
|
|
#7
|
|||||
|
|||||
|
Re: New C++ Error after mandatory update
|
|
#8
|
||||
|
||||
|
Re: New C++ Error after mandatory update
Any resolution for this? We just noticed the same errors and we need the Dashboard!
TIA |
|
#9
|
||||
|
||||
|
Re: New C++ Error after mandatory update
Yes, our programmers figured it out. I'll ask Spencer to post details ASAP.
|
|
#10
|
|||
|
|||
|
Re: New C++ Error after mandatory update
The problem has been solved. The error goes away when using the SmartDashboard, which was easy enough to set up. Thanks for the help, everyone.
|
|
#11
|
|||
|
|||
|
Re: New C++ Error after mandatory update
Does that mean that the default dashboard had an issue?
Is this because the PID collection wasn't created on the robot? The default dashboard doesn't have a template for making PID objects, but it can be done. Greg McKaskle |
|
#12
|
||||
|
||||
|
Re: New C++ Error after mandatory update
In our case, using the FRC Dashboard and Smart Dashboard at the same time produces a flurry of mangled messages and kept us from playing. When we use only the Smart Dashboard we get the occasional error (printed to console) but the robot continues to operate.
|
|
#13
|
||||
|
||||
|
Re: New C++ Error after mandatory update
When we ran the mandatory update, we got an error that prevented us from being able to do anything at all. Once we installed the Smart Dashboard, the error went away and we could do whatever we needed to do.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|