Skip to content

feklee/theta-control

Repository files navigation

About

Theta Control is a Firefox OS app for remote controlling the Ricoh Theta 360° panorama camera.

It is available on Firefox Markteplace.

Development

Requirements

  • Compass: To compile the SCSS into CSS.

  • Node.js: To create package.zip for distribution.

  • ptp.js: JavaScript PTP/IP library in version 2

    Install into: package/vendor/ptp.js

Coding conventions

  • Code needs to validate with JSLint.

  • Comments are in Markdown.

  • Don’t use constructors: JavaScript is a classless language.

  • Don’t throw exceptions. JavaScript is a weakly typed language, allowing functions to return different types of values, including types indicating errors.

  • Versioning: major.minor.patch

Publishing a new version

  1. Install dependencies, if needed.

  2. Refresh CSS:

    $ cd package
    $ compass compile
    
  3. Keep version up to date in:

    • Git tags

    • package/manifest.webapp

  4. Create package:

    $ cd package-zip-creator
    $ npm update
    $ node app
    
  5. Publish to:

Reading

Yasuhiro Fujii’s article “Play with Ricoh THETA w/o Smartphones” lists commands and device properties that can be accessed by PTP/IP.

License

Except where noted otherwise, files are licensed under the MIT License.

The MIT License (MIT)

Copyright (c) 2014 Felix E. Klee

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

To control the Ricoh Theta from Firefox OS

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors