GithubHelp home page GithubHelp logo

gehelem / indi_cam90_ccd Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 173 KB

Indilib driver for CAM90 diy camera

License: GNU General Public License v3.0

CMake 17.49% Pascal 26.15% C 27.80% C++ 27.66% Shell 0.90%
ccd indi libindi

indi_cam90_ccd's People

Contributors

imhack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

shucai-ok

indi_cam90_ccd's Issues

State of art of developing

Hi,
im trying to install this CAM90 driver but the images are totally black (0 values). When i use the Cam87 driver with some mod such as new width and height and pixel size and Instead the results is something like the attached image.

There is some that i'm missing?
Schermata 2022-11-30 alle 13 29 48

compile error

Consolidate compiler generated dependencies of target cam90
[ 50%] Built target cam90
Consolidate compiler generated dependencies of target indi_cam90_ccd
[ 75%] Building CXX object CMakeFiles/indi_cam90_ccd.dir/cam90_ccd.o
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:30:11: error: illegal initializer (only variables can be initialized)
const int POLLMS = 300; /* Polling interval 500 ms */
^
/usr/local/include/libindi/defaultdevice.h:506:16: note: expanded from macro 'POLLMS'
#define POLLMS refCurrentPollingPeriod()
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:235:16: warning: 'refCurrentPollingPeriod' is deprecated [-Wdeprecated-declarations]
SetTimer ( POLLMS );
^
/usr/local/include/libindi/defaultdevice.h:506:16: note: expanded from macro 'POLLMS'
#define POLLMS refCurrentPollingPeriod()
^
/usr/local/include/libindi/defaultdevice.h:504:60: note: 'refCurrentPollingPeriod' has been explicitly marked deprecated here
uint32_t &refCurrentPollingPeriod() attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:382:20: warning: 'refCurrentPollingPeriod' is deprecated [-Wdeprecated-declarations]
SetTimer ( POLLMS );
^
/usr/local/include/libindi/defaultdevice.h:506:16: note: expanded from macro 'POLLMS'
#define POLLMS refCurrentPollingPeriod()
^
/usr/local/include/libindi/defaultdevice.h:504:60: note: 'refCurrentPollingPeriod' has been explicitly marked deprecated here
uint32_t &refCurrentPollingPeriod() attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:383:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &GainNP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:384:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &OffsetNP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:386:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &BaudrateANP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:387:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &BaudrateBNP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:388:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftditimerANP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:389:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftdilatencyANP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:390:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftditimerBNP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:391:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &LibftdilatencyBNP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:392:9: warning: 'defineSwitch' is deprecated [-Wdeprecated-declarations]
defineSwitch ( &CoolerSP );
^
/usr/local/include/libindi/defaultdevice.h:170:70: note: 'defineSwitch' has been explicitly marked deprecated here
void defineSwitch(ISwitchVectorProperty *svp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:393:9: warning: 'defineNumber' is deprecated [-Wdeprecated-declarations]
defineNumber ( &CoolerNP );
^
/usr/local/include/libindi/defaultdevice.h:152:70: note: 'defineNumber' has been explicitly marked deprecated here
void defineNumber(INumberVectorProperty *nvp) attribute((deprecated));
^
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:480:5: warning: expression result unused [-Wunused-value]
cameraStopExposure;
^~~~~~~~~~~~~~~~~~
/Users/charlesyang/tmp/indi_cam90_ccd/cam90_ccd.cpp:608:16: warning: 'refCurrentPollingPeriod' is deprecated [-Wdeprecated-declarations]
SetTimer ( POLLMS );
^
/usr/local/include/libindi/defaultdevice.h:506:16: note: expanded from macro 'POLLMS'
#define POLLMS refCurrentPollingPeriod()
^
/usr/local/include/libindi/defaultdevice.h:504:60: note: 'refCurrentPollingPeriod' has been explicitly marked deprecated here
uint32_t &refCurrentPollingPeriod() attribute((deprecated));
^
14 warnings and 1 error generated.
make[2]: *** [CMakeFiles/indi_cam90_ccd.dir/cam90_ccd.o] Error 1
make[1]: *** [CMakeFiles/indi_cam90_ccd.dir/all] Error 2
make: *** [all] Error 2

Cannot install in stellarmate os

cd libftdi
git clone git://developer.intra2net.com/libftdi
cd libftdi
mkdir build
cd build
cmake ..
then got error
`-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type: RelWithDebInfo
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'libusb-1.0'
-- No package 'libusb-1.0' found
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR)
-- Detected git snapshot version: v1.4-37-gafd738f
-- Found Confuse: /usr/lib/arm-linux-gnueabihf/libconfuse.so
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Libintl: /usr/include
-- Building ftdi_eeprom
-- Summary of build options:

Build static libs: ON
Build C++ bindings: OFF
Build Python bindings: OFF
Build ftdi_eeprom: ON
Build examples: ON
Build tests: OFF
Build API documentation: OFF

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBUSB_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/src
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/ftdi_eeprom
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/examples
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
used as include directory in directory /home/stellarmate/libftdi/libftdi/packages
LIBUSB_LIBRARIES (ADVANCED)
linked by target "ftdi1-static" in directory /home/stellarmate/libftdi/libftdi/src
linked by target "ftdi1" in directory /home/stellarmate/libftdi/libftdi/src

-- Configuring incomplete, errors occurred!
See also "/home/stellarmate/libftdi/libftdi/build/CMakeFiles/CMakeOutput.log".`

ftdi_read_data_modified

When executing via Kstar, the server returns an error.
we got result == 0
ftdi_read_data_modified don't work. I'll check if it's an hardware problem by running it on Windows.

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.