![]() |
Help with Axis Cameras
Hello everyone! This is my first year in my schools robotics team and i have been tasked with basically everything computer based. Coding drive code etc. The team wants to put on a Axis Camera and although they said that they did it just last year it is not working and i am very confused. Ive tried changing the IP address on the computer while its connected wired and i got through the setup of the camera and thats it. Any help or a step by step walk through would be greatly appreciated.
|
Re: Help with Axis Cameras
Honestly, I would highly suggest using a USB webcam.
Here are a few steps to get you in the right direction: http://wpilib.screenstepslive.com/s/...ifecam-hd-3000 |
Re: Help with Axis Cameras
Quote:
Axis cameras, though they are expensive, are typically the better choice imo. FRC gives a tool to set them up that should be relatively self-explanatory. I believe it is either in C:/Program Files or C:/Program Files/National Instruments/Labview 2014/projects if my memory serves me correctly. |
Re: Help with Axis Cameras
The USB cameras are a bit finicky, if your team uses the SmartDashboard (Java/C++) to view robot data and such, you will need to add a patched camera widget to the dashboard in order to view the camera feed if you are using the Simple Vision example code. The problem with using the stock camera viewer and the Simple Vision code is that the CameraServer (used in Simple Vision) does not send the mJPEG data with Huffman tables and causes an error on the Driver Station, preventing you from seeing your video feed. One way to solve this would be to use the Intermediate Vision example class, however it takes a lot of the RoboRIO CPU to decode and then re-encode the video for viewing on the dashboard, but adds the Huffman tables in the process. If you want to save your RoboRIO some CPU load, and insert the Huffman tables in on the DS computer, use this camera widget.
So you can use the USB camera with the Simple Vision example class (which uses the WPILib CameraServer) and view the image on the DS with the patched widget. There's a really well-written guide on setting up an Axis Camera here: https://wpilib.screenstepslive.com/s...an-axis-camera |
Re: Help with Axis Cameras
Quote:
|
Re: Help with Axis Cameras
See http://www.chiefdelphi.com/forums/sh...d.php?t=135835 for some helpful suggestions. Basically, use dynamic addressing everywhere, and set the camera's host name to "axis-camera" in the advanced TCP configuration.
|
Re: Help with Axis Cameras
Quote:
|
Re: Help with Axis Cameras
on topic: Those resources should help, otherwise make everything a static ip and use a static ip with the form 10.xx.xx.y for everything where xxxx is your team number(made everything easier along with advanced programs).
little bit off topic: I think first is in a transition phase with the axis/usb cameras. They didnt update any of the axis camera api but they made the whole camera server thing. It really complicated the vision tracking this year and it seemed like it was thrown into the dust as NO team that had the 3 tote auto used vision or really any team as it took too much time and you couldnt use the tape for anything. The workarounds for the tape were easy. For position/orientation a simple encoder gyro sensor fusion gave you easily enough accuracy within the first 15 seconds that there was no need for any other sensors for auto. |
| All times are GMT -5. The time now is 00:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi