![Gitter](https://badges.gitter.im/Join Chat.svg)
"OpenROV is a DIY telerobotics community centered around underwater exploration & adventure." One goal of OpenROV is to have onboard video for live viewing as the user operates the ROV. Enter: OpenROV Cockpit.
The Cockpit project provides the UI and system integration to the hardware of the ROV. It is a node.js application that is intended to run on the ROV directly that serves a HTML5 Single Page Application to a browser which uses either keyboard, gamepad, or touch to send commands back to the ROV.
Cockpit provides a socket.io based API for low latency communication with the ROV.
On a beaglebone: If you just getting started and want to have working environment for the OpenROV Cockpit, we recommend that you start with using our lastest stable release as reference from the readme in openrov-software
On a computer: Follow our developer guide: https://github.com/OpenROV/openrov-software/tree/master/developer_guide
openrov-cockpit is one of serveral packages that are combined together to enable control of an ROV. Refer to the openrov-software for a list of the other pacakges.
- USB webcam: we're using the Genius F100 HD
- mjpg-streamer: http://sourceforge.net/projects/mjpg-streamer/
- Node.js : http://nodejs.org/
- Socket.io: http://socket.io/
You can create your own plugins and share them with the community. Take a look at our openrov-grunt-init-plugin project.
-
Fork the project in github
-
Add an issue to the issue list for the changes you want to make. Browse the issues lists for many of the fixes and enhancement requests if you are looking for ideas.
-
Make your changes and or fixes.
-
Test them locally on your ROV or using the mock framework for node if you don't have one.
-
Send a pull request back to the Master repository.
Someone on the team will review the pull request and ensure the changes work on the ROVs before approving the pull request.
env 'plugins__ui-manager__selectedUI=new-ui' USE_MOCK=true video_port=8092 photoDirectory="/tmp" plugins__video__forward_camera_url="http://localhost:8092/?action=stream" configfile="/tmp/rovconfig.js" forever -w -c 'node --debug' cockpit.js