|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Axis Vision Problem
Hey everyone,
I am going to edit this post because half of it was resolved. Thanks to those who helped! Current issue: The code in the attachments does not result in a streaming video on the classmate's dashboard. I configured the camera according to the camera configuration guide provided by FIRST. The Post that was here previously: Quote:
Last edited by Straberrie : 25-01-2011 at 16:01. |
|
#2
|
|||||
|
|||||
|
Re: Is it the cRio or the Code?
Where is the camera connected? It needs to be on cRIO port 2 for the default Dashboard display to work.
Did you remember to install the 6v servo power jumpers on the Digital Sidecar for the PWM outputs they are connected to? Do you have good communication and robot code lights on the Driver Station? Have you enabled the robot? |
|
#3
|
||||
|
||||
|
Re: Is it the cRio or the Code?
Quote:
This fixed the servo problem. We did not have the jumpers, now they are moving which means everything is alright with the cRio. The communications are good, Robot Code light is on, and the Robot is enabled. Do you by any chance know if the camera code is not what I need to have the image display? Thank you! |
|
#4
|
||||
|
||||
|
Re: Is it the cRio or the Code?
Unless they changed it for 2011 (have not checked) the code you have appears like it should work.
Have you configured the camera itself? Instructions are here: http://www.usfirst.org/uploadedFiles...our_Camera.pdf In short, you have to set up the camera's username/password access to match that used internally by the software libraries given to us. Also, regarding your imaging problems, if you deploy camera-relevant code (C++ version at least, which it sounds like you are using) to your cRIO, you will likely have problems imaging due to the way the camera software module is written (it has a bug that prevents proper system soft-reboots, which the imaging tool needs to do). This is why you were forced to use safe mode. The alternative is to "undeploy" and reboot your robot before attempting an imaging operation. |
|
#5
|
||||
|
||||
|
Re: Is it the cRio or the Code?
Quote:
Yes, I configured the camera prior to use, and after it did not work, I reset it to factory conditions and went through the process again, but there is still no camera image. My desktop has a "Setup Axis Camera" icon which is very similar to the icon for re-imaging. When I open it, it tells me that "Unable to complete operation because of unexpected error %d: %s63 TCP Open Connection in Axis Issue HTTP Request with Authentication.vi->Axis Issue Get.vi->Axis Create FRC User.vi->Dialog.vi" Is this Setup important by any chance? Thanks! |
|
#6
|
||||
|
||||
|
Re: Is it the cRio or the Code?
Quote:
![]() Do you get any sort of diagnostics on the driver station message windows? Quote:
I think if you wanted to try to use that, you'd need to factory reset the camera again to default settings. You also need to wire the camera directly to your laptop and have the laptop's IP address set appropriately (different than you would set your laptop up to in order to talk to the robot/cRIO). |
|
#7
|
|||||
|
|||||
|
Re: Axis Vision Problem
Quote:
Are you sure you're putting the GetInstance() line in the right place? It looks like it's going to get called repeatedly, and I think it really should be somewhere that happens only once during initialization. |
|
#8
|
||||
|
||||
|
Re: Is it the cRio or the Code?
We had an issue a couple days ago where the factory reset button on our Camera was pressing against our Arm. I can confirm that the Camera Setup Tool does still work with the system due to this.
|
|
#9
|
||||
|
||||
|
Re: Is it the cRio or the Code?
Hi.
I had the same problem a few days ago but I got my camera working. I dont specifically know what fixed the problem. We're using the Axis camera provided to us a few years ago. All I did was to make sure I followed the steps as advised by FIRST, Use a CROSSOVER cable in PORT 2, Make sure the camera has a power supply (5V) and connect the camera directly to the PC with crossover cable and run the "Setup Axis Camera" Program. The process is fairly quick. |
|
#10
|
||||
|
||||
|
Re: Axis Vision Problem
Quote:
OP, any chance you can post your complete OperatorControl()? Or a simplified version of such that you've tried and not been successful with? Also as noted in another post, do check that you are using a crossover cable for the camera<>crio connection. Check the ethernet link light on the cRIO when both crio and camera are powered up. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|