Go to Post You can never take enough precautions when it comes to safety. Please, be prepared for anything. - Tom Bottiglieri [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2015, 00:33
btcshields6 btcshields6 is offline
Registered User
FRC #4206
 
Join Date: Aug 2014
Location: Texas
Posts: 107
btcshields6 is an unknown quantity at this point
Axis Camera Not Appearing on Dashboard

Hey guys!

I'm not able to see my axis camera feed on the dashboard.

I've read through a few posts with similar problems to this, but I haven't had any success with the solutions offered in those posts.

The camera is connected to power, connected to the router, and has gone though the Axis Camera Setup. I accessed it in my browser, saw the live video feed, tested it there, and also changed its IP to 10.xx.yy.11. This didn't work so I went into the vision processing code, as suggested elsewhere, and changed the IP there to that. I also changed the Boolean to false so that it would look for an IP camera instead of a USB one.

Any thoughts?

Thanks in advance,

Benjamin
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2015, 06:21
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Axis Camera Not Appearing on Dashboard

You didn't mention changing the Vision selector on the dashboard to IP Camera. So be sure to do that. Beyond that, I would ping the camera IP from he DB computer, I'd then likely open the DB source code from the template and probe the values on the diagram and see if the robot and camera IP are being delivered to the loop.

I have seen times when the DS needs to be closed and restarted in order for the TCP connection to succeed and communicate this info to the DB program.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2015, 06:55
btcshields6 btcshields6 is offline
Registered User
FRC #4206
 
Join Date: Aug 2014
Location: Texas
Posts: 107
btcshields6 is an unknown quantity at this point
I did forget to include that I did change the vision selector. However, do I just change that to IP camera every time? And is there a button to push after that to start seeing it?
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2015, 08:19
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Axis Camera Not Appearing on Dashboard

Nope. No button. Once the DB knows what device to connect to and is told the type of device, it will attempt to start a session with it, decode the MJPEG stream and display them.

Do you know if you have an FRC/FRC account on the Axis camera?

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2015, 10:23
btcshields6 btcshields6 is offline
Registered User
FRC #4206
 
Join Date: Aug 2014
Location: Texas
Posts: 107
btcshields6 is an unknown quantity at this point
Re: Axis Camera Not Appearing on Dashboard

I do have an FRC/FRC account. I set it up using the Axis Camera Setup. I've logged in and changed the IP to 10.42.06.11.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2015, 11:37
Laxkief9098 Laxkief9098 is offline
Registered User
FRC #4557
 
Join Date: Jan 2014
Location: Connecticut
Posts: 17
Laxkief9098 is an unknown quantity at this point
Re: Axis Camera Not Appearing on Dashboard

We ran into the same problem ourselves. After making sure the vision was enabled on the front panel (if deploying code not setting as start up) and the selector was IP camera, we made a custom dashboard and replaced the "axis.local" to the static ip of 10.xx.yy.23 (the 23 can be anything as long as it is not the same anything else on the network but it shouldn't be). I did the same in the vision VI in the robotmain.vi. Hope this helps.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-02-2015, 11:42
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Axis Camera Not Appearing on Dashboard

Quote:
Originally Posted by Laxkief9098 View Post
... replaced the "axis.local" to the static ip of 10.xx.yy.23 (the 23 can be anything as long as it is not the same anything else on the network but it shouldn't be).
.23 isn't a good static IP to use because it's in the assignment range of the DLink DHCP server and the address can get double assigned.
Keep your static IPs less than .20 and you'll be safe.

per RoboRIO Networking
Quote:
DHCP range: 10.TE.AM.20 to 10.TE.AM.199
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 06-02-2015 at 11:45.
Reply With Quote
  #8   Spotlight this post!  
Unread 14-02-2015, 01:40
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 671
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Axis Camera Not Appearing on Dashboard

We have the same issue with the Axis camera except we are using the Java SmartDashboard. We "added" the "simple camera" to the smartdashboard. A pink rectangle showed up and it said NO CONNECTION. We had the camera setup correctly and we could see the video feed from the internet explorer with http://10.4.92.11. I made the Smartdashboard editable and then right click on the pink rectangle->properties and made sure the simple camera IP is indeed 10.4.92.11. So everything looks proper and yet, I can't see any video feed. I assume we don't need to put any code in to make the video feed to appear. Any other ideas?
__________________
Reply With Quote
  #9   Spotlight this post!  
Unread 14-02-2015, 12:36
Intern Intern is offline
Registered User
FRC #3596
 
Join Date: Jan 2014
Location: South Milwaukee
Posts: 17
Intern is an unknown quantity at this point
Re: Axis Camera Not Appearing on Dashboard

Instead of having a set ip change it so it automatically gets ip and dchp. i had the same problem, remember press the save button
Reply With Quote
  #10   Spotlight this post!  
Unread 14-02-2015, 12:41
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Axis Camera Not Appearing on Dashboard

What address have you set the Java SmartDashboard to look for the camera at?
The default is probably "axis-camera", but you could use a static IP for the camera if you edit the code to use the same one.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #11   Spotlight this post!  
Unread 14-02-2015, 14:40
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 671
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Axis Camera Not Appearing on Dashboard

Quote:
Originally Posted by Mark McLeod View Post
What address have you set the Java SmartDashboard to look for the camera at?
The default is probably "axis-camera", but you could use a static IP for the camera if you edit the code to use the same one.
Where do you set the Java SmartDashboard address for the camera? I thought you just right click on the pink "Simple Camera" widget->Properties and it was showing me the IP being 10.4.92.11. I looked through all other menus and did not see anywhere else that mentioned camera.
__________________
Reply With Quote
  #12   Spotlight this post!  
Unread 14-02-2015, 15:33
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Axis Camera Not Appearing on Dashboard

Sorry, that's probably all it takes.
My thoughts are a bit scattered 3 days before bagging...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #13   Spotlight this post!  
Unread 15-02-2015, 02:37
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 671
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Axis Camera Not Appearing on Dashboard

Do we need to explicitly write code to send the image to the Smart Dashboard or does the dashboard get the video stream directly from the camera without involving any robot code?
__________________
Reply With Quote
  #14   Spotlight this post!  
Unread 15-02-2015, 08:57
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Axis Camera Not Appearing on Dashboard

The axis camera includes an http based MJPEG streaming connection. You shouldn't need anything on the roboRIO to stream. The roboRIO runs a similar stream on a different port for the USB cameras.

Greg McKaskle
Reply With Quote
  #15   Spotlight this post!  
Unread 15-02-2015, 14:06
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 671
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Axis Camera Not Appearing on Dashboard

BTW, we are also using a second USB camera. We have the same problem that the USB camera video stream does not show up in the SmartDashboard. We have created the USB camera widget and it said connection refused.
__________________
Reply With Quote
Reply


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 21:23.

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