×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Advice re Astrophysics Experimental driver

3 months 2 weeks ago
wildi
Senior Boarder
Senior Boarder
Posts: 46
Karma: 2
More
Advice re Astrophysics Experimental driver #51323
Hello Mike

do you know how to compile INDI core?

Kind regards, wildi

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

3 months 1 week ago
Spartacus
Senior Boarder
Senior Boarder
Posts: 68
More
Topic Author
Advice re Astrophysics Experimental driver #51342
Hi Wildi,
In a word "no" but happy to learn. Any tips where I can upskill? I will start with GIThub?
Crazy busy at work but can look at this as a replacement for gym, socialising, pub life, going out for meals etc, etc, etc. :)

I appreciate the pointers in the error log.

Mike

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

3 months 1 week ago
wildi
Senior Boarder
Senior Boarder
Posts: 46
Karma: 2
More
Advice re Astrophysics Experimental driver #51349
Hello Mike

yes, it'll start at github INDI Core Library .

Background: having, trough you, a direct access to a AP1100GTO shortens the test cycle. I want to see if the error I previously found is the reason, why the mount parks at HA=-6h, dec 0.

If
  • terminal is not a complete foreign word to you
  • you run INDI on any Linux device
go to the INDI repo website and read steps
  • Install Pre-requisites
  • Create Project Directory
  • Build indi-core, with the exception of last command: sudo make install
If you think it is doable, then let's start. You can perform all the above steps with the exception of the installation. Your existing INDI installation remains unchanged.


Kind regars, wildi

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

3 months 1 week ago
Spartacus
Senior Boarder
Senior Boarder
Posts: 68
More
Topic Author
Advice re Astrophysics Experimental driver #51350
Hi Wildi,

Happy to give it a go. Once I have got up to speed I will get back to you.

Cheers,
Mike

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

3 months 1 week ago
Spartacus
Senior Boarder
Senior Boarder
Posts: 68
More
Topic Author
Advice re Astrophysics Experimental driver #51396
OK all done.
Just checking that you don't want me to create a clone as per the INDI repo instructions.

I have an error code on a Cmake . Here is the last part of the terminal code

mike@mike-pi:~$ mkdir -p ~/Projects
mike@mike-pi:~$ cd ~/Projects
mike@mike-pi:~/Projects$ mkdir -p ~/Projects/build/indi-core
mike@mike-pi:~/Projects$ cd ~/Projects/build/indi-core
mike@mike-pi:~/Projects/build/indi-core$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi
CMake Error: The source directory "/home/mike/Projects/indi" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
mike@mike-pi:~/Projects/build/indi-core$ make -j4
Is this OK to proceed
I have not entered the sudo make install

So if the above is OK. We are ready for the next step :)

Mike

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

3 months 1 week ago 3 months 1 week ago by wildi.
wildi
Senior Boarder
Senior Boarder
Posts: 46
Karma: 2
More
Advice re Astrophysics Experimental driver #51410
Hello Mike

my fault. Do the following steps in the terminal (line by line, dropping lines containing "#")
# you will be asked for your password                                                                                                                                                                                               
# the line is long                                                                                                                                                                                                                  
sudo apt-get install -y libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev                                                        
#                                                                                                                                                                                                                                   
mkdir -p ~/Projects                                                                                                                                                                                                                 
#                                                                                                                                                                                                                                   
cd ~/Projects                                                                                                                                                                                                                       
#                                                                                                                                                                                                                                   
git clone https://github.com/indilib/indi.git                                                                                                                                                                                       
#                                                                                                                                                                                                                                   
mkdir -p build/indi-core                                                                                                                                                                                                            
#                                                                                                                                                                                                                                   
cd build/indi-core                                                                                                                                                                                                                  
#                                                                                                                                                                                                                                   
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi                                                                                                                                                          
#                                                                                                                                                                                                                                   
make -j 4                                                                                                                                                                                                                           

Background: INDI (mount) drivers are coded structurally almost in identical way. I convinced myself that I found at least one bug. E.g. in drivers/telescope/lx200ap.cpp it looks like
    LOGF_DEBUG("Setting current parking position to coordinates Az (%s) Alt (%s)...", AzStr,                                                                                                                                        
               AltStr);                                                                                                                                                                                                             
                                                                                                                                                                                                                                    
    SetAxis1Park(parkAZ);                                                                                                                                                                                                           
    SetAxis2Park(parkAlt);                                                                                                                                                                                                          
while in drivers/telescope/lx200ap_experimental.cpp it is the other way round:
       SetAxis1Park(parkAlt);                                                                                                                                                                                                       
       SetAxis2Park(parkAz);                                                                                                                                                                                                        
       LOGF_DEBUG("Set predefined park position %d to az=%f alt=%f", parkPos, parkAz, parkAlt);                                                                                                                                     

I attached the corrected file drivers/telescope/lx200ap_experimental.cpp as lx200ap_experimental.txt since the forum software does not accept files ending with .cpp.
Download it and I assume that the attachment is stored, as usual, under ~/Downloads, do the following:
cd ~/Projects/indi                                                                                                                                                                                                                  
cp ~/Downloads/lx200ap_experimental.txt drivers/telescope/lx200ap_experimental.cpp                                                                                                                                                  
cd  ~/Projectsbuild/indi-core                                                                                                                                                                                                       
make -j 4                                                                                                                                                                                                                           

Now we can proceed to the next level :-)

Kind regards, wildi

File Attachment:

File Name: lx200ap_ex...3-30.txt
File Size:53 KB
Attachments:

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

3 months 1 week ago
wildi
Senior Boarder
Senior Boarder
Posts: 46
Karma: 2
More
Advice re Astrophysics Experimental driver #51411
Hello Mike

unfortunately there are two identical attachments. If you right click on one of them save it as

/home/mike-pi/Projects/indi/drivers/telescope/lx200ap_experimental.cpp

It is a bit cumbersome I know.

Kind regards, wildi

P.S. if we need to exchange another file we will do that without this pain.

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

3 months 1 week ago
wildi
Senior Boarder
Senior Boarder
Posts: 46
Karma: 2
More
Advice re Astrophysics Experimental driver #51594
Hello Mike

I posted a proposal in thread Astro-Physics GTOCP4 driver, lx200ap_experimental.cp to change the calls to Alt,Az gotos to HA/Ra, Dec.

Kind regards, bye, wildi
The following user(s) said Thank You Spartacus

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

3 months 1 day ago
Spartacus
Senior Boarder
Senior Boarder
Posts: 68
More
Topic Author
Advice re Astrophysics Experimental driver #51810
Just for the benefit of anyone who had followed this thread.
Wildi and I have been working through the Park 3 issue and Wildi has made changes to the driver that define Park 3 so that in our set up (AP1100GTO GTOCP4 using RPi3b) it now parks consistently in the AP defined Park3 position (Weights down and scope pointing at South Celestial pole) in our experimental setup.
No changes have been made to the original driver currently available in downloads.

I want to thank Wildi for all the work that he has put in over the past few weeks.

Mike

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

Time to create page: 0.538 seconds