Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. yesterday

Very many thanks, Radek - that works :)

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 2 days ago

I've tried sending a message to Radek but don't know if it worked.

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 2 days ago

I have installed Ubuntu Mate and followed instructions in AstroPi3 plus run the script. Then I installed the code to make the GPIO pins available followed by the Astroberry INDI driver get, compile and install commands. The Astroberry compilation failed at the cmake stage with an error implying that the INDI library was the wrong version.

gina@asc:~/indi-astroberry$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../astroberry-svn
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- 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
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'libindi'
--   Found libindi, version 1.6.0
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find INDI (missing: INDI_LIBRARIES) (found version "1.6.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  cmake_modules/FindINDI.cmake:66 (find_package_handle_standard_args)
  CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/gina/indi-astroberry/CMakeFiles/CMakeOutput.log".


Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 2 days ago

Having had many years programming in various languages I feel I should be able to sort this out myself though age is not on my side. I think I need to think this through a bit more before sending Radek a specific message. For one thing, I'm currently successfully using some of the Astroberry project code in my astro projects but with Raspbian rather than Ubuntu Mate though I don't this should make any difference as the Astroberry project refers to both. Raspbian does seem to cause problems if the wrong version is used which is another reason for using UM. The Astroberry code, with slight modifications does what I want successfully. It is also simpler than PiFace which is quite different in many ways and doesn't fit my requirements.

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 2 days ago

A new day etc... The missing directory was my fault - got confused which machine I was controlling from the Terminal in my Linux Mint machine. Sorry about that. The #include <string> problem is strange. AFAIK <string> is standard in C++, #includes are indeed inherited from .h to .cpp files. From searching other examples I have confirmed this. I can see nothing wrong with the code as I expected since the code evidently works for other people.

I am at a loss to see what I am doing wrong. All I think I can do now is start again and re-flash the card with Ubuntu Mate, apply instructions and script from AstroPi3 and then compile/install PiFace. There seems to be some overlap between AstroPi3 and the PiFace instructions but that only results in nothing to do with some of the commands.

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 3 days ago

ls -a doesn't show it.

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 3 days ago

Took the card out of the RPi and put it in the microSD slot on my Mint desktop and the directory doesn't show there either. This is what I've done in the past to edit code when running the RPi headless. Could someone please explain how a directory can be seen in the Terminal but not in the GUI?

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 3 days ago

It would seem that the problem is that there is no #include <string> in the file /home/gina/astroberry-piface/piface_relay.cpp but it is in /home/gina/astroberry-piface/piface_relay.h which itself is included in the cpp file. I thought #includes in the .h which is #included in the .cpp file is considered as within scope?

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 3 days ago

Exactly the same result - same error "‘strcmp’ was not declared in this scope"

Read More...

Gina Davis replied to the topic 'Installing Astroberry or PiFace INDI drivers' in the forum. 3 days ago

Trying again - from scratch on a new card. Now running the AstroPi3AstroRPi3 script.

Read More...

Gina Davis created a new topic ' Installing Astroberry or PiFace INDI drivers' in the forum. 3 days ago

Having got Ubuntu Mate working on my RPi 3 and cured a camera problem, I want to continue to install other drivers to control GPIO pins including a DIY focuser. I tried to install the Astroberry Focuser and Astroberry Board and had errors compiling so realising the Astroberry project had be superseded by PiFace, I decided to try installing that instead. I know how to modify the code to achieve what I want so need to use the source code compilation route. However, I'm getting an error at the cmake stage.

Scanning dependencies of target indi_piface_relay
[ 75%] Building CXX object CMakeFiles/indi_piface_relay.dir/piface_relay.o
/home/gina/astroberry-piface/piface_relay.cpp: In member function ‘virtual void IndiPiFaceRelay::TimerHit()’:
/home/gina/astroberry-piface/piface_relay.cpp:197:41: error: ‘strcmp’ was not declared in this scope
    if (!strcmp(SysInfoT[0].text, "sun8i"))
                                         ^
/home/gina/astroberry-piface/piface_relay.cpp: In member function ‘virtual bool IndiPiFaceRelay::ISNewSwitch(const char*, const char*, ISState*, char**, int)’:
/home/gina/astroberry-piface/piface_relay.cpp:359:37: error: ‘strcmp’ was not declared in this scope
     if (!strcmp(dev, getDeviceName()))
                                     ^
CMakeFiles/indi_piface_relay.dir/build.make:62: recipe for target 'CMakeFiles/indi_piface_relay.dir/piface_relay.o' failed
make[2]: *** [CMakeFiles/indi_piface_relay.dir/piface_relay.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/indi_piface_relay.dir/all' failed
make[1]: *** [CMakeFiles/indi_piface_relay.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


Read More...

Gina Davis replied to the topic 'Short exposures for ZWO cameras' in the forum. 3 days ago

Since the Astroberry project has been superseded by PiFace it occurred to me that Astroberry may need updating to work with the latest other bits so I thought I would try PiFace. I know how to modify the code to "bend" it to my requirements so decided to compile the supplied version to check it works. However, the cmake stage gave errors :-

Scanning dependencies of target indi_piface_relay
[ 75%] Building CXX object CMakeFiles/indi_piface_relay.dir/piface_relay.o
/home/gina/astroberry-piface/piface_relay.cpp: In member function ‘virtual void IndiPiFaceRelay::TimerHit()’:
/home/gina/astroberry-piface/piface_relay.cpp:197:41: error: ‘strcmp’ was not declared in this scope
    if (!strcmp(SysInfoT[0].text, "sun8i"))
                                         ^
/home/gina/astroberry-piface/piface_relay.cpp: In member function ‘virtual bool IndiPiFaceRelay::ISNewSwitch(const char*, const char*, ISState*, char**, int)’:
/home/gina/astroberry-piface/piface_relay.cpp:359:37: error: ‘strcmp’ was not declared in this scope
     if (!strcmp(dev, getDeviceName()))
                                     ^
CMakeFiles/indi_piface_relay.dir/build.make:62: recipe for target 'CMakeFiles/indi_piface_relay.dir/piface_relay.o' failed
make[2]: *** [CMakeFiles/indi_piface_relay.dir/piface_relay.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/indi_piface_relay.dir/all' failed
make[1]: *** [CMakeFiles/indi_piface_relay.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I shall need to take the compiling source code route if I am to edit the code

Read More...

Gina Davis replied to the topic 'Short exposures for ZWO cameras' in the forum. 3 days ago

Been trying to add the Astroberry drivers that I use for controlling GPIO pins. This worked before with Raspbian but now with Ybunto Mate I'm getting an error.

gina@asc:~/indi-astroberry$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../astroberry-svn
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find INDI (missing: INDI_LIBRARIES) (found version "1.6.0")


Read More...

Gina Davis replied to the topic 'Short exposures for ZWO cameras' in the forum. 3 days ago

Using Ubuntu Mate as OS rather than Raspbian has cured the short exposure problem for the ZWO ASI185MC camera. I can now set the exposure down to 3.2e-5 ie. 0.000032s. Thank you everyone for all your help :)

Read More...

Gina Davis replied to the topic 'Short exposures for ZWO cameras' in the forum. 3 days ago

I appear to have the new setup working. The script (after editing) ran fine and I have SSH available from my Linux Mint desktop over the wlan. I think the problem with Firefox was that I updated/upgraded when I shouldn't have done. The relevant upgrades are covered in the script and the usual upgrade everything is not wanted. So I'm starting again, flashing another card with Ubuntu Mate and following the AstroRPi3 instructions. I want everything correct so I'm following instructions to the letter :D

Read More...

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!