Go to Post FIRST is not really located in Manchester NH but with each student and mentor involved - UCGL_Guy [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 18-02-2010, 15:30
MPG's Avatar
MPG MPG is offline
Tutu Man
AKA: Michael
FRC #1259 (Paradigm Shift)
Team Role: Electrical
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Pewaukee, Wisconsin
Posts: 22
MPG is an unknown quantity at this point
Rotating camera image

Hey, we have got our axis camera working with the robot. Right now we have the camera mounted sideways (rotated 90 degrees) and we can figure out how to rotate the image one the dashboard 180 degrees but not 90 degrees. Is this possible and if so could you let us know how to change this. Thanks
__________________
Team Robot Names
2010 = Oswald
2009 = Black Magic
2008 = Barnaby Rover
2007 = Z
2006 = Dilbert
2005 = Oder
2004 = Gerry


  #2   Spotlight this post!  
Unread 18-02-2010, 15:38
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: Rotating camera image

What Language?

In LabVIEW: Go to the functions palatte, then to Vision and Motion -> Vision Utilities ->Image Manipulation. You will find a VI called "Rotate Image", with an input (double type) for Degrees. I recommend doing this on the Classmate end as the cRio is already doing a lot of work to handle vision processing.

I don't know about other languages.
__________________
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 18-02-2010, 15:42
MPG's Avatar
MPG MPG is offline
Tutu Man
AKA: Michael
FRC #1259 (Paradigm Shift)
Team Role: Electrical
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Pewaukee, Wisconsin
Posts: 22
MPG is an unknown quantity at this point
Re: Rotating camera image

We are using JAVA but thank you for the quick responce!
__________________
Team Robot Names
2010 = Oswald
2009 = Black Magic
2008 = Barnaby Rover
2007 = Z
2006 = Dilbert
2005 = Oder
2004 = Gerry


  #4   Spotlight this post!  
Unread 21-02-2010, 20:38
Laaba 80 Laaba 80 is offline
Registered User
AKA: Joey
FRC #1714 (MORE Robotics)
Team Role: Alumni
 
Join Date: Dec 2007
Rookie Year: 2001
Location: San Jose, CA
Posts: 495
Laaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond repute
Re: Rotating camera image

We are having trouble rotating the image 180 degrees using Wind River. I see the rotate function, but it doesnt actually do anything when I call it. Other camera functions like WriteBrightness and Write Resolution do not work either. Do I need to call something after those functions to finalize the changes?
__________________
Driving Record - 75-43-8
Coaching Record - 92-65
  #5   Spotlight this post!  
Unread 22-02-2010, 12:43
elfinn elfinn is offline
Team 166 Mentor
AKA: Beth Finn
FRC #0166 (Chopshop Team 166)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Merrimack, NH
Posts: 14
elfinn is an unknown quantity at this point
Re: Rotating camera image

It works for us. After creating our camera object (camera166), we call

camera166->WriteRotation(AxisCameraParams::kRotation_180);

This actually stops and restarts the camera so you have to wait a few seconds.
  #6   Spotlight this post!  
Unread 22-02-2010, 16:49
Laaba 80 Laaba 80 is offline
Registered User
AKA: Joey
FRC #1714 (MORE Robotics)
Team Role: Alumni
 
Join Date: Dec 2007
Rookie Year: 2001
Location: San Jose, CA
Posts: 495
Laaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond repute
Re: Rotating camera image

How and where are you doing this? To declare it did you just do AxisCamera &camera = AxisCamera::GetInstance();? I have all our camera code in robot init. It has the GetInstance of the camera, then write brightness, compression, and rotation, however none of those functions work. I just get the default video on the screen.
__________________
Driving Record - 75-43-8
Coaching Record - 92-65
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
no camera image in the dashboard Team_136 Control System 3 23-02-2010 18:49
Camera Image Delay taysonholzer C/C++ 6 18-02-2010 10:59
Camera image? P.Svilans Programming 1 09-03-2009 17:20
Invert camera image? mcb NI LabVIEW 2 21-02-2009 13:23
Rotating Light - not rotating :-/ MrB Technical Discussion 17 08-02-2002 20:36


All times are GMT -5. The time now is 03:25.

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