View Single Post
  #12   Spotlight this post!  
Unread 14-03-2016, 14:39
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 47
robert1356 is an unknown quantity at this point
Re: GRIP Overlaying Contours Onto Images

Quote:
Originally Posted by mhaeberli View Post
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.