|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! |
|
#2
|
|||
|
|||
|
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?
|
|
#3
|
||||
|
||||
|
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.
|
|
#4
|
||||
|
||||
|
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
|
|
#5
|
|||
|
|||
|
Re: Adding Crosshairs to SmartDashboard?
Any way to do this on Java? I feel like Your suggestion is for Labview, Elkbits. Thanks.
|
|
#6
|
||||
|
||||
|
Re: Adding Crosshairs to SmartDashboard?
You might be able to make your own smartdashboard widget that uses OpenCV to draw on the image.
|
|
#7
|
|||
|
|||
|
Re: Adding Crosshairs to SmartDashboard?
We put a piece of clear plastic over the screen, and draw on it.
|
|
#8
|
|||
|
|||
|
Re: Adding Crosshairs to SmartDashboard?
Thanks, orangelight.
![]() |
|
#9
|
||||
|
||||
|
Re: Adding Crosshairs to SmartDashboard?
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!
|
|
#10
|
||||
|
||||
|
Re: Adding Crosshairs to SmartDashboard?
We've cut up some electrical tape and put it on the screen.
|
|
#11
|
||||||
|
||||||
|
Re: Adding Crosshairs to SmartDashboard?
Last year, we used a few connection indicators stretched into lines as crosshairs.
|
|
#12
|
|||
|
|||
|
Re: Adding Crosshairs to SmartDashboard?
Same
|
|
#13
|
|||
|
|||
|
Re: Adding Crosshairs to SmartDashboard?
Apparently, You can also overlay static images on the SmartDashboard pretty easily. Anyone thoughts on dynamic displays?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|