|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Yes, i did get the camera configured correctly, but im having some issues understanding how the program works.. or if i can write a more simple program for it.
|
|
#2
|
||||
|
||||
|
Re: Programming the axis camera......
The update for windriver that was launched after kickoff comes with a template in it. Open the "new" drop down menu and click example and you should find it there.
|
|
#3
|
|||
|
|||
|
Re: Programming the axis camera......
How did you configure the camera and how do you know it's getting recognized by the cRIO? I guess that's the problem we need to work out first cause the VisionDemo and the VisionServo programs didn't work.
|
|
#4
|
||||
|
||||
|
Re: Programming the axis camera......
We, team 1742, are having trouble getting a feed from the camera via the cRIO. we have been able to get the camera to give us a feed while it is connected to the computer, but when we connect it to the cRIO...nothing. please help.
|
|
#5
|
|||
|
|||
|
Is anyone else having problems with the new camera code released Jan 1? It will not find any colour particles at all for me. I ended up reverting VisionAPI.cpp, VisionAPI.h and TrackAPI.cpp, TrackAPI.h to the old versions and it is now working again.
In answer to the question about camera servo tracking, there is an example called "FRC Vision-Servo Demonstration Program" that supposedly does this, although again, it did not work with the new VisionAPI and TrackAPI classes. I have not tried it with them reverted. There is also an example that drives towards the green, and one other example (can't remember what it does). |
|
#6
|
|||
|
|||
|
Re: Programming the axis camera......
After much tinkering, we finally got the camera doing what we wanted it to do.
The best camera output you're going to get will be to have your camera track the colors and output the data to a console (i.e. center of gravity, etc.) Other than that, I'm not quite sure how you're going to stream live video from the cRIO... Last edited by kyungjin : 11-01-2009 at 03:59. |
|
#7
|
|||
|
|||
|
Re: Programming the axis camera......
Quote:
Our code is working great with the older versions of those classes (using 2 servos to scan, find pink and green targets and track them if they are the right way round.). However, I couldn't get the updated classes to work. |
|
#8
|
|||
|
|||
|
Re: Programming the axis camera......
I'm pretty sure we're using the updated versions... But I'm not quite sure... If anything, I heard that they're updating the camera classes on the FIRST website sometime this week or next week... You could hold off on working on the camera till then...
But yeah... I'm not sure why the old program shouldn't be incompatible with the new updated classes... |
|
#9
|
|||||
|
|||||
|
Re: Programming the axis camera......
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Axis camera without the cRIO | CrazyCarl461 | NI LabVIEW | 12 | 17-01-2009 10:53 |
| Problems with the Axis Camera | popo308 | FRC Control System | 16 | 15-01-2009 19:38 |
| Axis Camera responding in the Vision Assistant but not in WindRiver | DanDon | C/C++ | 3 | 11-01-2009 12:50 |
| Focusing the AXIS camera in LV | Bryan Herbst | Programming | 3 | 03-01-2009 23:21 |
| Getting feedback from Axis Camera?? *programming in C++* | Straberrie | Programming | 3 | 01-01-2009 22:39 |