Go to Post Is your team sponsored by Rube Goldberg? - bdaroz [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 18-02-2013, 10:40
Programmer_Sean Programmer_Sean is offline
Registered User
AKA: Sean Hoyt
FRC #3690 (GORT)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Minnesota
Posts: 3
Programmer_Sean is an unknown quantity at this point
Roborealm Image in Dashboard

I have been working on getting a processed image from roborealm to appear on are FRC dashboard, i have succeed.

This the line that is in are Dashboard_main.vi


As you can see there are two subvi's, roborealm image string.vi asks roborealm for the image in a string, it then goes to the decodejpg.vi which is just a copy of some code i found in the "WPI_CameraRead MJPG.vi" which turns it into a image which is then displayed on the dashboard.

Roborealm Image String


Decode Jpg


I have also attached the vi that i just talked about just unzip the .zip file to retrieve them.

I hope this helps people, i posted this because i could not find anything on the internet that shows how to get the Image on the dashboard in labview all i could find was for java and C++.
Attached Files
File Type: zip Roborealm Dashboard.zip (197.8 KB, 27 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2013, 21:38
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Roborealm Image in Dashboard

The only thing that I'll comment on that might be improved is to use the actual WPILib JPEG decoder without dropping down that low level.

vi.lib\Rock Robotics\WPI\Camera\WPI_CameraDecodeJPEGString.vi

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2013, 22:04
Programmer_Sean Programmer_Sean is offline
Registered User
AKA: Sean Hoyt
FRC #3690 (GORT)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Minnesota
Posts: 3
Programmer_Sean is an unknown quantity at this point
Re: Roborealm Image in Dashboard

Thank you for the reply my only question is what is the difference between the two because they both have the same inputs and outputs. The decoder i show is a exact copy of what is done in the dashboard project.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2013, 04:17
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Roborealm Image in Dashboard

The unique stuff you wrote for RR is a nice thing to give away, and the copy of the jpeg stuff is something everyone already has. It is part of WPILib.

The difference is that there are now two subVIs that are functionally the same with almost the same name. It wasn't clear to me why the copy was constructed. If it was for practice, and understanding, that is fine, but I suspect it will cause confusion over time, and it would be somewhat better to use the original.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 06-03-2013, 11:55
JoesephWhite's Avatar
JoesephWhite JoesephWhite is offline
Alumni, Mentor for 2341 & 4612
FRC #4612 (RoboRockets)
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Shawnee, Oklahoma
Posts: 23
JoesephWhite is an unknown quantity at this point
Re: Roborealm Image in Dashboard

I see that your code says the camera is the Kinect, how are you getting the data from the Kinect to the driver station?
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:13.

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