Go to Post I don't resent or envy them for being strong teams; I hope we can continue to learn from them and someday join their ranks. - dsmoker [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
  #13   Spotlight this post!  
Unread 01-15-2016, 12:23 PM
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,033
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: mjpg-streamer running on roboRIO

Quote:
Originally Posted by team-4480 View Post
I am not able to see the page, firefox just says unable to connect when I try "roborio-4480-frc.local:5800". I did reboot so I am wondering if the config file is off because I set it up over USB using 172.... instead of Wifi. I imagine there is a setting in the config file, but I don't know how to get into it since my favorite editor is not installed(nano).
To diagnose you'll need to SSH into the roborio (user: admin, password: just hit enter).
  • Does /dev/video0 exist? If not, then your camera isn't recognized by the roboRIO and mjpg-streamer won't be running. You can use 'dmesg' to look at the kernel messages and try to divine what happened. Not all cameras will be supported -- but I'm not 100% sure what ones are supported, or how to get the list (probably some linux magic)
  • Is mjpg-streamer running or did it die? "ps -Af | grep mjpg" will show you
  • If it's running, is it listening on the right port? "netstat -ln" can show you what ports are being listened on, 5800 should be in the list.
  • If /dev/video0 exists and mjpg-streamer dies, then there's something else wrong and you'll need to run mjpg-streamer on the command line. Unfortunately, I haven't put anything in the package to do this using the settings, so it's a bit verbose...
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
 


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 04:13 AM.

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