Go to Post A good engineer will never stop learning. From his peers, technicians, and competitors. The field is just to vast for any one person to know it all. - Mr. Mike [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2011, 18:28
pavanetti's Avatar
pavanetti pavanetti is offline
Registered User
FRC #1382
 
Join Date: Dec 2010
Location: Brazil
Posts: 12
pavanetti is an unknown quantity at this point
Exclamation Using AxisCamera in labview dashboard with a java programming

My team is programming in java. We want to see a camera image in the labview dashboard.
In java, we want to use addInt, addByte, addFloat, addArray, addCluster. But we can't convert a Image to a basic type. Does anyone know how I send the images to the dashboard in java?
And I found an alternative dashboard. It's called ZomB. But I don't know if it allowed its use in competitions. There's nothing in the rules.
And this dashboard asks to modify some files from cRIO. It says it can corrupt the file ni-rt.ini. Can I connect via FTP with the cRIO and make a backup of files? Someone recommended me to try this ZomB or should I try to labview.
  #2   Spotlight this post!  
Unread 14-01-2011, 18:34
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Using AxisCamera in labview dashboard with a java programming

1. No rules against ZomB.

2. In LabVIEW, on the Dashboard, there is a VI called "Get Image on PC" which does exactly that - it gets an image on the Dashboard. The cRio forwards the camera to the dashboard automatically, and you can get that image on the Dashboard.
2b. Last year, the camera code indicated what it was looking at by applying circles to the Dashboard image (using IMAQ Overlay), and sending the circle coordinates over the Dashboard data stream.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 14-01-2011, 20:10
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Using AxisCamera in labview dashboard with a java programming

Being the ZomB creator, I may be a bit biased, but please try ZomB (0.7 is amazing compared to 0.6)
Legality: DBPacket is 100% legal, TCP (the default) is pending a decision from the GDC, but should be legal, considering what they have said in the past. Both are always available at home, and the TCP sending TO the robot is really nice for lots of variables needing tuning.
As for corrupting the ni-rt.ini, I've tested it, and it has not corrupted mine, but I would back it up (ftp://10.xx.yy.2/ xxyy is your team number), run the installer, and compare the new ni-rt.ini (it also saves a backup), and make sure it only added ZomB.out to the StartupDLls list. If not, either manually edit it, or replace it with the backup it automatically creates (ni-rt.ini.backupTIMESTAMP). you can also manually install it

If you have any questions, please ask!
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Closed Thread


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 10:40.

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