Giter Site home page Giter Site logo

fake-thermal-camera-1's Introduction

fake thermal camera

fake-thermal-camera is a server that runs some of the thermal camera code (currently on linux not raspberian). Is is designed for using with the cypress integration tests.

Project fake-thermal-camera
Platform Linux
Requires Git repository cacophony-api server to connect to
Git repository device-register
Git repository thermal-recorder
Git repository thermal-uploader
Git repository management-interface
Git repository management-interface
Git repository event-reporter
Git repository management-interface
Licence GNU General Public License v3.0

Development Instructions

Download fake-thermal-camera, and device-register, thermal-recorder, thermal-uploader, event-reporter, management-interface project into the same folder.

Make sure the cacophony-api server the devices will attach to is also running

In the fake-thermal-camera folder start the test server with

> ./run

Now you can start calling server commands. You should create a device before you get started.

Current server commands

GET http://localhost:2040/create/{device-name}?group-name={group-name}  Create a new device.  Needs to be called before any other command.
GET http://localhost:2040/sendCPTVFrames/?cptv-file={filename}  Mocks a leptond camera and sends the frames of a CPTV file (including telemetry data) on /var/run/lepton-frames (does not require a device to be created first)

cptv files are stored in cmd/fake-lepton/cptv-files you can add cptv files to this directory while the image is running and send them via sendCPTVFrames

GET http://localhost:2040/triggerEvent/{type}  Triggers and event of the given event type.

Note that the server currently only runs one device at a time. Once a new device is created it is no longer possible to use the previously created device.

fake-thermal-camera-1's People

Contributors

clare avatar

Watchers

James Cloos 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.