Go to Post FIRST may very well be the healthiest drug on the market. - Herodotus [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 15-01-2010, 20:33
CRASH999 CRASH999 is offline
We try!
FRC #0999
 
Join Date: Jan 2010
Rookie Year: 2001
Location: Cheshire
Posts: 2
CRASH999 is an unknown quantity at this point
Getting Camera Footage on the Classmate

We, CRASH 999, have used LabView since the beginning of last season and will be using it this year. We had the camera mounted last year and did get it to work but didnt have any use for it. This year we plan on using it more. We are able to get the video feed to play on the LabView front panel but are unable to get it to display on the Classmate. We have the robot, Classmate, and laptop all networked together using hardwires and a router. We can get all kinds of data to display on the Classmate like the joystick but just cant get the camera to display on the Classmate. We are using the default coding. I dont know if maybe the default coding doesnt support it, if not then can someone please tell us how to get it to display on the Classmate? Any help would be great. Also if you are experiencing the same troubles maybe we can be hopeless together.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2010, 21:20
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Getting Camera Footage on the Classmate

Do you have any video feed at all? IE. can you view the feed in your browser at all?

In order to view the camera in the dashboard you must connect the camera to the Crio and the rest of the kit (I think).

If you wish to simply test the camera and view a live feed you need to follow the instructions in section 2.12 in the 2010 robot controls document (here)
In short you need to change your ip address to 192.168.0.X (x can be anything but 1 or 90, I used 99)
You then need go to 192.168.0.90 in your web browser and set up or put in the root password (default is pass)
You should then see a live feed from the camera. After this you should be able to change the cameras IP address from 192.168.0.90 to what ever your classmates IP is. i.e. The classmates IP is 10.XX.YY.5 so you would change the camera's IP to 10.XX.YY.ZZ (Make sure ZZ is not the same as the Classmate, I used 9) After you have plugged the camera into the Classmate you should then be able to view the live feed by going to 10.XX.YY.ZZ on the classmate.

Make sure you have all cables are plugged in and the camera's LEDs are green.

Hope that helps,
timytamy
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2010, 11:48
TheBigCheese TheBigCheese is offline
Registered User
FRC #0619
 
Join Date: Jan 2010
Location: Charlottesville, VA
Posts: 7
TheBigCheese is an unknown quantity at this point
Re: Getting Camera Footage on the Classmate

We're having the same problem here, it works fine when connected to the computer and through the NI Vision Assistant, but when we try to get a feed using the Camera demo code with Java, nothing comes up on the Laptop.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2010, 21:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Getting Camera Footage on the Classmate

The updated dashboard on the Classmate includes a gyro-sensed heading indicator. If you don't have that, and your dashboard video window shows the camera communication error message, you haven't successfully updated the Classmate software. Run the updater twice, uninstalling the first time and reinstalling the second time.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2010, 00:00
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: Getting Camera Footage on the Classmate

Also make sure that your camera is configured correctly according to the guidelines set by FIRST. We found today that our camera needed to be hooked up to the computer and that we needed to run the Camera Configuration Setup tool (or something like that, it's found under Start->National Instruments->LabVIEW 8.6).
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-01-2010, 10:30
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: Getting Camera Footage on the Classmate

Another important point is that the camera needs to have a specific combination of username and password. The default username "root is OK, but you then need to change the password to "admin". The cRio will not be able to access the camera if it isn't correct. You may also want to view this thread: http://www.chiefdelphi.com/forums/sh...d.php?p=902975. There have been issues with the installation of the driver station. You may have to install/uninstall/and re-install the drivers station with the updated installer.
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote
  #7   Spotlight this post!  
Unread 23-01-2010, 12:29
joshholat joshholat is offline
Registered User
FRC #0930
 
Join Date: Jan 2010
Location: Mukwonago
Posts: 24
joshholat is an unknown quantity at this point
Re: Getting Camera Footage on the Classmate

My team is using Java and trying to get the camera working on the driver station. We have v19 on the cRIO and all the netbeans plugins are updated. Also, the camera has the FRC account and the root account on it at the right IP address and is plugged into port two via ethernet.

that said, there is something wrong with the code we are using:
AxisCamera.getInstance().writeCompression(0);
AxisCamera.getInstance().writeResolution(AxisCamer a.ResolutionT.k320x240);
AxisCamera.getInstance().writeBrightness(10);

it keeps erroring out when we deploy with that code in our program, but not if we comment that out. is this the right code?
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
Java Camera Video on ClassMate Thomas4019 Java 8 16-01-2010 00:18
Getting the Image from the Camera Using Windriver (C++) computerish C/C++ 0 17-01-2009 16:03
Getting the Camera out of Idle Eclipse Programming 2 13-02-2007 04:06
Getting the camera to work in autonomous dpick1055 Programming 8 10-02-2007 20:57
Getting the square footage to build a full field Ethulin General Forum 15 09-02-2006 11:09


All times are GMT -5. The time now is 16:57.

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