Go to Post I would go even further and say always hate your robot. Keep breaking, iterating, and trying to figure out how to change the robot from week one of build season to champs. - saikiranra [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 01-02-2010, 20:28
Al3+'s Avatar
Al3+ Al3+ is offline
ARTist
AKA: Anthony
FRC #0840 (Aragon Robotics Team)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2008
Location: San Mateo, CA
Posts: 58
Al3+ is a jewel in the roughAl3+ is a jewel in the roughAl3+ is a jewel in the rough
Different images on dashboard?

By default, the dashboard displays the images straight from the camera (i.e. the same one that GetImage() generates). Is there a way to make it display something else by giving it an Image object?

Basically what I want to do is easily view the results of applying a filter function like getLuminancePlane().
__________________
cout << "Hello, robotics. Goodbye, world." << endl;

"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2010, 22:05
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,752
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: Different images on dashboard?

If you are using LabVIEW, debugging this is quite easy. Right click on the wire where you want to view the data and choose probe. It will not be a part of the dashboard, but will be displayed in the development environment.

The easiest way to do this for a dashboard is probably to take the standard image and apply the same image processing on the host computer. The built-in dashboard is able to transmit the data returned from the camera and nothing else.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2010, 07:23
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Different images on dashboard?

Like Greg said, displaying images isn't quite as simple in C++. The default dashboard only gets images directly from the camera. To send images, you'd need to create a network socket, send data to a laptop, and then use socket programming on the laptop to get the image back off the network. Then you'd need to find a way to display the image you just got.

I'd assume LabVIEW does the same thing, but it has all of this built in without you having to write custom code for it.
__________________
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Dashboard Images SOLUTION Radical Pi Control System 17 22-02-2010 12:35
yet another No Camera Images on Dashboard thread oddjob C/C++ 11 29-01-2010 20:53
DIfferent Year CIMS run at materially different speeds ? de_ Motors 5 19-02-2009 13:04
Labview Dashboard and updated IFI dashboard spec Joe Ross LabView and Data Acquisition 1 04-04-2006 02:04
Loading Images? Tom Bottiglieri Website Design/Showcase 3 16-02-2004 18:26


All times are GMT -5. The time now is 03:28.

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