|
|
|
| Nothing in the KOP can prepare me for you. |
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Issues with retrieving NetworkTables
I made the suggested changes and it still has the same error.
|
|
#2
|
|||||
|
|||||
|
Re: Issues with retrieving NetworkTables
Are you calling the setClientMode/setIPAddress/getTable calls repeatedly? They should only be called once on robot initialization.
|
|
#3
|
|||
|
|||
|
Re: Issues with retrieving NetworkTables
When we delete all of the lines of the robot code except for NetworkTables.setClientMode() it still crashes.
I am sure we are not calling it twice. |
|
#4
|
|||
|
|||
|
Re: Issues with retrieving NetworkTables
Just a quick update. On the coprocessor, I ran table.isConnected(), and it returned false.
|
|
#5
|
|||
|
|||
|
Re: Issues with retrieving NetworkTables
I was able to fix the problem. NetworkTable.setServerMode() is automatically done in the robot code which causes the code to crash if you call NetworkTable.setClientMode().
I removed NetwokTable.setClientMode() from the robot code and put it on the coprocessor instead. I also moved NetworkTable.setIpAddress() to the coprocessor. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|