Go to Post That'll teach me to send anyone for a tool. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
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 02-13-2011, 09:05 PM
BotnEyedJoe BotnEyedJoe is offline
Mentor
AKA: Joe Hurler
no team
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rosemont, PA
Posts: 29
BotnEyedJoe is an unknown quantity at this point
Re: Anyone successful with camera in RobotPy?

Quote:
Originally Posted by tux View Post
2 Questions.

1) My team just wants video feed from the camera back to the driver station.

Can I do this without the default RobotPy or do I have to apply all of the fixes discussed in this thread and build from source?


2) I'm not sure which camera we have. I recognize it from the picture in the KoP list, but the description says:

"Camera, Axis M1011
206 color camera..."

So, is it the M1011 or the 206?
2) The picture in the KOP list is of the M1011.

1) If you just want video back to the driver station, there is a new option this year of plugging the camera directly into the network bridge on the robot (bypassing the cRIO). I understand this requires Dashboard changes, and the camera config is a little different. There are threads here on CD about that, though I can't help more than that, since we are not pursuing that solution.

If you follow the 'traditional' solution, plugging the camera in the cRIO, and doing the vision.AxisCamera.GetInstance() to start the video feed to the Dashboard, I will tell you that we had problems doing even that much with the M1011 in either C++ or any version of RobotPy. Quite a few times the feed would work, many times it would not, and we could never change the camera parameters through the software. But the patch fixed all that.

You can apply the proposed patch mentioned in this thread to either RobotPy 2011.2 or the latest RobotPy from the git repository, and though you will have to 'build it yourself', I believe the result will be a more reliable and configurable video feed.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-14-2011, 11:43 PM
team 3311 team 3311 is offline
Registered User
FRC #4057 (Klamath Basion Robotics)
Team Role: Leadership
 
Join Date: Dec 2010
Rookie Year: 2008
Location: klamath falls OR.
Posts: 75
team 3311 has a spectacular aura aboutteam 3311 has a spectacular aura about
Re: Anyone successful with camera in RobotPy?

Quote:
If you follow the 'traditional' solution, plugging the camera in the cRIO, and doing the vision.AxisCamera.GetInstance() to start the video feed to the Dashboard, I will tell you that we had problems doing even that much with the M1011 in either C++ or any version of RobotPy. Quite a few times the feed would work, many times it would not, and we could never change the camera parameters through the software. But the patch fixed all that.

You can apply the proposed patch mentioned in this thread to either RobotPy 2011.2 or the latest RobotPy from the git repository, and though you will have to 'build it yourself', I believe the result will be a more reliable and configurable video feed.
Hmmm I read the whole thread and tried a bit with our robot but I can't get it done. I did exactly what you are saying up here.

Can maybe anybody briefly explain the steps that we have to do to get our camera running? Its an Axis 206 camera.
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 03:49 AM.

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