Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Adding Crosshairs to SmartDashboard? (http://www.chiefdelphi.com/forums/showthread.php?t=134617)

RugnarStormBorn 02-14-2015 08:38 PM

Adding Crosshairs to SmartDashboard?
 
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 02-14-2015 10:01 PM

Re: Adding Crosshairs to SmartDashboard?
 
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 02-15-2015 12:27 AM

Re: Adding Crosshairs to SmartDashboard?
 
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 12-24-2015 10:43 AM

Re: Adding Crosshairs to SmartDashboard?
 
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 02-04-2016 10:02 PM

Re: Adding Crosshairs to SmartDashboard?
 
Any way to do this on Java? I feel like Your suggestion is for Labview, Elkbits. Thanks.

orangelight 02-04-2016 10:03 PM

Re: Adding Crosshairs to SmartDashboard?
 
Quote:

Originally Posted by Team DRIFT (Post 1535258)
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 02-05-2016 07:01 AM

Re: Adding Crosshairs to SmartDashboard?
 
We put a piece of clear plastic over the screen, and draw on it.

Team DRIFT 02-05-2016 12:07 PM

Re: Adding Crosshairs to SmartDashboard?
 
Thanks, orangelight. :D

Jon Stratis 02-05-2016 12:14 PM

Re: Adding Crosshairs to SmartDashboard?
 
Quote:

Originally Posted by rich2202 (Post 1535394)
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 02-05-2016 12:48 PM

Re: Adding Crosshairs to SmartDashboard?
 
We've cut up some electrical tape and put it on the screen.

Joe Ross 02-05-2016 04:00 PM

Re: Adding Crosshairs to SmartDashboard?
 
Last year, we used a few connection indicators stretched into lines as crosshairs.

tStano 02-05-2016 04:18 PM

Re: Adding Crosshairs to SmartDashboard?
 
Quote:

Originally Posted by Michael Hill (Post 1535527)
We've cut up some electrical tape and put it on the screen.

Same

Team DRIFT 02-16-2016 07:51 PM

Re: Adding Crosshairs to SmartDashboard?
 
Apparently, You can also overlay static images on the SmartDashboard pretty easily. Anyone thoughts on dynamic displays?


All times are GMT -5. The time now is 08:02 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi