Go to Post You are done with designing something, not when there's nothing more to add, but when there's nothing left to remove. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 25-01-2017, 08:29
ryan.mitchell ryan.mitchell is offline
Registered User
FRC #1512 (Big Red)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Middletown, Delaware
Posts: 14
ryan.mitchell is an unknown quantity at this point
Re: URL for MjpegServer from CameraServer/USB Camera

Quote:
Originally Posted by ryan.mitchell View Post
What would the mjpegserver be if I am accessing the camera from a raspberry pi? Currently I am just typing raspberrypi.local:1185 into a browser to see the camera image but I would like to get it to appear on my smartdashboard.
Oh wait...it should be the same thing just port 1185, I'll give that a go and relay how it goes.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2017, 21:50
thecoopster20 thecoopster20 is offline
4th Year Programmer - Java
FRC #3602 (Robomos)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2014
Location: Escanaba, MI
Posts: 16
thecoopster20 is an unknown quantity at this point
Re: URL for MjpegServer from CameraServer/USB Camera

Quote:
Originally Posted by ryan.mitchell View Post
Oh wait...it should be the same thing just port 1185, I'll give that a go and relay how it goes.
Any success? I am on the same boat as you are currently.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2017, 22:34
MuskieProgramme MuskieProgramme is offline
Registered User
FRC #6420
Team Role: Programmer
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 19
MuskieProgramme is an unknown quantity at this point
Re: URL for MjpegServer from CameraServer/USB Camera

I would also like to know how to get the camera stream from the raspberry pi on the dashboard. Even better would be an unmodified Labview Dashboard, as nobody on my team is interested in using the other options. I'm fairly certain it is possible with the right things published to network tables, but who knows...
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2017, 23:12
ryan.mitchell ryan.mitchell is offline
Registered User
FRC #1512 (Big Red)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Middletown, Delaware
Posts: 14
ryan.mitchell is an unknown quantity at this point
Re: URL for MjpegServer from CameraServer/USB Camera

Quote:
Originally Posted by thecoopster20 View Post
Any success? I am on the same boat as you are currently.
Well, I'm upset...I hit submit post and it just went *poof*...anyway a rundown of my current situation is that it didn't work however I an idea that I just thought of which I will test tomorrow (and paste my code). I believe I have just been making a stupid mistake. As for MuskieProgrammes question, I would use the SmartDashboard definitely because I believe LabView can only handle Usbcameras, could be wrong though. Also, network tables can only publish/get variables (again, 99% positive).

Ryan
Reply With Quote
  #5   Spotlight this post!  
Unread Yesterday, 09:15
MuskieProgramme MuskieProgramme is offline
Registered User
FRC #6420
Team Role: Programmer
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 19
MuskieProgramme is an unknown quantity at this point
Re: URL for MjpegServer from CameraServer/USB Camera

Yes, the actual stream can't be over network tables. But if you start reading the CameraServer class you find it is publishing certain information to NetworkTables... I believe the LabView dashboard uses this information to provide the camera drop-downs. It looks like all of CameraServer's dependencies are available on the Pi so I'm going to try to deploy it there and see what happens.
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 12:58.

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