Giter Site home page Giter Site logo

asi-rs's People

Contributors

mattblack85 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

erplsf

asi-rs's Issues

refactor exposure cycle

An exposure cycle is usually following this flow:

  1. a client request the camera to expose for X seconds
  2. the driver call into the library function to do the exposure
  3. when done, the client gets the BLOB with the exposure data

right now, to have a semi-functional driver that can be tested the driver converts binary data into FITS and dumps the picture to the disk.

The exposure cycle should be refactored such that:

  1. clients request an exposure
  2. the driver prepare the properties to signal an exposure is ongoing
  3. when the exposure is done the driver should dump the exposure data into a buffer
  4. the client gets the raw data and does whatever it wants with it

open questions about this API remain:

  • what is the best way to notify the client the exposure is ready to be downloaded? Callback into the client? Client polling a driver property until it is ready?
  • should the buffer be dynamically allocated to store more exposures or should the driver block until the latest exposure is downloaded?

Can't compile

If I git clone the repo ant then cargo build it always fails. I get giant list of C errors of missing functions and at the end

= help: some 'extern' functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the '-l' flag to specify native libraries to link = note: use the 'cargo:rustc-link-lib' directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

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.