Go to Post Man, Dave always has to one up us. We build robots to play games, he build robots to go on other planets, Elgin makes CD 30 inches, you make it 63 inches. - Levin571 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread Yesterday, 23:14
microbuns's Avatar
microbuns microbuns is online now
Registered User
AKA: Sam Maier
FRC #4917 (Sir Lancerbot)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Elmira, ON
Posts: 86
microbuns is an unknown quantity at this point
View Non-Axis IP Camera in GRIP Desktop App

We have a working (non Axis) IP camera which is serving an HTTP MJPEG page which we can access in code via
Code:
cs::HttpCamera hikCamera("HikCam", "http://admin:<password>@10.49.17.11/Streaming/channels/2/httppreview" );

frc::CameraServer::GetInstance()->AddCamera(hikCamera);
frc::CameraServer::GetInstance()->StartAutomaticCapture(hikCamera);
This adds the camera to the CameraServer, and we can see the camera stream on the SmartDashboard. Additionally, we can also view this camera stream by adding the identical URL to VLC. Thus, we know this is the correct address, and both the robot and our computer can see it.

When we use a standard Axis IP cam, our GRIP desktop app works perfectly. However, when adding this camera as an IP cam in the GRIP desktop app, with the above address, it does not show up. It gives some kind of stack trace, but we can't highlight it because it spams the error box so fast, and the box is much too small to be able to see the important parts of the stacktrace (file names or lines), so we can't get that information as to why it is failing.

We are using the latest GRIP (1.5.2) and our camera is the DS-2CD2D14WD.

Has anyone got any other IP cameras than the Axis ones to work with the GRIP desktop app? Thanks.
Reply With Quote
 


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 09:52.

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