|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Camera live feed not working
Thank you. I did that which means that the problem is with my dev laptop downloading the code, or lack thereof.
|
|
#2
|
||||
|
||||
|
Re: Camera live feed not working
Also make sure you have the latest DS version installed and (I know this is an obvious one, but I have to mention it) the camera is configured properly according to the instructions that FIRST provided. You should also read over the code in the vision demo project that came with this year's software package. They put some delays before trying to communicate with the camera. Get everything to work correctly with their code, then add the correct pieces to yours.
|
|
#3
|
|||
|
|||
|
Re: Camera live feed not working
I tried just uploading the code from the camera example onto the robot after I did the DS update again, but it still doesn't work.
|
|
#4
|
||||
|
||||
|
Re: Camera live feed not working
The DS update is notorious for not working. The recommended approach seems to be to uninstall the DS software completely, manually delete any files it left behind, and then run the update. That way you make sure there's no chance that the updater is leaving behind things it shouldn't.
To return to an earlier point, the PCVideoServer class is indeed responsible for sending video to your dashboard, but one is automatically started upon getting an instance of AxisCamera. |
|
#5
|
|||||
|
|||||
|
Re: Camera live feed not working
The first update had an issue that kept it from overwriting the older dashboard app with the newer one, and the effective workaround was to run it once to uninstall everything then run it again to reinstall the proper version of everything. The current update does not have that problem, and the workaround is no longer necessary.
|
|
#6
|
||||
|
||||
|
Re: Camera live feed not working
|
|
#7
|
|||
|
|||
|
Re: Camera live feed not working
double-check the physical wiring of the camera
Also, are you letting the system have a bit of time to load? The camera loads later than the cRIO code so there is a delay before images are sent. What is the color of the ring around the camera lens while the robot is on? |
|
#8
|
||||
|
||||
|
Re: Camera live feed not working
Just want to add that make sure the ethernet cable is a cross-over cable.
|
|
#9
|
|||
|
|||
|
Re: Camera live feed not working
Code:
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::kResolution_320x240);
camera.WriteCompression(20);
camera.WriteBrightness(0);
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2010 FRC Camera Live Feed Lag | ideasrule | Programming | 23 | 11-02-2010 02:33 |
| Yet Another Axis Camera Live Feed Issue | z2daj | FRC Control System | 2 | 24-01-2010 13:47 |
| Live Feed with Axis Camera | CHSboy | Programming | 6 | 24-03-2009 14:43 |
| 2009 - Live camera feed to drivers during a match? | Travis Hoffman | Rules/Strategy | 23 | 21-01-2009 17:43 |
| Getting Live Feed from Axis Camera in Windriver | Inoperational | C/C++ | 8 | 15-01-2009 01:21 |