View Single Post
  #3   Spotlight this post!  
Unread 19-01-2016, 19:43
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 217
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: Can't seem to retrieve SmartDashboard data for PyNetworkTables?

Quote:
Originally Posted by virtuald View Post
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 logging
import logging
logging.basicConfig(level=logging.DEBUG)

You probably want to add a sleep in that while loop.

I assume you've already looked through the samples?
So is that logging in the robot code or the driver station code? Thanks!
Reply With Quote