Matthias Greiner-Petter replied to the topic 'libnova deprecated...' in the forum. 1 year ago

Hi Thomas, thanks a lot, it works!! you saved my day! Matthias

Read More...

Matthias Greiner-Petter replied to the topic 'libnova deprecated...' in the forum. 1 year ago

Hallo Thomas, vielen Dank für Deine doch aufwendige Mühe. Leider bin ich nicht so firm in C und darauf angewiesen, dass mir von kompetenter Seite bei solchen Dingen geholfen wird. Ich würde gerne das compiling des Treibers hinbekommen... würde es denn reichen die Variable einfach zu definieren um den Fehler zu beseitigen? z.B. als double? ok, ich weiß klingt laienhaft. Trotzdem Danke nochmals, wie es scheint ist es nicht unbedingt das Problem...Matthias
Hello Thomas, thank you for your time-consuming effort. Unfortunately, I'm not so proficient in C and rely on someone competent to help me with such things. I would like to compile the driver... would it be enough to simply define the variable to eliminate the error? e.g. as a double? ok, i know sounds amateurish. Anyway, thanks again, it doesn't seem to be the problem...Matthias

Read More...

Matthias Greiner-Petter created a new topic ' libnova deprecated...' in the forum. 1 year ago

Hello everyone, I wanted to compile some older files with libnova for a Telescope driver... but I got the following error: 'lnobserver' was not declared in this scope

on the INDI forum there is this note:

Do not use libnova directly since it uses different conventions which…might cause issues in INDI drivers if not accounted for carefully. To avoid driver authors making such mistakes, the coordinate transformation functions were ported to libastro. All the functions use INDI standard units

what do I do now???
Matthias

Read More...

Hello, Potto,
yes, the solution is completely outside of kstars, as you can see in the blog I connected the remote trigger contact of the 5d directly to a GPIO of the Raspi via cable and controlled it with the code (in the blog). To control it directly from the Raspi you need a resistor and a transistor, so it's not that easy.
take a look at that site:
www.staff.uni-mainz.de/naethboh/raspberry.html
Greetings
Matthias

Read More...

meanwhile, i did solve the problem (not very elegant, i know) with a litte python script and direct controlling the remote shooting contact...:
#!/usr/bin/env python
from time import sleep
import RPi.GPIO as GPIO
import sys
bulb_text = input ("Belichtungszeit: "
bulb = int(bulb_text)
anzahl_text = input ("Anzahl: ")
anz = int(anzahl_text)
i = 0
b = 1
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(25, GPIO.OUT)
while i<anz:
print ("Bild Nr.: ", i+1)
GPIO.output(25, True)
while b<bulb+1:
sys.stdout.write ("\r%i" " Sek." % b)
sys.stdout.flush()
sleep(1)
b = b+1
GPIO.output(25, False)
sleep(3)
b = 1
i = i+1

gretts and cs Matthias

Read More...

Hi, Jo, yes that works... first i deleted the scaling mark, but then recalculated and the solver did work. So in fact, your hint did its job thanks a lot!
Matthias

Read More...

ok folks, seems to work now, guess it was the wrong scaling, my fault... thanks again for your pation
Matthias

Read More...

Hi, that seemed to be the solution... so i changed the spec as you told me... but no solution, then i changed the Fits Header Length and diameter to the LX200 spec... no solution. Then i did erase the hole Header and schwups after 10 sevc i had a positiv solution. So anything in the header is mismatched. Kstars is working with J2020.4 coordinates and fits has J2000 data... may be? where to change the J2020 data?
Matthias

Read More...

oh, Hi just saw your comment, thanks... i placed a screenshot in that link... is it not enough?
cs matthias

Read More...

Good Morning (here in the Eifel, Germany) here is a link to my Server, where i placed som fits work... i tried with offline. Perhaps you can "solve " the problem.
Sorry, no CR2 files (guess there was a problem to download it from cam with Kstars and Canon 5d classic)

www.magentacloud.de/share/g5metn0zj2

Thanks at all Matthias

Read More...

Hallo El Corazon... that seems to be the problem... with L-jpg it works. so i try the RAW as native... when sending the fits file dirctly through the web at astrometry.net it takes some 5 min. to solve...
(result can be seen at www.worldwidetelescope.org/webclient/?wt...47.03313&fov=0.40753 ) so it works. but takes too long. see you nxt week, because weather changed to rain...
Matthias

Read More...

HI, tried again and checked the FOV... using my LX200 8" and the Canon the fov reults in 61'x 41'... with jpg it works (after 35sec) and with FITS... no... i did install all astrometry indices 4203 -4219 at /usr/share/astrometry
matthias

Read More...

in the meantime, i tried that attached jpeg and that worked... so coult it be that my loaded FITS with 32MB is too big? (It was one of the Lightframes)
Matthias

Read More...

Hi, All, tried to solve yesterday night with that fits file (now as jpeg) to solve the position. no chance... no solving. intalled the fits files for offline solving...

;-(
Matthias

Read More...