View Single Post
  #9   Spotlight this post!  
Unread 25-01-2015, 21:18
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: 222
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: How send ultrasonic sensor data to driver station?

Quote:
Originally Posted by TimTheGreat View Post
Ok, so first you want to make sure you have this folder on the driver station http://tinyurl.com/smrtdshbd. On the DS, go to wpilib -> tools -> smartdashboard.jar when you are connected to the robot. To test your code on your own computer, make sure you have the robotpy eclipse plugins https://github.com/robotpy/robotpy-e...ster/README.md. Then, in the eclipse menu bar, click WPILib, then Run Simulation Smartdashboard. This will let you see the ultrasonic sensor change based on the value you change in the simulator.
I wrote some code that would interpret the distance and then display a red, yellow or green light on the remote machine. I saw in the link you sent me(robotpy one), you could import networktables so I was wondering if I could use that in the program I wrote, not needing to go through the smartdashboard? In summary, I just want to use the info from the sensors to input in my wxpython program. Thanks!