Go to Post Representing data in a good way is an art in its own right. - Andrew Schreiber [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 07-01-2013, 22:34
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Image display to smartDashboard.

Hello. I am trying to get an image with the bounding box of my target onto the smartDashboard. The one problem I have run into is that I have no idea of how to get modified images over to the computer. The only way I have found to get a camera onto the smartDashboard was with view> add> camera. I was just wondering if there was any existing code to do so. I don't mind writing my own widget as it would be a good learning experience but I would NOT like to rewrite software that already exists just for the sake of learning, as 6 weeks is not much time.
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2013, 11:53
AsianRookie AsianRookie is offline
Registered User
AKA: Steven/Tim
FRC #0321 (Robolancers)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2007
Location: Philadelphia
Posts: 31
AsianRookie is an unknown quantity at this point
Re: Image display to smartDashboard.

Do you need an image from the camera to image process?
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2013, 12:09
shank948 shank948 is offline
VP of Programming - 948
AKA: Stephen Shank
FRC #0948 (NRG (Newport Robotics Group))
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Bellevue, Wa
Posts: 21
shank948 is an unknown quantity at this point
Re: Image display to smartDashboard.

Have you looked into Roborealm? This resource was distributed in the KOP this year, with a link to the download and a license key. I haven't done much work with it myself, but my understanding is that it will help you do exactly what you are trying to do.
__________________
If it's green and slimy, it's Biology.
If it smells, it's Chemistry.
If it doesn't work, it's Physics.
- My Physics Teacher

Fixed:
If it doesn't work, it's our Robot up until that last few days of the build season.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2013, 15:36
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Re: Image display to smartDashboard.

Honestly, I checked it out and using it would be more complicated and difficult, for us at least. We already have an image and all of the things we need to draw the rectangle. We just need to draw it and get it to the smartDashoard. So do I have confirmation that I will have to write my own widget.
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2013, 21:19
timothyb89 timothyb89 is offline
code monkey
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2009
Location: Loveland, Colorado
Posts: 45
timothyb89 will become famous soon enough
Re: Image display to smartDashboard.

Quote:
Originally Posted by Hypnotoad View Post
So do I have confirmation that I will have to write my own widget.
We did this last year, we modified the SquareTrackerExtension from the smartdashboard svn repository to have it draw polygons recognized by our vision code: source

The usual image processing additions are in processImage() (which did the bounding boxes) and then the UI additions are in paintComponent(). The additions were mainly some debug text and the ability to click and select polygons for the targeting system.

I'm a bit unfamiliar with the the 2013 vision code, but if it's at all similar this could help out a bit.
__________________
FRC-DB: A detailed, web-based scouting database for FRC teams with lots of interesting statistics.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2013, 10:07
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Re: Image display to smartDashboard.

I started a new thread about this but I'm going to ask it here as I have not gotten any replies on said thread. Does anyone have GOOD documentation on how network tables works? The java docs don't count. I mean like a PDF.
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
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: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