Go to Post I was proud that there was no whining, no finger pointing and no complaining. - Vikesrock [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
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 29-02-2016, 19:54
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 186
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
pynetworktables not working.

We are attempting to get pynetworktables running on a BeagleBone Black. We are currently trying to run the sample code to get it working.

https://github.com/robotpy/pynetworktables/blob/master/samples/nt_driverstation.py


When using the correct IP address we get the following output.
Code:
root@beaglebone:~# python main2.py 10.24.81.100
robotTime: N/A
robotTime: N/A
INFO:nt:Client 0x00164648 entered connection state: CONNECTED_TO_SERVER
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A
When using the incorrect IP address we get the following output.
Code:
root@beaglebone:~# python main2.py 10.24.81.101
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A
Based on the logs I feel like it is connecting to the roboRio correctly but when using OutlineViewer we don't see robotTime which makes sense given we are getting a KeyError in the code above.

Has anyone else ran into problems like this?
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

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 06:27.

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