|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Axis Camera without the cRIO
We are trying to view image data on the dashboard without runing it through the cRIO for lag reasons, is this possible? If so, how can it be accomplished? I can access the cam through the router and it has an IP similar to the robot's(10.30.44.19), How could we set this up?
Thanks! |
|
#2
|
|||
|
|||
|
Re: Axis Camera without the cRIO
You can view it from a standard web browser, or you could find a way to display it via your favorite language. (I'd suggest removing the password, though)
If you do use a language to access the camera, I would suggest bypassing the MJPEG stream and going for the still frame capture. I haven't noticed any detriment in image speed and it was easier to set up. |
|
#3
|
||||
|
||||
|
Re: Axis Camera without the cRIO
I am able to successfully parse the MJPEG stream for ZomB, you can use ZomB or look at the source in ZomBdll\NetAndDataProcessing\Video\MJpegStream.cs
|
|
#4
|
|||
|
|||
|
Re: Axis Camera without the cRIO
The NI site contains a tutorial showing how to display camera MJPG images on the dashboard. The link is http://decibel.ni.com/content/docs/DOC-15144.
Greg McKaskle |
|
#5
|
|||
|
|||
|
Re: Axis Camera without the cRIO
Quote:
(Maybe this is a dumb question... I don't actually have access to the robot now to test if the video is showing in the window. Is there only ever 1 dashboard, and creating a new Dashboard Project it makes it the one?) |
|
#6
|
|||||
|
|||||
|
Re: Axis Camera without the cRIO
Quote:
We don't do software development on the Classmate, so we have to copy the compiled program from our programming computer. We got tricky and used Windows file sharing to make the folder on the Classmate containing the Dashboard program available on the network. A simple change to the build specification can put the .exe file in the right place automatically. |
|
#7
|
||||
|
||||
|
Re: Axis Camera without the cRIO
I've the same headache, I've never actually used Labview... How do I take the modified Labview project from my development PC and get it over to my classmate? Is there a tutorial somewhere? I feel like I'm missing something basic, like an 'export' or 'deploy' button or something.
Thanks in advance. |
|
#8
|
|||||
|
|||||
|
Re: Axis Camera without the cRIO
You'll need to create an .exe for your dashboard under Build Specifications, then that can be copied to your Classmate.
Here are three different methods of doing this: 1) If you're developing the dashboard on the same machine:
3) Give it a unique name and change the Driver Station ini to point to your Dashboard.
You can combine with method 1) above and give your Dashboard a custom name while having it build right where it's needed. Last edited by Mark McLeod : 14-04-2011 at 13:14. |
|
#9
|
|||
|
|||
|
Re: Axis Camera without the cRIO
This may help. Or not. Either way, I'll post this:
http://dl.dropbox.com/u/922232/AxisCamera.java http://dl.dropbox.com/u/922232/Camera.java |
|
#10
|
||||
|
||||
|
Re: Axis Camera without the cRIO
Thanks, we got it working last night, one more item that we noticed was that nothing seemed to work until we changed user "root"'s password to "admin" instead of the default "pass". I saw that in an a single pdf of the 5 or so instructional pdf's on setting up the camera.
Thanks again! |
|
#11
|
|||
|
|||
|
Re: Axis Camera without the cRIO
By default, the camera requires authentication for requests such as grabbing an image. Your options are to add an account such as FRC:FRC, and duplicate the authentication data, make a different account such as root:??? and duplicate that authentication data, or if you look for it, you can also turn on the camera's anonymous access and don't bother with authentication.
The LV VIs will repeat through up to three authentication requests or FRC:FRC, root:admin, and root $@#$@#$@# and then it will give up and return an error. I'm not sure about the java code.Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|