easteriq / last_celestronfocusmotor Goto Github PK
View Code? Open in Web Editor NEWMatlab hardware driver for the Celestron Focus Motor
License: GNU Lesser General Public License v3.0
Matlab hardware driver for the Celestron Focus Motor
License: GNU Lesser General Public License v3.0
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.