Go to Post Happy Championship and may the odds be ever in your favor! - Jon Stratis [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 11-01-2010, 15:51
jc4p jc4p is offline
Registered User
AKA: Kasra Rahjerdi
FRC #2412 (Robototes)
Team Role: Alumni
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Bellevue
Posts: 12
jc4p is an unknown quantity at this point
Re: Tips for C++ programming the 2010 control system

Quote:
Originally Posted by woodk View Post
Has anyone got the CameraToDashboardExample to actually work? I can compile it but I get nothing on the DriverStation. I notice that the driverstation program changes your IP address to 10.xx.yy.5 however the CameraToDashboardExample program says it is sending the images to 10.xx.yy.6 I tried setting up a remote dashboard with the IP10.xx.yy.6 but it is not able to connect to the robot at all.

Since there is no source code available yet, I can't change the code to send to 10.xx.yy.5.

Any I missing something, or should I just be patient and wait for a fix to be released?
Also, I can't be 100% sure about this because I don't have access to our robot right now, but I think all you need to do to populate the video box in the dashboard program is insert this in your code:

Code:
AxisCamera &camera = AxisCamera::getInstance();
camera.writeResolution(k320x240);
camera.writeBrightness(0);
Of course, adjust resolution and brightness as necessary.

According to WPI_Library_Users_Guide.pdf found on:
http://first.wpi.edu/FRC/frccupdates.html

All you need to do to populate that field is to call the camera getInstance method somewhere in your code.
Reply With Quote
 


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
2010 Control System Manual screamingeagle FRC Control System 9 11-01-2010 14:01
Unclaassified: Information about the 2010 control system Nadav Zingerman General Forum 35 24-11-2009 19:17
2009 Control System LabVIEW Tips and Pitfalls Travis Hoffman NI LabVIEW 3 22-12-2008 11:25
2009 Control System C++ Tips & Pitfalls heydowns Programming 1 19-12-2008 17:59
A few questions on programming the Control System Avarik Control System 21 08-02-2004 11:42


All times are GMT -5. The time now is 14:11.

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