Go to Post We had an over all losing record this year. When I look at kid's faces, they don't give a rip about that. I see excitement about the next event and talking about improvements for next year. Winning is nice, but that is not the reason I do what I do. - wilsonmw04 [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 19-01-2013, 12:30
SuperMario SuperMario is offline
Registered User
FRC #3692
 
Join Date: Jan 2013
Location: janesville
Posts: 9
SuperMario is an unknown quantity at this point
SmartDashboard image

In smart dashboard there is an image that you can add but I can't find a way to tell what image the view is reading. I am trying to show what our final vision after we have processed the image from the camera can anyone help?
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2013, 15:29
SuperMario SuperMario is offline
Registered User
FRC #3692
 
Join Date: Jan 2013
Location: janesville
Posts: 9
SuperMario is an unknown quantity at this point
Re: SmartDashboard image

Am I not being clear or does no one know? I want to know how to use the SmartDashboard image control.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2013, 18:59
Dinoyan Dinoyan is offline
Registered User
no team
Team Role: Electrical
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 62
Dinoyan is an unknown quantity at this point
Re: SmartDashboard image

1) Locate the FRC DS Data Storage.ini file on your PC. On Windows 7 this file should be located in C:\Users\Public\Documents\FRC and on Windows XP it should be in C:\Documents and Settings\All Users\Shared Documents\FRC). Double click on the file to open it in Notepad.
2) Locate the line beginning with DashboardCmdLine and modify it to point to the installed SmartDashboard (note that the SmartDashboard is installed to Program Files on both 32 and 64 bit machines, not Program Files (x86)!). Note the double quotes and double slashes used. The Driver Station should now launch the Smart Dashboard automatically.
3) To add a camera image to the SmartDashboard, click View >> Add >> Camera. The camera IP address will default to 10.XX.YY.11 where XXYY is the 4 digit version of the configured team number. If you need to change this IP, make sure the Dashboard is set to Editable (also in the View menu), then right click on the Camera widget and select Properties.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2013, 20:17
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: SmartDashboard image

The image widget simply displays a static image loaded from a file. If you want to display the final product from image processing and you're extending a WPICameraWidgetExtension, either draw on top of the WPIImage provided as a parameter or return a new WPIImage (if you return, make sure you store a handle to it somewhere else, or SmartDashboard will crash without any indication -- this caused me a lot of grief).
__________________
I code stuff.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2013, 21:20
SuperMario SuperMario is offline
Registered User
FRC #3692
 
Join Date: Jan 2013
Location: janesville
Posts: 9
SuperMario is an unknown quantity at this point
Re: SmartDashboard image

How would I go about creating a widget? This is our teams first year using smart dashboard and we are pretty lost.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2013, 21:50
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: SmartDashboard image

Quote:
Originally Posted by SuperMario View Post
How would I go about creating a widget? This is our teams first year using smart dashboard and we are pretty lost.
view->add
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2013, 23:51
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: SmartDashboard image

Quote:
Originally Posted by Arhowk View Post
view->add
I think by creating, he means making one from scratch.

You likely won't need to (smartdashboard comes with widgets for pretty much every common use), but some documentation on that can be found here:

http://firstforge.wpi.edu/sf/wiki/do...iki/Extensions
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
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 12:47.

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