Giter VIP home page Giter VIP logo

davros's Introduction

DAlek Video Remote Operating System

Hacked together in 24 hours as part of HackedIO in London, this application uses BBCs Television Application Layer (TAL) to provide a control interface to a robotic Dalek. Images from the Dalek are fetched every second and displayed on screen.

The Dalek is controlled using the navigation and select/enter buttons on a TV remote or PC keyboard. The app then makes HTTP GET requests to a remote server.

  • Enter/Select: Shout "Exterminate!"

    URL: prefix+exterminate

  • Up: Move Dalek forwards

    URL: prefix+forward

  • Left/Right: Turn Dalek Left or Right

    URL: prefix+left or prefix+right

  • Down: Turn Dalek around

    URL: prefix+180

The image displayed is requested from prefix+grab.jpeg?timestamp - the timestamp is appended to prevent the image being cached between requests.

The prefix used in all requests can be configured by editing /static/script/appui/components/main.js and changing the line beginning var server = For example:

var server = "http://192.168.69.191:81/";
var server = "http://10.2.0.1:8080/control/";

The Dalek used to implement and test this application was based around a Raspberry Pi with a camera, with a python script providing the web interface using bottle. The images were grabbed by a bash script running raspistill in a while loop - not particularly elegant! Any other method that allows a JPEG to be served over HTTP at the appropriate location should work. The original goal involved streaming video to the TV app, however rraspivid doesn't behave terribly well with pipes and the provided camera driver didn't expose a v4l2 device.

Suggested improvements:

  • Implement proper video streaming

  • Add a proper layout for screens supporting 1080p

  • Allow Dalek to be selected from the interface, permitting proper control of robotic army

This application was developed by:

With help from the members of BBC R&D/BBC Future Media team at the event who provided the dalek, introductions, a wall of TV screens and plenty of enthusiastic support.

TAL is open source and available from http://www.github.com/fmtvp/tal/ and the sample application used to provide the bones of this project is available at http://www.github.com/fmtvp/talexample/

davros's People

Contributors

tswsl1989 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.