|
Re: RoboRio to rasberrypi
Why not use network tables?
http://first.wpi.edu/FRC/roborio/rel...workTable.html
Here is an example in python.
https://github.com/robotpy/pynetwork...iverstation.py
NetworkTable sd = NetworkTable.getTable("SmartDashboard");
sd.getNumber('dsTime');
sd.putNumber('robotTime', 10);
__________________
Blake
Electrical, Programming and Design
Creator FRC Q&A 2017
Mass FRC Team 4909: The Bionics
Maine FRC Team 5122: The RobOTies (2014-2015)
Maine FRC Team 2648: Infinite Loop (2008-2011)
|