It would be
Code:
new SmartDashboard().getDouble("azimuth");
and I would store a SmartDashboard instance somewhere so you don't have to keep recreating it, but otherwise I believe that should work. Keep in mind obvious issues of propagation delay
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor