×

INDI Library v1.8.0 is Released (27 Jul 2019)

INDI Library v1.8.0 is mostly a maintenance release to fix a few bugs in several drivers.

New universal driver for Touptek based cameras

New universal driver for Touptek based cameras was created by knro

In GIT and Nightly releases. there is now a new driver INDI Toup base.

This is now the universal driver for all Touptek based cameras. There used to be a separate driver with duplicate code for each camera, but I decided to combine them all into one. This is applicable for the following cameras:

1. Toupcam
2. Altair
3. Orion Starshoot G
4. Levenhuk

and probably others. so indi-toupcam and indi-altair will be gone and there is only indi-toupbase

1, 2, 3 above are already added, I will try to add #4 soon. If there are others (with available SDKs) please let me know.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
1 week 1 day ago #42070

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0

Replied by rcpilotjohn on topic New universal driver for Touptek based cameras

Thanks for posting this announcement, it explains the issues I have been having. But there may still be files and/or instructions missing.

I did a apt-get update and git pull, then tried to build the toupbase driver several ways:
1) per the instructions on the indilib web page under Devices - Cameras - Toupcam that said to do: sudo apt-get update / sudo apt-get install indi-toupcam (I tried with both that and indi-toupbase).
*********************************
astroberry@astroberry:~/Projects/indi/3rdparty/indi-toupbase$ sudo apt-get install indi-toupbase
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package indi-toupbase
astroberry@astroberry:~/Projects/indi/3rdparty/indi-toupbase$ sudo apt-get install indi-toupcam
Reading package lists... Done
Building dependency tree
Reading state information... Done
indi-toupcam is already the newest version (0.1~201907030401~ubuntu16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
astroberry@astroberry:~/Projects/indi/3rdparty/indi-toupbase$
*****************************

Then I tried in qt Creator, opened /home/astroberry/Projects/indi/3rdparty/indi-toupbase/CMakeLists.txt and I got this while trying to run cmake:
*****************************
See also "/home/astroberry/Projects/indi/3rdparty/indi-toupbase-build/CMakeFiles/CMakeOutput.log".
See also "/home/astroberry/Projects/indi/3rdparty/indi-toupbase-build/CMakeFiles/CMakeError.log".
CMake Error at /home/astroberry/Projects/indi/cmake_modules/FindSTARSHOOTG.cmake:43 (message):
StarshootG not found. Please install StarshootG Library
www.indilib.org
Call Stack (most recent call first):
CMakeLists.txt:17 (find_package)
****************************************
The files that were loaded when I did the git pull in the indi-toupbase directory are:

astroberry@astroberry:~/Projects/indi/3rdparty/indi-toupbase$ ls
CMakeLists.txt COPYING.LGPL indi_toupbase.h README.md
config.h.cmake indi_toupbase.cpp indi_toupbase.xml.cmake

What is next? How do I build this for Toupcam cameras?

John
Last edit: 1 week 11 hours ago by rcpilotjohn.
1 week 11 hours ago #42081

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0

Replied by rcpilotjohn on topic New universal driver for Touptek based cameras

Jasem,

I followed the new instructions on the Toupcam driver page, and got a message "E: Unable to locate package indi-toupbase"

Considering going back to a Windows 10 machine and ASCOM....

John
1 day 2 hours ago #42303

Please Log in or Create an account to join the conversation.

Replied by knro on topic New universal driver for Touptek based cameras

I had to rebuild a few package on launchpad, but indi-toupbase should be installable now if you run sudo apt-get update
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
21 hours 21 minutes ago #42314

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0

Replied by rcpilotjohn on topic New universal driver for Touptek based cameras

I know this is volunteer work for you, and I really do appreciate the hours it takes to make this available and functional for all of us. I worked in software development for all my career and I understand the complexities in getting this done. So thank you for your efforts.

One suggestion - it would be really nice if the old driver stayed around until the new one was usable. Put the new one in place. Get user feedback that they can run it, then delete the old ones after a week or two. I am going to have the first clear night in a couple of weeks tonight and I will not be able to use this driver or my guide scope.

Here is what I get. No change to what I reported yesterday. I know I should not have had to add the repository again, but I did that just to confirm I got the right one. Note - I had to delete http from the beginning of many output lines because this messaging app said I had too many links in this message.

astroberry@astroberry:~/Projects/indi/3rdparty/indi-toupbase$ sudo add-apt-repository ppa:mutlaqja:ppa
Latest INDI Library and drivers!

This PPA is for stable Ekos & INDI drivers releases.
More info: launchpad.net/~mutlaqja/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpfj37c5t6/secring.gpg' created
gpg: keyring `/tmp/tmpfj37c5t6/pubring.gpg' created
gpg: requesting key 3F33A288 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpfj37c5t6/trustdb.gpg: trustdb created
gpg: key 3F33A288: public key "Launchpad INDI" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
astroberry@astroberry:~/Projects/indi/3rdparty/indi-toupbase$ sudo apt-get update
Hit:1 //ppa.launchpad.net/flexiondotorg/minecraft/ubuntu xenial InRelease
Hit:2 //ports.ubuntu.com xenial InRelease
Hit:3 //ports.ubuntu.com xenial-updates InRelease
Hit:4 //ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu xenial InRelease
Hit:5 //ports.ubuntu.com xenial-security InRelease
Hit:6 //ports.ubuntu.com xenial-backports InRelease
Hit:7 //ppa.launchpad.net/mutlaqja/ppa/ubuntu xenial InRelease
Hit:8 //ppa.launchpad.net/pch/phd2/ubuntu xenial InRelease
Hit:9 //ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial InRelease
Hit:11//ppa.launchpad.net/ubuntu-mate-dev/xenial-mate/ubuntu xenial InRelease
Hit:12//ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu xenial InRelease
Reading package lists... Done
astroberry:~/Projects/indi/3rdparty/indi-toupbase$ sudo apt-get install indi-toupbase
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package indi-toupbase
astroberry@astroberry:~/Projects/indi/3rdparty/indi-toupbase$
13 hours 55 minutes ago #42341

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0

Replied by rcpilotjohn on topic New universal driver for Touptek based cameras

I also did a git pull, and tried to build it using the qt creator. The cmake fails with this:

-- Found CFITSIO: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found libsbig: /usr/lib/arm-linux-gnueabihf/libtoupcam.so
-- Found libaltaircam: /usr/lib/arm-linux-gnueabihf/libaltaircam.so
CMake Error at /home/astroberry/Projects/indi/cmake_modules/FindSTARSHOOTG.cmake:43 (message):
StarshootG not found. Please install StarshootG Library
www.indilib.org
Call Stack (most recent call first):
CMakeLists.txt:17 (find_package)

You want to hire me as a tester?

John
13 hours 51 minutes ago #42343

Please Log in or Create an account to join the conversation.

Replied by knro on topic New universal driver for Touptek based cameras

The stable indi-toupcam driver is indeed still in INDI Stable repo.

The new driver are in nightly which is expected to be in constant flux and is not stable. I made the builds for 18.04 (bionic) in launchpad to test things out, while you're using 16.04, so wait a bit until the rest of the packages for Ubuntu are re-built by launchpad in a few hours.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
13 hours 48 minutes ago #42344

Please Log in or Create an account to join the conversation.

Replied by knro on topic New universal driver for Touptek based cameras

rcpilotjohn wrote: I also did a git pull, and tried to build it using the qt creator. The cmake fails with this:

-- Found CFITSIO: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found libsbig: /usr/lib/arm-linux-gnueabihf/libtoupcam.so
-- Found libaltaircam: /usr/lib/arm-linux-gnueabihf/libaltaircam.so
CMake Error at /home/astroberry/Projects/indi/cmake_modules/FindSTARSHOOTG.cmake:43 (message):
StarshootG not found. Please install StarshootG Library
www.indilib.org
Call Stack (most recent call first):
CMakeLists.txt:17 (find_package)

You want to hire me as a tester?

John


indi-toupbase depends on libtoupcam, libaltaircam, libstarshootg, libnncam so they have all the be build and installed first. They are all in 3rd party.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
13 hours 46 minutes ago #42345

Please Log in or Create an account to join the conversation.

Time to create page: 0.523 seconds