View Single Post
  #1   Spotlight this post!  
Unread 29-02-2016, 19:54
kylelanman's Avatar
kylelanman kylelanman is online now
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