Quote:
Originally Posted by mhaeberli
Any suggestions on debugging wuth the current SmartDashboard extension if overlays aren't showing up?
|
Simplest way is to add a call into the disabledPeriodic(), autonomousPeriodic() and teleopPeriodic() that calls a method for updating your GRIP information. Inside this method, you just read the parameters from the GRIP table and put them on the smart dashboard. Not as nice as an overlay, but works quite well.
I also have a boolean configured as a box (so it shows red/green) for "Is Image processing running" I do this by looking at the frame rate. If it's zero, it's not running, if it's non-zero, it is running. I always set the value to zero at the beginning of the robot code - sometimes values get stuck in the network tables - this makes sure that the tables have a zero if the image processing isn't running.