Go to Post Maybe FIRST made these bumper rules so IRI would have something to blow off come July. - Koko Ed [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 Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 19-01-2009, 12:10
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Connecting Axis camera to cRIO

You can't ping "through" the cRIO. The only way to obtain images when it's connected to the cRIO is by having the cRIO redirect the data. I don't believe that you'll be able to open a web browser and "see" the camera. Check out the default Basic Robot Main VI and the Dashboard app to see how they do it. The Dashboard displays camera images for you (although this port will be disabled, I believe, during competition).

Russ
Reply With Quote
  #17   Spotlight this post!  
Unread 19-01-2009, 13:05
Kory's Avatar
Kory Kory is offline
Kory
FRC #1569 (Haywire)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Pocatello
Posts: 9
Kory is an unknown quantity at this point
Re: Connecting Axis camera to cRIO

I am having the same issue as Jill. The camera works when connected to everything but port 2 on the cRIO. Our team captain talked to a network guru who told him that it will not work because of a subnet error. All the devices besides port 2 on the cRIO have an IP of 10.xx.yy.zz (xxyy is based on the team number, zz is decided by what device it is) Port 2 on the cRIO however, is 192.168.0.3. I'm not sure if this is correct but he said when a subnet mask is set to 255.255.255.0 it means ignore the first three sets on numbers because they are the same. However the first three numbers of port 2 on the cRIO are not the same. I believe this is what's causing the problem. Is there a way to change the IP adress on port 2 of the cRIO. The documentation says there is but doesn't specify exactly how. Do any of you have it working with 192.168.0.3? Did you configure it that way or is that the default? I am out of ideas.
__________________
To everything a season a time, to every purpose under heaven.
Reply With Quote
  #18   Spotlight this post!  
Unread 19-01-2009, 16:18
Jill Jill is offline
Registered User
FRC #2197 (Las Pumas)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: New Carlisle, IN
Posts: 12
Jill is an unknown quantity at this point
Re: Connecting Axis camera to cRIO

I did get it to work... thanks Russ Beavis!

Kory- can you get to the camera to work when it's plugged directly into your computer? If it's all set up properly, when you plug it into port 2 on the cRIO, the cRIO "redirects" the feed. Run an example tracking program on LabView and see if that works. You cannot go directly to the camera with a browser.

EDIT: New issue... I can get a live feed in LabView, but it's red and black, and pixelated. I'm using the LV color-tracking example. I can see vague outlines of my hand when I wave in front of the camera. It's not a focus problem- it's clear when it's plugged directly into the computer. I've tried adjusting the color settings, but it's not any clearer, and it's still only red. Are there other settings somewhere that I haven't configured properly?

Last edited by Jill : 19-01-2009 at 22:52.
Reply With Quote
  #19   Spotlight this post!  
Unread 20-01-2009, 09:37
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,748
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: Connecting Axis camera to cRIO

What you describe sounds like the Find Color example's display. The image being displayed isn't what is sent back from the camera, but has been thresholded to only show a mask of certain colors. To see the unaltered image, you can flip to the example's diagram and probe using a right click menu on the purple wire between Get Image and Find Color.

Or you can move forward with the example. Hold something colored near the camera. Choose the Red, Green, or Blue hint, and hit the calibrate button.

You can also play with the color space by going to the knob and slider pane or to the HSL numbers pane.

That is about it for that example. The gimbal/servo one is probably the next to go to once the color numbers make sense.

Greg McKaskle
Reply With Quote
  #20   Spotlight this post!  
Unread 21-01-2009, 09:42
Steve Ketron's Avatar
Steve Ketron Steve Ketron is offline
Registered User
FRC #1528 (MTR (Monroe Trojan Robotics), formerly iPirates)
Team Role: Teacher
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Monroe, Mi
Posts: 268
Steve Ketron is a name known to allSteve Ketron is a name known to allSteve Ketron is a name known to allSteve Ketron is a name known to allSteve Ketron is a name known to allSteve Ketron is a name known to all
Re: Connecting Axis camera to cRIO

Our camera was working for the last two weeks on port 2 of the cRIO. We tried working with it this morning and LabVIEW would not find the camera. The AXIS software will not bring up the camera when plugged into the cRIO port 2 either. We can plug the camera directly into the router and find it. Does anyone have a quick fix for the cRIO?
Reply With Quote
  #21   Spotlight this post!  
Unread 21-01-2009, 16:56
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,748
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: Connecting Axis camera to cRIO

Just a guess, but if you disconnected and are no longer using the orange crossover cable, it would work with a PC, due to auto sensing, but not with the cRIO.

Greg McKaskle
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
Axis camera without the cRIO CrazyCarl461 NI LabVIEW 12 17-01-2009 10:53
Connecting Power Distribution block to cRio Paul Rodi Electrical 2 05-01-2009 18:20
AXIS Camera nickmagus Programming 1 03-01-2009 20:06
Program Axis Camera in c++ excel2474 Programming 5 22-12-2008 17:14
axis camera - problem s0crates FRC Control System 11 16-12-2008 09:34


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

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