|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
axis camera crash course
I am the only programmer two years running now with no mentor to help me out. Last year I managed to scrap together enough code to get a robot to drive, but this year our team wants a camera on it. I have spent hours sifting through information from chief delphi and the documents provided in windriver, but still I cannot get coding to simply get a feed of video from the camera working. I am asking for a very basic, but complete list of all the code that I need to get a camera to send images to the dashboard. If anyone can help me and my team would be greatly appreciative.
|
|
#2
|
||||
|
||||
|
Re: axis camera crash course
Just an opinion from a mentor here... if you're looking to simply get the camera to send images back to the dashboard during teleop, this is likely ok. If, on the other hand, you're looking to do vision tracking of the targets, that's a LOT more involved for a 2nd year programmer with no mentor.
What is the goal outside of the statement that the team wants the camera onboard? :-) bob |
|
#3
|
|||
|
|||
|
Re: axis camera crash course
yes. the team wants a camera onboard. not the vision tracking yet. It would be the ultimate goal, but they understand that that wont happen this year.
|
|
#4
|
||||
|
||||
|
Re: axis camera crash course
Meant to ask earlier...
Which language? C++ Java LabView bob |
|
#5
|
|||
|
|||
|
Re: axis camera crash course
Language doesn't matter. No robot code is required to send camera images to the Dashboard. Follow the instructions for setting up the camera in the Getting Started with the 2012 Control System Guide, plug the camera into your D-Link radio with a patch (not crossover) cable and you should be all set.
|
|
#6
|
|||
|
|||
|
Re: axis camera crash course
C++:
Code:
AxisCamera &camera = AxisCamera::GetInstance(); |
|
#7
|
|||
|
|||
|
Re: axis camera crash course
That's to get the image on the cRIO and is not needed to get the image on the Dashboard.
|
|
#8
|
|||
|
|||
|
Re: axis camera crash course
So in order to get footage to the dashboard all I had to do was plug it in and leave it? Then what is the point of that line of code AxisCamera::AxisCamera.GetImage(); ? I thought that you needed all of that code to get the crio to send images to the dashboard.
I am doing all this code in c++ Last edited by 4057programmer : 22-01-2012 at 13:35. Reason: Didn't answer a question asked to me |
|
#9
|
|||
|
|||
|
Re: axis camera crash course
Quote:
|
|
#10
|
|||
|
|||
|
Re: axis camera crash course
I did not know that. hours of staring at code was really for nothing then huh? if all I had to do was simply plug it in. Thanks for your help and at our meeting today I should hopefully have some good news.
![]() |
|
#11
|
|||
|
|||
|
Re: axis camera crash course
I went to the meeting and tried to run the camera through the 8 slot crio with no coding for it at all. we dont have the router hooked up to the robot so we were just using a standard line right to the notebook. I couldnt get an image at all. What am I doing wrong?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|