|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Tips for C++ programming the 2010 control system
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? |
|
#2
|
|||
|
|||
|
Re: Tips for C++ programming the 2010 control system
Quote:
Also, according to the 2010 WPLib Manual you should try using the 2010ImageDemo code sample. |
|
#3
|
|||
|
|||
|
Re: Tips for C++ programming the 2010 control system
Quote:
Code:
AxisCamera &camera = AxisCamera::getInstance(); camera.writeResolution(k320x240); camera.writeBrightness(0); 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. |
|
#4
|
||||
|
||||
|
Re: Tips for C++ programming the 2010 control system
Nope, that does not do anything (for the dashboard image)
all you need to do is create a PCVideoServer object |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |