Go to Post I'm working, don't consume my oxygen. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 19-01-2010, 17:27
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
[Help Needed] Camera to Dashboard

So we have configured the camera per the control systems manual part 2 (change the IP of the camera, and run the Setup Axis application). This worked and we had a feed of the camera from the web browser.

We then popped up WindRiver and fixed the camera sample code (see thread: http://www.chiefdelphi.com/forums/sh...d.php?t=79892), it builts and downloads to the cRio. We've been trying things around for the past 3 hours to no prevail. Could somebody please provide proper instructions (as I've heard hardly any teams have this working in C++, and the documentation is deplorable)? Thanks a bunch, hopefully this thread can be a reference for all.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2010, 18:20
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: [Help Needed] Camera to Dashboard

As per the documentation on page 53 of the WPI library documentation (http://first.wpi.edu/Images/CMS/Firs...ers_Guide.pdf).

Code:
// java naming conventions instead of C++
AxisCamera& camera = AxisCamera::getInstance();
camera.writeResolution(k160x120);
camera.writeBrightness(0);
That's the code I use to get images from the camera. Make sure the green button below the video box is illuminated.
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
HELP NEEDED! Camera twitches while disabled lkdjm Programming 5 19-02-2007 11:34
Camera help needed bluisnake Programming 9 08-08-2006 14:58
Urgent help needed : Camera locks on to no apparent target! ?!?! Salik Syed Programming 11 06-03-2006 17:24
Emergency Help Needed on Main Board and Camera amateurrobotguy General Forum 9 09-02-2006 21:22
camera help needed Anton Programming 0 17-02-2005 06:52


All times are GMT -5. The time now is 02: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