Go to Post All this is sounding like gobbly-de-gook but it is important to understand this gobbly-de-gook. - ebarker [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-02-2017, 16:56
Bo8_87 Bo8_87 is offline
Registered User
no team
 
Join Date: Aug 2016
Rookie Year: 2014
Location: California
Posts: 24
Bo8_87 is an unknown quantity at this point
pynetworktabless connection issue

Hello, we are using pynetworktables to send data from our TX1 back to the roborio. We are unable to send data back to the roborio if both the driver station and the TX1 are connected; networktables runs fine when the driver station is not connected, but then continuously crashes after the driver station connects.

Crashing Message: UnicodeDecodeError: 'utf8' codec can't decode byte 0xc0 in position 23: invalid start byte
INFO: nt: DISCONNECTED 10.TE.AM.2 port 1735(Robot)
DEBUG: nt:write thread died (<ntcore.network_connection.NetworkConnection object at 0xf31d9430>)
DEBUG:nt:client connected
DEBUG:ntNetworkConnection stopping (<ntcore.network_connection.NetworkConnection object at 0xf31d9430>)
ERROR:nt:Unhandled exception during handshake.

NetworkTables Code:
NetworkTables.initialize(server='10.TE.AM.2')
sd = NetworkTables.getTable('SmartDashboard')
while True:
sd.putNumber('test', 3)

We are using these static IP's:
RIO:
IP: 10.TE.AM.2
Subnet Mask: 255.255.255.0
Gateway: 10.TE.AM.1

DS:
IP: 10.TE.AM.5
Subnet Mask: 255.0.0.0
Gateway: 10.TE.AM.1

We are unsure if this is a networktables issue, or a networking issue.
Does anyone have any idea what is going on? Thanks.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi