Log in

View Full Version : Adding Crosshairs to SmartDashboard?


RugnarStormBorn
14-02-2015, 20:38
Does anyone know how to add crosshairs to Smartdashboard through the code? If so, how did you manage to go about that?

Thanks in advance!

mattplotas
14-02-2015, 22:01
I'm not sure exactly what you mean. Are you trying to move a crosshair around on the dashboard? or superimpose one on a camera feed? or something else?

JacobD
15-02-2015, 00:27
If you want a crosshair on anything on the dashboard, just click add>Image and upload an empty image. Then resize to a line and put it where you would like.

Elkbits
24-12-2015, 10:43
go to the FRC Vision palette for IMAQ and go into overlay pallette - there are tools to add lines, rectangles, circles, etc...like the "turtle graphics" code of yore

Team DRIFT
04-02-2016, 22:02
Any way to do this on Java? I feel like Your suggestion is for Labview, Elkbits. Thanks.

orangelight
04-02-2016, 22:03
Any way to do this on Java? I feel like Your suggestion is for Labview, Elkbits. Thanks.

You might be able to make your own smartdashboard widget that uses OpenCV to draw on the image.

rich2202
05-02-2016, 07:01
We put a piece of clear plastic over the screen, and draw on it.

Team DRIFT
05-02-2016, 12:07
Thanks, orangelight. :D

Jon Stratis
05-02-2016, 12:14
We put a piece of clear plastic over the screen, and draw on it.

This. Sometimes the old-school hacks are quicker, easier, and just as effective as trying to do something the "right" way. We've used clear plastic (overhead transparencies, can buy a box of them at any Office supply store) for years!

Michael Hill
05-02-2016, 12:48
We've cut up some electrical tape and put it on the screen.

Joe Ross
05-02-2016, 16:00
Last year, we used a few connection indicators stretched into lines as crosshairs.

tStano
05-02-2016, 16:18
We've cut up some electrical tape and put it on the screen.
Same

Team DRIFT
16-02-2016, 19:51
Apparently, You can also overlay static images on the SmartDashboard pretty easily. Anyone thoughts on dynamic displays?