Tom Gibson replied to the topic 'Moonlite Indi panel locked ?' in the forum. 7 days ago

If you test more of the other panels you might find similar problem. It sounds like the "responsivity" issue in another thread.

Read More...

Tom Gibson replied to the topic 'ADU for flat calibration section for my ccd' in the forum. 1 month ago

The ADU recommendation I read was between 1/2 and 1/3 of maximum/

Read More...

Tom Gibson replied to the topic 'Help with 3rdparty build/installs' in the forum. 1 month ago

Thank you Jasem, after a few false steps, it made it through. Just libnova-dev and libindi-dev additions needed really.

Read More...

Tom Gibson replied to the topic 'Help with 3rdparty build/installs' in the forum. 1 month ago

I don't see anything useful in the attached. So need to locate what line 13 in the CMakeLists.txt is not satisfied.

find_package(INDI REQUIRED)

Read More...

Tom Gibson replied to the topic 'Help with 3rdparty build/installs' in the forum. 1 month ago

It looks the same as what I'm working with. line 285 in the cmake_modules/FindINDI.cmake is what was complaining.
The error log is coming.

- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /home/christophe/Bureau/arduino/projet/indi/cmake_modules/FindINDI.cmake:285 (message):
Could not find INDI include directory
Call Stack (most recent call first):
CMakeLists.txt:13 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/christophe/Bureau/arduino/projet/indi/indi-3rdparty/indi-rolloffino/CMakeFiles/CMakeOutput.log".



christophe@MiniPc:~/Bureau/arduino/projet/indi$ ls -l cmake_modules
total 116
-rw-rw-r-- 1 christophe christophe 5929 fév 24 19:43 CMakeCommon.cmake
-rw-rw-r-- 1 christophe christophe 930 fév 24 19:43 CMakeParseArguments.cmake
-rw-rw-r-- 1 christophe christophe 2278 fév 24 19:43 FindCFITSIO.cmake
-rw-rw-r-- 1 christophe christophe 1443 fév 24 19:43 FindDC1394.cmake
-rw-rw-r-- 1 christophe christophe 1403 fév 24 19:43 FindFFTW3.cmake
-rw-rw-r-- 1 christophe christophe 5011 fév 24 19:43 FindGMock.cmake
-rw-rw-r-- 1 christophe christophe 9377 fév 24 19:43 FindGSL.cmake
-rw-rw-r-- 1 christophe christophe 2505 fév 24 19:43 FindIconv.cmake
-rw-rw-r-- 1 christophe christophe 14700 fév 24 19:43 FindINDI.cmake
-rw-rw-r-- 1 christophe christophe 947 fév 24 19:43 FindJPEG.cmake
-rw-rw-r-- 1 christophe christophe 1574 fév 24 19:43 FindNova.cmake
-rw-rw-r-- 1 christophe christophe 1338 fév 24 19:43 FindOggTheora.cmake
-rw-rw-r-- 1 christophe christophe 3460 fév 24 19:43 FindOpenAL.cmake
-rw-rw-r-- 1 christophe christophe 15279 fév 24 19:43 FindPackageHandleStandardArgs.cmake
-rw-rw-r-- 1 christophe christophe 2029 fév 24 19:43 FindPackageMessage.cmake
-rw-rw-r-- 1 christophe christophe 2963 fév 24 19:43 FindUSB1.cmake
-rw-rw-r-- 1 christophe christophe 1060 fév 24 19:43 FindVorbis.cmake
-rw-rw-r-- 1 christophe christophe 7359 fév 24 19:43 UnityBuild.cmake

Read More...

Tom Gibson replied to the topic 'Help with 3rdparty build/installs' in the forum. 1 month ago

many thanks

Read More...

Tom Gibson created a new topic ' Help with 3rdparty build/installs' in the forum. 1 month ago

I need some help regarding the minimum requirements for a 3rdparty build. And help with a particular situation.

The reason for trying to find the minimum requirement is sometimes I seem to get libraries at cross purpose when I
mix local builds and normal indi updates. Perhaps when a certain level of release happens. For example using the only install/update I am aware of for Fedora I am running 1.8.1-2. But if I do a build it changes me to 1.8.4 (I think it is).
On Fedora updating the library directories /usr/lib64 do not always react well.

There have been a couple of recent threads regarding roof driver working with a Arduino controller.
I am attempting to assist Christophe with an updated version of the driver I was using along with a modification of his Arduino code. I do not want to get into issues regarding changing indi version from under him or mess up his system.

I am able to build and install the roof driver locally after previously having done an indi build following a
git clone github.com/indilib/indi.git

I tried to be able to build just the roof driver without any indi development files but did not succeed. Then tried just a git clone of indi but without a build and thought that had worked so tried to use that approach for Christophe but it fails on his system.

cmake is failing in indi/cmake_modules/FindINDI.cmake line 285 unable to find an include file or directory. I have not yet figured out which one.
There is probably something required that I am missing that will allow adding a driver to an existing install without having to do an indi build.

My next step is to do a clean ubuntu install to debug here instead of in French but if someone can advise where I am going wrong?
This is the script being run the worked on files are attached rolloffino.tar.gz
Thanks
Tom

<
while :
do
echo "Enter the directory where rolloffino source files are located: "
read SRCDIR
if [ ! -d $SRCDIR ]
then
echo "Directory not found"
exitloop
fi
echo "Enter an empty directory in which to build: "
read PROJDIR
if [ ! -d $PROJDIR ]
then
echo "Directory not found"
break
fi
DEFDIR=`pwd`
cd $PROJDIR # set location to build area
git clone github.com/indilib/indi.git # get indilib sources
mkdir -p $PROJDIR/indi/indi-3rdparty/indi-rolloffino # make a source dir under indi
cp -p $SRCDIR/* $PROJDIR/indi/indi-3rdparty/indi-rolloffino # copy rolloffino driver sources to source dir
mkdir -p $PROJDIR/build/indi-3rdparty/indi-rolloffino # make rolloffino output build directory
cd $PROJDIR/build/indi-3rdparty/indi-rolloffino # set default to build directory
cmake -DCMAKE_INSTALL_PREFIX=/usr $PROJDIR/indi/indi-3rdparty/indi-rolloffino # cmake, pointing to source files
sudo make install # compile/link into build dir & copy to /usr/bin
ls -l /usr/bin/indi_rolloffino
cd $DEFDIR
break
done
>

Read More...

Tom Gibson replied to the topic 'Need help operating an arduino uno and kstars' in the forum. 2 months ago

I wonder if it would be practical to have something for roll off roofs similar to the Weather Meta driver. A built in driver that could send/receive a set of generic commands to a controller so that one did not need to be able to program and maintain a driver in the INDI environment in order to automate a roof.

Read More...

Tom Gibson replied to the topic 'Need help operating an arduino uno and kstars' in the forum. 2 months ago

Lets look at the files.

drwxrwxr-x. 3 tg tg 4096 Feb 10 15:58 .
drwxrwxr-x. 5 tg tg 4096 Nov 7 11:47 ..
-rwxrwxr-x. 1 tg tg 1363 Nov 7 11:51 build.sh
-rw-rw-r--. 1 tg tg 1184 Aug 16 2018 CMakeLists.txt
-rw-rw-r--. 1 tg tg 297 Aug 16 2018 config.h.cmake
drwxrwxr-x. 4 tg tg 4096 Aug 3 2018 .idea
-rw-rw-r--. 1 tg tg 313 Apr 27 2019 indi_rolloffino.xml.cmake
-rw-rw-r--. 1 tg tg 6224 Aug 10 2019 readme.txt
-rw-rw-r--. 1 tg tg 6621 Aug 10 2019 rolloff.ino
-rw-rw-r--. 1 tg tg 30830 Nov 9 16:30 rolloffino.cpp
-rw-rw-r--. 1 tg tg 2753 Jul 11 2019 rolloffino.h

First you can delete the .idea directory and all the files.
They shoul not have been included, they are from an IDE that
was used.

Just consider the source files:

rolloff.ino is the Arduino sketch, the equivalent of the
program you posted. Instead of reading the state of a button
is reads input from a USB connection which tells it when to
open or close a relay.

The usb cable connects to the computer running the INDI programs.

The rolloffino.cpp and rolloffino.h are the source files for a
variation of the INDI rolloff roof driver. This driver is to
be compiled and linked into the INDI environment alongside the
standard drivers.

Perhaps we could discuss he basic questions, needed changes and
how to build off line, I sent you a message with my email.

Tom

Read More...

Tom Gibson replied to the topic 'Need help operating an arduino uno and kstars' in the forum. 2 months ago

See if the following folder and file is accessible to you.

my.pcloud.com/publink/show?code=kZaL7skZ...2bLwxV56lCGRESSCCYz7
rolloffino.tar.gz

It contains the Arduino sketch, the rest is the INDI driver and what is needed to build it as a 3rd Party driver and make it accessible in Ekos. There are a couple of notes to myself in there since I forget everything after a week or two. A first step might be to learn how to build INDI and a 3rd party driver. If you are using the nightly builds this can be reduced to a few directions and scripts. I have not tried to locate the sources for a particular stable release but expect that is possible.

Read More...

Tom Gibson replied to the topic 'Need help operating an arduino uno and kstars' in the forum. 2 months ago

I have an indi driver that communicates to a arduino client. I wrote the serial communication between the two using an ASCII protocol. Since then I see there are libraries that would have probably saved a bunch of code. But it is generally working. It is a modification of the rolloff roof simulator driver and works with the observatory control so it can close the roof during bad weather. The functions are as you describe open, close abort. I can post the code of both sides somewhere for you to copy which will give you an example of one approach.

If you have not already done so, I would suggest you at least browse the material under the develop menu at the top of the web page.

Regards
Tom

Read More...

Take a look at the end of indilib.org/forum/general/6232-update-crashing.html#47821 to see if your library directory shows similar situation. Not sure what that directory is on Ubuntu.
/Tom

Read More...

Tom Gibson replied to the topic 'Update crashing?' in the forum. 3 months ago

It seems that I am getting mixed up attempting to do a local build from git clone github.com/indilib/indi.git when
subsequent package update installs depend on a different version of libindidriver than the local build used. The linking of the libindidriver appears to get confused. After changing the link below away from that used in the Dec 30 build, indiserver can now start the drivers.

-rw-r--r--. 1 root root 15969684 Dec 30 14:59 /usr/lib64/libindidriver.a
lrwxrwxrwx. 1 root root 18 Nov 8 2018 /usr/lib64/libindidriver.so -> libindidriver.so.1
lrwxrwxrwx. 1 root root 22 Jan 8 10:49 /usr/lib64/libindidriver.so.1 -> libindidriver.so.1.8.2
-rwxr-xr-x. 1 root root 1179792 Jan 7 00:08 /usr/lib64/libindidriver.so.1.8.1
-rwxr-xr-x. 1 root root 6799192 Dec 30 14:58 /usr/lib64/libindidriver.so.1.8.2


-rw-r--r--. 1 root root 15969684 Dec 30 14:59 /usr/lib64/libindidriver.a
lrwxrwxrwx. 1 root root 18 Nov 8 2018 /usr/lib64/libindidriver.so -> libindidriver.so.1
lrwxrwxrwx. 1 root root 33 Jan 8 13:24 /usr/lib64/libindidriver.so.1 -> /usr/lib64/libindidriver.so.1.8.1
-rwxr-xr-x. 1 root root 1179792 Jan 7 00:08 /usr/lib64/libindidriver.so.1.8.1
-rwxr-xr-x. 1 root root 6799192 Dec 30 14:58 /usr/lib64/libindidriver.so.1.8.2

Read More...

Tom Gibson thanked giorgio in topic Platform stability 3 months ago