
15-01-2016, 12:23
|
 |
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,050
|
|
|
Re: mjpg-streamer running on roboRIO
Quote:
Originally Posted by team-4480
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
|