Andrea replied to the topic 'Aggiornamento di Kstars ekos con git' in the forum. 4 weeks ago

ok friends with this works update, Kstars stays updated to 3.5.1.

# Major upgrade ksatars to 3.5.1
# Link to git
# https://invent.kde.org/education/kstars/-/tree/0b214549fd042660012760bb4e78a2c2669d776c
# Glodal update
echo astropi | sudo -S apt-get update && sudo apt-get -y dist-upgrade && sudo apt full-upgrade
echo astropi | sudo -S apt autoremove
#
# Preparing & upgrading kstars
#
echo astropi | sudo -S apt-get -y install build-essential cmake git libstellarsolver-dev libeigen3-dev libcfitsio-dev zlib1g-dev libindi-dev extra-cmake-modules libkf5plotting-dev libqt5svg5-dev libkf5xmlgui-dev libkf5kio-dev kinit-dev libkf5newstuff-dev kdoctools-dev libkf5notifications-dev qtdeclarative5-dev libkf5crash-dev gettext libnova-dev libgsl-dev libraw-dev libkf5notifyconfig-dev wcslib-dev libqt5websockets5-dev xplanet xplanet-images qt5keychain-dev libsecret-1-dev breeze-icon-theme
#
mkdir -p kstars-build
cd kstars-build
wget https://invent.kde.org/education/kstars/-/archive/0b214549fd042660012760bb4e78a2c2669d776c/kstars-0b214549fd042660012760bb4e78a2c2669d776c.zip
unzip kstars-0b214549fd042660012760bb4e78a2c2669d776c.zip
mv kstars-0b214549fd042660012760bb4e78a2c2669d776c kstars
cd kstars
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ../kstars
make -j6
echo astropi | sudo -S make install
#
# Remove temp & unused files
#
rm -rf /home/astropi/kstars-build
rm -rf /home/astropi/AstroPi/script
#
sudo reboot

I found that during the cmake there are errors and in fact kstars works but ekos schedular crashes as soon as you start the sequence.
/home/astropi/kstars-build/kstars/kstars/htmesh/SpatialException.cpp:285:25: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
                 sprintf(str_, "%s interface violation", str_);
                         ^~~~                            ~~~~
[ 30%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/fitsviewer/fitstab.cpp.o
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp: In instantiation of ‘void {anonymous}::stretchThreeChannels(T*, QImage*, const StretchParams&, int, int, int, int) [with T = const unsigned char]’:
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp:221:29:   required from ‘void {anonymous}::stretchChannels(T*, QImage*, const StretchParams&, int, int, int, int, int) [with T = const unsigned char]’
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp:333:93:   required from here
/home/astropi/kstars-build/kstars/kstars/fitsviewer/stretch.cpp:171:31: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align]
             auto * scanLine = reinterpret_cast<QRgb*>(outputImage->scanLine(jout));
[ 32%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/ekos/auxiliary/stellarsolverprofileeditor.cpp.o
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp: In instantiation of ‘void Ekos::DarkLibrary::subtract(const QSharedPointer<FITSData>&, const QSharedPointer<FITSData>&, FITSScale, uint16_t, uint16_t) [with T = short int; uint16_t = short unsigned int]’:
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:190:76:   required from here
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:285:22: warning: cast from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align]
     T *lightBuffer = reinterpret_cast<T *>(lightData->getWritableImageBuffer());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:291:28: warning: cast from ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align]
     T const *darkBuffer  = reinterpret_cast<T const*>(darkData->getImageBuffer()) + darkoffset;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp: In instantiation of ‘void Ekos::DarkLibrary::subtract(const QSharedPointer<FITSData>&, const QSharedPointer<FITSData>&, FITSScale, uint16_t, uint16_t) [with T = short unsigned int; uint16_t = short unsigned int]’:
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:194:77:   required from here
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:285:22: warning: cast from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align]
     T *lightBuffer = reinterpret_cast<T *>(lightData->getWritableImageBuffer());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:291:28: warning: cast from ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align]
     T const *darkBuffer  = reinterpret_cast<T const*>(darkData->getImageBuffer()) + darkoffset;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp: In instantiation of ‘void Ekos::DarkLibrary::subtract(const QSharedPointer<FITSData>&, const QSharedPointer<FITSData>&, FITSScale, uint16_t, uint16_t) [with T = int; uint16_t = short unsigned int]’:
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:198:76:   required from here
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:285:22: warning: cast from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align]
     T *lightBuffer = reinterpret_cast<T *>(lightData->getWritableImageBuffer());
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/astropi/kstars-build/kstars/kstars/ekos/auxiliary/darklibrary.cpp:291:28: warning: cast from ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align]

ok I put some mistakes during the cmak process. Does anyone know why there are these mistakes? Is my procedure for installing the version correct?

Read More...

Andrea replied to the topic 'Aggiornamento di Kstars ekos con git' in the forum. 1 month ago

Ok i try this very soon

git clone -b <branchname> --single-branch <remote-repo-url>

In your opinion Can it work?

Read More...

Andrea replied to the topic 'Updating Kstars ekos with git' in the forum. 1 month ago

thank you so much for your answer. I was hoping there would be to integrate into the cmake string and add them option for last stable release.

Read More...

Andrea created a new topic ' Updating Kstars ekos with git' in the forum. 1 month ago

hello everyone, I prepared my own version of raspberry pi and I installed correctly via gi indi, libraries and dependencies.
For kstars I have some doubts if I use the code I find in the readme.md

mkdir -p ~/Projects
git clone https://invent.kde.org/education/kstars.git
mkdir -p kstars-build
cd kstars-build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ../kstars
make -j8
sudo make install
kstars 3.5.2 beta is installed and not the latest stable version 3.5.1. How can I fill out the git to take last stable biuld?

thank you so much for your help!

Read More...

Andrea replied to the topic 'FLAT with canon help' in the forum. 2 months ago

ok I realized that once you set the adu leaving 1 second as exposure you start the poses and before saving the first flat makes the calibration of the times to get to the UDA set!!!!! However,
this in FIT if I put NATIVE (for me cr2) says that it can not find UDA in a non-FIT image.
so in this case how do you do it?

Read More...

Andrea replied to the topic 'FLAT with canon help' in the forum. 2 months ago

Thank you so much for your answer, I had already taken a look at the page.
My question is more specific:
1 - I set the CANON 60d to M
2 - On the CCD page I select FLAT
3 - in the calibration imposed the desired ADU (I set a correct value for the linearity of the sensor)
4 - I expect that pressing OK ekos will start exposing to find the right time to satisfy my ADU

this doesn't happen so I don't understand how to proceed and I haven't found guides on it that explain well how to acquire flat.
Is it possible to have clarification on this? of course if I ignore the automatic calibration part, knowing that with my light whiteboard I have to expose for 0.77 seconds (given taken from canon histogram without EKOS) it works, but if I did not know the time how do I do it? or if I change the light source?
I ask once again for help at all! Thank you

Read More...

Andrea created a new topic ' FLAT with canon help' in the forum. 2 months ago

Hello everyone. I'm finding a lot of ptoblems taking flats with my canon 60d.
On APT I set the canon to AV and APT found the correct time immediately. Here I do not understand the correct procedure for acquiring flats.
If imposed a ADU value of 6000 with a range of 1000, the exposure time remains 1 second in the exposure list and there is no button to acquire the flat and have the time calculated.
Please give me some clarification on this.
PS also understand if you can do it in RAW as well as FIT.
Thank you very much

Read More...

Andrea replied to the topic 'Problem with canon 60d' in the forum. 2 months ago

Thank you very much for your answer. The coma is due to the lack of the gearbox that I have not yet bought... but soon it will come. Focus I'm trying to learn the ekos module. I'm going to take 2 screenshots of the canon driver's INDI settings, one where opening is set to 4.5 is correct? The other screenshot displays the number of BIT even if imposed at 16 remains at 8. My canon is 14 bits but in a TD I read that you only have to set multiples of 8 so 16 is the closest. Thank you so much for your help



Read More...

Andrea created a new topic ' Problem with canon 60d' in the forum. 2 months ago

hello everyone, I have a problem with the canon 60d (I allege the thick) the images lose depth in bits and remain with a bad dynamic.
Use kstars 3.5.0 and undead updated.
Did this happen to anyone?
Thank you all

FITT

Read More...

Andrea replied to the topic 'Updating KSTARS with Astroberry' in the forum. 2 months ago

Io ho aggiornato kstars con APT per la libreria INDI ho seguito questo post ed ha funzionato
github.com/gonzalo/gphoto2-updater
Buon fortuna!

Read More...

Ciao ho anche io versione raspberry 4gb ma con sudo apt update kstars rimane alla versione 2.4.7 e non si aggiorna.
Com'è si esegue aggiornamento alla 3.5.0?
Grazie

Read More...

Andrea created a new topic ' Canon 60d use mode' in the forum. 2 months ago

hello, you can have a clarification for canon 60d on how to set selector. B, M, C.I noticed that in B mode.
Is it possible to use a setting for each type exposure greater than or less than 1 second?
In APT it was possible to select the exposure time offered by the canon, here there is no curtain that proposes the standard times ?
Thank you for your help and HAPPY NEW YEAR

Read More...

Andrea replied to the topic 'FITS Viewer - apportare modifiche' in the forum. 2 months ago

Very good information. It is possible to ultimately have 2 screenshots of the FITS VIEW and EKOS parameters to use for CANON DSLR so we go safe!

Read More...

Andrea replied to the topic 'FITS Viewer - apportare modifiche' in the forum. 2 months ago

Hi I always use in active debayer mode and I have not rediscovered problems, I have your own equipment pi4 4gb and ed80pro! My curiosity is you transfer to FIT or leave in RAW? if I transfer to fit I can not understand if the conversion leaves the dynamic intact, doing tests in the house if I put 1sec of laying or 5 sec the fit view always shows an undefined image and does not seem to increase the brightness even if I exposeif I transfer to fit I can not understand if the conversion leaves the dynamic intact, doing tests in the house if I put 1sec of laying or 5 sec the fit view always shows an undefined image and does not seem to increase the brightness even if I exhibit 5 sec

Read More...