×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Astroberry initial release

  • Posts: 983
  • Thank you received: 375
It looks great! I will include original astroberry driver in the next release of Astroberry Server. Stay tuned ;-)
6 years 8 months ago #18510

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

  • Posts: 983
  • Thank you received: 375
The code has been updated and moved to github. The latest version is located here: github.com/rkaczorek/astroberry-diy
6 years 7 months ago #19046

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

  • Posts: 983
  • Thank you received: 375
I have decided that the driver will not be promoted to Astroberry Server. It requires custom board to be developed and minority of users would go this direction. Feel free to compile and install it yourself when needed.
6 years 7 months ago #19047

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

  • Posts: 281
  • Thank you received: 29

Replied by Helge on topic Astroberry initial release

Dear Radek,

Appreciate the update, thank you very much for spending time and efforts for sharing!!

I just tried to implement following the installation guide - and encountered some problems, I am sure to be attributed to my poor ubuntu skills. I wonder if you could help:

Step 1

astroberry@astroberry:/$ sudo apt-add-repository ppa:mutlaqja/astrometry.net
Cannot add PPA: 'ppa:~mutlaqja/ubuntu/astrometry.net'.
The user named '~mutlaqja' has no PPA named 'ubuntu/astrometry.net'
Please choose from the following available PPAs:
* 'charts': PPA named charts for Jasem Mutlaq
* 'libgphoto2': libgphoto2-bleeding
* 'ppa': INDI

Step 2

astroberry@astroberry:/$ sudo apt-get install cdbs libcfitsio3-dev libnova-dev libusb-1.0-0-dev libjpeg-dev libusb-v libtiff5-dev \ libftdi-dev fxload libcurl4-gnutls-dev dcraw libgphoto2-2-dev libgsl0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libgsl-dev' instead of 'libgsl0-dev'
Package libgphoto2-2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libgphoto2-dev

Step 6

Install support for GPIO and AltIMU

Compile and/or install rtmimulib library => refers to "Requirements"
=> I tried downloading the following * RTIMULib (for Astroberry AltIMU) available here github.com/richards-tech/RTIMULib

a) Is the path still up-to-date?

b) Apologies, but I am lacking of some basic skills: To download, I think I need to type something like wget, prior to "https...". But then, do I need to create a directory, cmake etc ? I tried my best, but ended up nowhere. Is it somehow like this:

cd xyz123
./configure
make
sudo make install

c) Could you kindly provide same for BCM2835 ?

Apologies for asking for explanations for things that users might be expected to be already familiar with...

Best, Helge
6 years 7 months ago #19050

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

  • Posts: 983
  • Thank you received: 375
I think you can skip all these steps and go directly to compiling the driver, which is described in the first section of the INSTALL file. Have you tried the compilation?
6 years 7 months ago #19052

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

  • Posts: 281
  • Thank you received: 29

Replied by Helge on topic Astroberry initial release

Dear Radek,

just gave it a try. Fine for steps 1-4, then, when running "make", operation fails. I guess I should have somehow limited step 1 (and other subsequent steps) to the focuser.

step 1: git clone github.com/rkaczorek/astroberry-diy.git

Could you kindly let me know how to amend the generic installation steps for the focuser driver?

astroberry@astroberry:~/astroberry-diy/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- 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 INDI: /usr/lib/arm-linux-gnueabihf/libindidriver.so;/usr/lib/arm-linux-gnueabihf/libindiAlignmentDriver.so (found version "1.4.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/astroberry/astroberry-diy/build
astroberry@astroberry:~/astroberry-diy/build$ make
Scanning dependencies of target indi_rpigps
[ 6%] Building CXX object CMakeFiles/indi_rpigps.dir/rpi_gps.o
In file included from /home/astroberry/astroberry-diy/rpi_gps.cpp:19:0:
/home/astroberry/astroberry-diy/rpi_gps.h:23:29: fatal error: libnova/libnova.h: No such file or directory
compilation terminated.
CMakeFiles/indi_rpigps.dir/build.make:62: recipe for target 'CMakeFiles/indi_rpigps.dir/rpi_gps.o' failed
make[2]: *** [CMakeFiles/indi_rpigps.dir/rpi_gps.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/indi_rpigps.dir/all' failed
make[1]: *** [CMakeFiles/indi_rpigps.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Many thanks in advance,

Helge
6 years 7 months ago #19056

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

  • Posts: 983
  • Thank you received: 375
You're missing libnova libs. You can install it by running "sudo apt-get install libnova-dev"
The following user(s) said Thank You: Helge
6 years 7 months ago #19111

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

  • Posts: 281
  • Thank you received: 29

Replied by Helge on topic Astroberry initial release

Dear Radek,

thank you for taking care. I just seem to have one problem remaining, actually I was now able to work through most the instructions as per the installation guide (except step 4, which does not seem to be needed in my case):

When running "make", step 5 of the generic instructions, there is something mentioned concerning the gps driver:

astroberry@astroberry:~/astroberry-diy/build$ make
[ 6%] Building CXX object CMakeFiles/indi_rpigps.dir/rpi_gps.o
In file included from /home/astroberry/astroberry-diy/rpi_gps.cpp:19:0:
/home/astroberry/astroberry-diy/rpi_gps.h:25:22: fatal error: libgpsmm.h: No such file or directory
compilation terminated.
CMakeFiles/indi_rpigps.dir/build.make:62: recipe for target 'CMakeFiles/indi_rpigps.dir/rpi_gps.o' failed
make[2]: *** [CMakeFiles/indi_rpigps.dir/rpi_gps.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/indi_rpigps.dir/all' failed
make[1]: *** [CMakeFiles/indi_rpigps.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Could you have another look?

Best, Helge
6 years 7 months ago #19114

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

  • Posts: 983
  • Thank you received: 375
Now you're missing libgps. You need to read that it says ;-) otherwise you will never get there ;-) Run "sudo apt-get install libgps-dev"

PS. Take a look at the line /home/astroberry/astroberry-diy/rpi_gps.h:25:22: fatal error: libgpsmm.h: No such file or directory
PS2. Last time error was in the line /home/astroberry/astroberry-diy/rpi_gps.h:23:29: fatal error: libnova/libnova.h: No such file or directory
PS3. Can you see any pattern in these lines? ;-)
6 years 7 months ago #19115

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

  • Posts: 281
  • Thank you received: 29

Replied by Helge on topic Astroberry initial release

I am sure I will make it to the top of the craziest astroberry users! :-)

now, fatal error: RTIMULib.h => very clear, all I need to do is sudo apt-get install RTMULIb-dev

but:

astroberry@astroberry:~/astroberry-diy/build$ sudo apt-get install RTIMULib-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package RTIMULib-dev

then I recalled that there is the requirement: * RTIMULib (for Astroberry AltIMU) available here github.com/RPi-Distro/RTIMULib

$ sudo wget github.com/RPi-Distro/RTIMULib
--2017-09-06 00:15:26-- github.com/RPi-Distro/RTIMULib
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘RTIMULib’

RTIMULib [ <=> ] 147.56K 316KB/s in 0.5s

2017-09-06 00:15:28 (316 KB/s) - ‘RTIMULib’ saved [151101]

astroberry@astroberry:/$ ls
bin dev home lost+found mnt proc RTIMULib sbin srv tmp var
boot etc lib media opt root run snap sys usr

now the file is in the directory, re-running sudo apt-get install RTIMULib did not score any results

what to do?
6 years 7 months ago #19116

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

  • Posts: 983
  • Thank you received: 375
What about sudo apt-get install librtimulib-dev?
The following user(s) said Thank You: Helge
6 years 7 months ago #19117

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

  • Posts: 281
  • Thank you received: 29

Replied by Helge on topic Astroberry initial release

Yes - mission accomplished. Now I can select astroberry focuser!!

Thank you so much for your patience,

Helge
6 years 7 months ago #19119

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

Time to create page: 0.416 seconds