![]() |
Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Hi,
Today's problem of the day is the SmartDashboard. I am using this [summarized] code on the robot: Code:
def robotInit(self):Code:
from networktables import NetworkTable |
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
That looks correct. There should be a log message that prints out when you actually connect to the robot. You need to enable logging to see it:
Code:
# To see messages from networktables, you must setup loggingYou probably want to add a sleep in that while loop. I assume you've already looked through the samples? |
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
It's also broken for me.
it gives an error about incompatible version or whatever, so I think it rejects Network Tables 3.0. Is there a way to get this to work with NT 3.0, or should I give up on PyNetworkTables? |
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
The global listener sample is great for figuring out if the other side has placed anything in NetworkTables. |
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
He hasn't tried it with LabVIEW, but says it works with the OutlineViewer + NT3. |
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
Was able to upload values and they appeared on the LabVIEW dashboard. Thanks. |
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?
Quote:
|
| All times are GMT -5. The time now is 19:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi