Go to Post Coming soon to an Earth near you; an Australian team (or 2). Stay tuned. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2015, 20:38
RugnarStormBorn RugnarStormBorn is offline
User of the Matrix
AKA: Michael Brooks
FRC #2130 (Alpha+)
Team Role: Programmer
 
Join Date: Oct 2013
Rookie Year: 2013
Location: Bonners Fery
Posts: 9
RugnarStormBorn is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2015, 22:01
mattplotas mattplotas is offline
Registered User
FRC #1984 (Raider Revolution Robotics)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Overland Park
Posts: 9
mattplotas is an unknown quantity at this point
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?
__________________
^-_-^
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2015, 00:27
JacobD's Avatar
JacobD JacobD is offline
Registered User
AKA: Jacob
FRC #1672 (Mahwah Robo T-Birds)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: New Jersey
Posts: 90
JacobD is an unknown quantity at this point
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-12-2015, 10:43
Elkbits's Avatar
Elkbits Elkbits is offline
Mentor; Engineering, CAD, LabView
AKA: TODD MILLER
FRC #2867 (ElkLogics)
Team Role: Mentor
 
Join Date: Oct 2015
Rookie Year: 2014
Location: Elkhart, IN
Posts: 1
Elkbits is an unknown quantity at this point
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
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2016, 22:02
Team DRIFT Team DRIFT is offline
Registered User
FRC #4091
 
Join Date: Jan 2015
Location: Santo Domingo, Dominican Republic
Posts: 20
Team DRIFT is an unknown quantity at this point
Re: Adding Crosshairs to SmartDashboard?

Any way to do this on Java? I feel like Your suggestion is for Labview, Elkbits. Thanks.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2016, 22:03
orangelight's Avatar
orangelight orangelight is offline
Registered User
AKA: Alex
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Northville
Posts: 164
orangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to behold
Re: Adding Crosshairs to SmartDashboard?

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


Reply With Quote
  #7   Spotlight this post!  
Unread 05-02-2016, 07:01
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,116
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Adding Crosshairs to SmartDashboard?

We put a piece of clear plastic over the screen, and draw on it.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-02-2016, 12:07
Team DRIFT Team DRIFT is offline
Registered User
FRC #4091
 
Join Date: Jan 2015
Location: Santo Domingo, Dominican Republic
Posts: 20
Team DRIFT is an unknown quantity at this point
Re: Adding Crosshairs to SmartDashboard?

Thanks, orangelight.
Reply With Quote
  #9   Spotlight this post!  
Unread 05-02-2016, 12:14
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,706
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Adding Crosshairs to SmartDashboard?

Quote:
Originally Posted by rich2202 View Post
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!
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
Reply With Quote
  #10   Spotlight this post!  
Unread 05-02-2016, 12:48
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,562
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Adding Crosshairs to SmartDashboard?

We've cut up some electrical tape and put it on the screen.
Reply With Quote
  #11   Spotlight this post!  
Unread 05-02-2016, 16:00
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,543
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Adding Crosshairs to SmartDashboard?

Last year, we used a few connection indicators stretched into lines as crosshairs.
Reply With Quote
  #12   Spotlight this post!  
Unread 05-02-2016, 16:18
tStano tStano is offline
Registered User
AKA: Sparks
no team
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Madison, WI
Posts: 177
tStano will become famous soon enough
Re: Adding Crosshairs to SmartDashboard?

Quote:
Originally Posted by Michael Hill View Post
We've cut up some electrical tape and put it on the screen.
Same
Reply With Quote
  #13   Spotlight this post!  
Unread 16-02-2016, 19:51
Team DRIFT Team DRIFT is offline
Registered User
FRC #4091
 
Join Date: Jan 2015
Location: Santo Domingo, Dominican Republic
Posts: 20
Team DRIFT is an unknown quantity at this point
Re: Adding Crosshairs to SmartDashboard?

Apparently, You can also overlay static images on the SmartDashboard pretty easily. Anyone thoughts on dynamic displays?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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