Go to Post P.S. - Don't eat spicy food before a match, or a marathon of matches like eliminations. It never ends well. Trust me. - Keith Chester [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 30-01-2011, 21:45
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Video on the classmate

Still working on getting the camera video to show up on the dashboard. Its connected to the CRIO port 2 with a crossover cable. We reset the camera to its default configuration, connected directly to a laptop with a crossover cable and added the FRC, FRC (user, pw) account. Next we added the code to get the camera instance to our code:

AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::kResolution_320 x240);

This should startup a process in the cRIO right? I think I saw one called NiVision, or something like. What port does it listen on? I want to see if the process is running and if its listening.

Also, I see how the camera can be connected directly to the DLINK bridge, with its address set to say 10.x.x.11. If its at that address, how do you tell the dashboard to get images from that IP instead of from the video server process in the CRIO? (10.x.x.2) Is that a parameter in the DriverStation.config ? Of cource the CRIO can't process images in this case, but I might hook it up that way just to see if it works.

Thanks,
Brian
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2011, 22:40
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: Video on the classmate

I don't have any answers yet, sorry, but I have some questions.

You have an Axis 206 camera, right?
What color is the ring around the camera lens?
How do you have the camera powered?
Is it mounted in a way that won't accidentally press the camera's reset button?
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2011, 22:53
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,582
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Video on the classmate

Quote:
Originally Posted by SuperBK View Post
Also, I see how the camera can be connected directly to the DLINK bridge, with its address set to say 10.x.x.11. If its at that address, how do you tell the dashboard to get images from that IP instead of from the video server process in the CRIO? (10.x.x.2) Is that a parameter in the DriverStation.config ? Of cource the CRIO can't process images in this case, but I might hook it up that way just to see if it works.
The default dashboard doesn't support displaying images from the camera directly. You would have to modify the dashboard source.
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2011, 16:07
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Post Re: Video on the classmate

Q. You have an Axis 206 camera, right?
A. Yes, sorry, should have mentioned that.

Q.What color is the ring around the camera lens?
A. The ring around the camera is blinking green. I'll look closely tonight to see if there is any red in it.

Q. How do you have the camera powered?
A. Plugged into the power distribution board 5V output.

Q. Is it mounted in a way that won't accidentally press the camera's reset button?
A.Its mounted on a piece of Lexan. The reset button is under lexan, but it looks like its recessed enough not to be getting pressed. I'll check it though.

Thanks,
Brian
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2011, 16:37
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: Video on the classmate

A blinking green light (how fast is it blinking?) and being mounted against a flat surface both point to the reset button as a likely culprit. As a first check, remove the camera from the Lexan and see if anything starts working.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2011, 00:23
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Video on the classmate

I believe it was the mounting. We removed it, set it up again and then got video on the classmate. We then cut out the plate it was mounted on.

Thanks,
Brian
__________________
Brian K
Team 1225 Robotics Mentor
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 16:52.

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