Go to Post Car Nack called. He said get off his lawn. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 16-01-2015, 16:10
Coupon4504 Coupon4504 is offline
Registered User
FRC #4504
 
Join Date: Jan 2015
Location: Blount County, Tennessee
Posts: 5
Coupon4504 is an unknown quantity at this point
Axis Camera M1103 Ethernet setup with RoboRIO

For the past two years, my team has used the M1103 camera for vision processing. In the past this was as simple as configuring its static IP (which for the last two years was 10.45.4.11) and connecting it to the wireless bridge, then connecting the cRIO to the bridge. After that point, the camera could be accessed both wirelessly via http://10.45.4.11 and the Driver Station

However, the new 2015 control system with the RobioRIO includes ports for USB cameras, as well as a new IP system through mDNS. After configuring the IP through the axis camera utility, which set the IP to change via DNS (10.45.4.20 one time and 10.45.4.22 another), I have been able to display the camera via the web interface at its respective IP. However, I have not been able to view the camera on the Drive Station. I open the Dashboard and the Driver Station, change "Camera Off" to "IP Camera," then enable the code. Nothing shows up.

Currently, the camera is connected to the router, along with the roboRIO, which I can access wirelessly. I have also tried an Ethernet chord between the computer and the wireless bridge.

What makes this situation even more annoying is not only the lack of resources regarding 2015 camera configuration, but I also receive an error when I load the driver station: "IMAQdx: Camera not Found," along with a hex code. I have found no explanations for this error. I can view camera feed on the web interface, but not on the driver station. I have used the setup utility for the axis camera, along with the bridge access point setup, multiple times.

I am aware that the new "IP" for the axis camera is axis-camera.local. I receive no connection. Only on the IP provided by the axis setup utility can I receive any feed. Is there a way to set this? I notice in the code there is a select function with either axis-camera.local or USB 0. I have ran the code in test mode and have noticed that false is sent, selection axis-camera.local. Is there a way to change the camera "IP" to axis-camera.local. Is that why the driver station can't find the camera?

Thank you very much

EDIT: I realize this should probably go under Control Systems.

Last edited by Coupon4504 : 16-01-2015 at 16:21.
  #2   Spotlight this post!  
Unread 19-01-2015, 13:08
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Axis Camera M1103 Ethernet setup with RoboRIO

Quote:
Originally Posted by Coupon4504 View Post
I am aware that the new "IP" for the axis camera is axis-camera.local. I receive no connection. Only on the IP provided by the axis setup utility can I receive any feed. Is there a way to set this? I notice in the code there is a select function with either axis-camera.local or USB 0. I have ran the code in test mode and have noticed that false is sent, selection axis-camera.local. Is there a way to change the camera "IP" to axis-camera.local. Is that why the driver station can't find the camera?
Yes the default LabVIEW dashboard only works with axis-camera.local. You can change the DNS address in the axis webserver in the advanced networking settings. NI posted instructions here: https://decibel.ni.com/content/docs/DOC-41079

Last edited by Joe Ross : 20-01-2015 at 12:04.
  #3   Spotlight this post!  
Unread 30-01-2015, 14:57
sforsyth sforsyth is offline
sforsyth
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Corona, CA
Posts: 2
sforsyth is an unknown quantity at this point
Re: Axis Camera M1103 Ethernet setup with RoboRIO

Were you able to get the camera up on the dashboard?

I followed the link to NI and posted there as well, but nothing I do seems to get the dashboard to find the camera, which makes the vision section not run at all

Any suggestions would be much appreciated. I'm thinking it has to do with the addressing of the camera, the camera is setup as ipv4 but the vision code looks to me like it is looking for axis-camera.local which I have heard is ipv6? No idea if that is the problem or not as I have fiddled a tiny bit with that setting and nothing seems to make it find the camera.
  #4   Spotlight this post!  
Unread 31-01-2015, 11:11
Coupon4504 Coupon4504 is offline
Registered User
FRC #4504
 
Join Date: Jan 2015
Location: Blount County, Tennessee
Posts: 5
Coupon4504 is an unknown quantity at this point
Re: Axis Camera M1103 Ethernet setup with RoboRIO

Yes, I was able to get the camera working. So what I realized I had to do was go to the web interface, at 10.45.4.22, and then change the DNS-name from axis-123841234 to axis-local. Once I did that, the dashboard was able to recognize the camera.
  #5   Spotlight this post!  
Unread 31-01-2015, 12:18
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Axis Camera M1103 Ethernet setup with RoboRIO

Quote:
Originally Posted by Coupon4504 View Post
then change the DNS-name from axis-123841234 to axis-local
"axis-camera" is what the DNS name should be.
  #6   Spotlight this post!  
Unread 31-01-2015, 12:25
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Axis Camera M1103 Ethernet setup with RoboRIO

Quote:
Originally Posted by RufflesRidge View Post
"axis-camera" is what the DNS name should be.
As shown here: https://wpilib.screenstepslive.com/s...an-axis-camera
  #7   Spotlight this post!  
Unread 02-02-2015, 16:16
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,750
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Axis Camera M1103 Ethernet setup with RoboRIO

We ended up getting our camera to work as well. Our problem was the true/false constant that switches between USB and IP camera access. We had it set to USB. Doh!



Quote:
Originally Posted by sforsyth View Post
Were you able to get the camera up on the dashboard?

I followed the link to NI and posted there as well, but nothing I do seems to get the dashboard to find the camera, which makes the vision section not run at all

Any suggestions would be much appreciated. I'm thinking it has to do with the addressing of the camera, the camera is setup as ipv4 but the vision code looks to me like it is looking for axis-camera.local which I have heard is ipv6? No idea if that is the problem or not as I have fiddled a tiny bit with that setting and nothing seems to make it find the camera.
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi