GithubHelp home page GithubHelp logo

easteriq / last_celestronfocusmotor Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 74 KB

Matlab hardware driver for the Celestron Focus Motor

License: GNU Lesser General Public License v3.0

MATLAB 100.00%

last_celestronfocusmotor's People

Contributors

easteriq avatar

Watchers

 avatar  avatar  avatar

last_celestronfocusmotor's Issues

serial number

self-note: find a way to store in the class also some sort of unique identifier, in case more than one focuser are connected to the same computer. Notably via USB, the numbering of the serial port is dynamic and arbitrary. In that case identifying the serial # oft the FTDI chip may help.

If the focuser was connected to a true serial port, numbering would be fixed. If it was connected with a serial cable, but via an USB-232(TTL) dongle, ditto as above.

RXTX fhs_lock() Error: opening lock file

When more than one serial device is present on a host, and some serial ports have been connected to, in inst.CelestronFocuser.connect(), fopen() causes a warning like RXTX fhs_lock() Error: opening lock file: /var/lock/LCK..ttyACM0: File exists to be written on stderr, for every OTHER serial port of the system which is already in use, i.e. not for the specific port which we are opening. Possibly this it is a bug of the deprecated serial object, which might be resolved by the newly recommended serialport. I'm a little wary of transitioning the code (there is not much to do, but no fopen(), delete() instead of fclose(), read()/write() instead of fprintf()/freadf()), because serialport has been introduced only in v2019b and I'm not sure whether to force the dependency on a most recent version of Matlab only. Anyway, as for a bug this looks at the moment innocuous.

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.