Code Monkey home page Code Monkey logo

planetaryimager's Introduction

planetaryimager's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

planetaryimager's Issues

QHY support

QHY SDK "legacy" is abandoned, a new SDK is under development, and should be integrated in PlanetaryImager.

This is currently blocked, as the latest version (1.0.2) doesn't seem to support yet live streams.
SDK github repo
QHY Forum thread

Night view too bright - and one other request

Hi, could you please make some changes to the night view?

  • the tabs are white background, grey characters
  • some lines are one pixel wide, others two pixels. One pixel is bright enough
  • also it seems that not all characters have the same brightness
    Note: alle these things don't seem to be present in the screenshots on the Planetary Imager website.

One other request: If the ROI does not fill the preview area completely, it is difficult to judge whether my planet drifts out of the ROI (in nightview only). Could in this case the ROI be enclosed in (red) lines? That would only be necessary on the two sides where the ROI does not fill the preview window.

Thank you for this very nice program!
Kind regards,
Jos

asi178mm low frame rate

planetary_imager reports single digit frames/s with camera connected via usb3. using "ubuntu astronomy 16.04"

same hw running win7/firecapture reports ~40 frames/s at 65% usb bandwidth

pc is qotom q190

[FEATURE] - Visible the auto selected value

Is your feature request related to a problem? Please describe.
While selecting any of the auto-selection boxes, you can only see the last selected value. The field is not refreshing the value.

Describe the solution you'd like
I would like to see grayed out the auto-selected value.

[Debian Testing] ``Depends:'' field requires non-existent library

Before compiling PlanetaryImager from its sources (version 0.7.0-beta2, or 0.6.96), I tried to install it with the following .deb file:

PlanetaryImager-0.6.96-20170411-beta2-Linux-x86_64_debian-testing.deb

The ``Depends:'' field shows that PlanetaryImager depends on the following library (among others):

libopencv-highgui2.4v5

However, AFAIK this library is non-existent under Debian Testing; Debian Testing provides one with the following, though:

libopencv-highgui2.4-deb0 (version: 2.4.9.1+dfsg1-2)

It seems to me ...-highgui2.4 is the only one in this case among the numerous libopencv-... libraries in the Debian Testing repository. Of course, it's possible to force installation of PlanetaryImager from its .deb package, and it works perfectly well under that OS, but the package remains in a ``broken'' state, according to Debian's package managers.

Please feel free to ask if I can be of any help, of course.

Christian

bugs under Fedora 30

Describe the bugs
Histogram shows blank page
setting number of frames by time does not work

To Reproduce
Steps to reproduce the behavior:

  1. '...' For the histogram, just click on the histogram page and one gets a blank white page.
  2. '....'If you set the program to 2 minutes at whatever frame rate you have, it continues past the timer until you manually stop it.

Expected behavior
A clear and concise description of what you expected to happen.
1 some sort of histogram should appear.
2. Program should stop taking frames at or near the time one has put in.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. OSX Mohave or Ubuntu 18.04]
    Fedora Linux
  • Application Version [e.g. 0.7.70_20190610_ci126]
    version 30

Additional context
Add any other context about the problem here.
I have been using PI for planetary pictures and with the exception of the above, it has been working quite well.

PI is not working under Fedora 27

Yep, Fed27 is out and I upgraded to it. The PI I installed under Fed26 no longer recognizes my ZWO178MC camera and freezes up when the camera is connected. It does work with the internal laptop camera and my IS monochrome camera both of which are USB2.0 (the ZWO is connected to a USB 3.0 port, but it still doesn't work when it is connected to a 2.0 port. I checked the camera to be certain it had not gone south, but it is working ok in windows under smartcap3.0 and the windows version of planetaryimager0.7.0. Once the ZWO camera is connected the mouse can no longer open menu items in PI and one has to kill the program to get out. I am not certain if if just needs a Fedora27 installer, or if something worse has happened.

Bravo + Feature request

Having just had winblows10 try to eat my Linux and itself AGAIN(managing only to kill itself), I can say that having a good Linux planetary imaging solution is going to be pretty much the last camel breaker for me. I was booting to windoze only to use RS!3 and firecapture/sharpcap for planetary imaging and keeping a sharp eye out for Linux alternatives when I found this and finally got to try it last night on my ASI178MM with excellent results! Despite wifi VNC and USB 2 connection(long story) bottlenecks it performed quite well for hours.

One feature I'd really like to see is an image tracker like in Firecapture. They have an image stabilization routine that keeps image updates set in position on the screen and a set of 4 blocks moving to indicate actual alignment. This makes evaluating sky conditions and focus easier, and even makes tweaking position to keep the planet onscreen on rough nights more fun as conditions + the ROI can make it appear to leave the sensor when it has not.

---DSO related toys I'd like to see----
I like the apply button approach to settings changes but I'd like to see them take effect faster. I realize it's not the main forte of the program but when taking longer exposure shots the UI appears to stop responding between frames.
A switch to a photo format when exposures reach a certain length is one way I've seen this dealt with. I often use longer exposure shots for framing and star hopping to targets.

Thanks for working on this and I hope to see more updates soon!

Cheers!
Ray Wells 4.0

cannot compile master and stable on debian testing

Hello. While trying to compile PlanetaryImager stable, I have:
[ 96%] Linking CXX executable planetary_imager /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhyccd.o): relocation R_X86_64_32S against symbol cydev' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhycam.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhybase.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5lii_c.o): relocation R_X86_64_32 against symbol _ZTV9QHY5LII_C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(ic8300.o): relocation R_X86_64_32 against symbol _ZTV6IC8300' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy21.o): relocation R_X86_64_32 against symbol _ZTV5QHY21' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy22.o): relocation R_X86_64_32 against symbol _ZTV5QHY22' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy8l.o): relocation R_X86_64_32 against symbol _ZTV5QHY8L' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy10.o): relocation R_X86_64_32 against symbol _ZTV5QHY10' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy12.o): relocation R_X86_64_32 against symbol _ZTV5QHY12' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy9s.o): relocation R_X86_64_32 against symbol _ZTV5QHY9S' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy8pro.o): relocation R_X86_64_32 against symbol _ZTV7QHY8PRO' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy11.o): relocation R_X86_64_32 against symbol _ZTV5QHY11' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy23.o): relocation R_X86_64_32 against symbol _ZTV5QHY23' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(img2p.o): relocation R_X86_64_32 against symbol _ZTV5IMG2P' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy6.o): relocation R_X86_64_32 against symbol _ZTV4QHY6' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5ii.o): relocation R_X86_64_32 against symbol _ZTV6QHY5II' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5lii_m.o): relocation R_X86_64_32 against symbol _ZTV9QHY5LII_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5hii.o): relocation R_X86_64_32 against symbol _ZTV7QHY5HII' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5pii_c.o): relocation R_X86_64_32 against symbol _ZTV9QHY5PII_C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy8.o): relocation R_X86_64_32 against symbol _ZTV4QHY8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(minicam5s_m.o): relocation R_X86_64_32 against symbol _ZTV11MINICAM5S_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(minicam5s_c.o): relocation R_X86_64_32 against symbol _ZTV11MINICAM5S_C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(solar800g.o): relocation R_X86_64_32 against symbol _ZTV9SOLAR800G' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16000.o): relocation R_X86_64_32 against symbol _ZTV8QHY16000' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5.o): relocation R_X86_64_32 against symbol _ZTV4QHY5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy7.o): relocation R_X86_64_32 against symbol _ZTV4QHY7' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy2pro.o): relocation R_X86_64_32 against symbol _ZTV7QHY2PRO' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(img0h.o): relocation R_X86_64_32 against symbol _ZTV5IMG0H' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(log4z.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy15.o): relocation R_X86_64_32 against symbol _ZTV5QHY15' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy27.o): relocation R_X86_64_32 against symbol _ZTV5QHY27' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy90a.o): relocation R_X86_64_32 against symbol _ZTV6QHY90A' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16200a.o): relocation R_X86_64_32 against symbol _ZTV9QHY16200A' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy28.o): relocation R_X86_64_32 against symbol _ZTV5QHY28' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5rii_m.o): relocation R_X86_64_32 against symbol _ZTV9QHY5RII_M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(minicam5f_m.o): relocation R_X86_64_32 against symbol _ZTV11MINICAM5F_M' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy9t.o): relocation R_X86_64_32 against symbol _ZTV5QHY9T' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(ic16803.o): relocation R_X86_64_32 against symbol _ZTV7IC16803' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy29.o): relocation R_X86_64_32 against symbol _ZTV5QHY29' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(solar1600.o): relocation R_X86_64_32 against symbol _ZTV9SOLAR1600' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(unlockimagequeue.o): relocation R_X86_64_32 against symbol _ZTV16UnlockImageQueue' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5pii_m.o): relocation R_X86_64_32 against symbol _ZTV9QHY5PII_M' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5tii_c.o): relocation R_X86_64_32 against symbol _ZTV9QHY5TII_C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(polemaster.o): relocation R_X86_64_32 against symbol _ZTV10POLEMASTER' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy08050g.o): relocation R_X86_64_32 against symbol _ZTV9QHY08050G' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii174m.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III174M' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii178c.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III178C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16000g.o): relocation R_X86_64_32 against symbol _ZTV9QHY16000G' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii236c.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III236C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy695a.o): relocation R_X86_64_32 against symbol _ZTV7QHY695A' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy160002ad.o): relocation R_X86_64_32 against symbol _ZTV11QHY160002AD' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii224c.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III224C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iiig400m.o): relocation R_X86_64_32 against symbol _ZTV12QHY5IIIG400M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy16.o): relocation R_X86_64_32 against symbol _ZTV5QHY16' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy174m.o): relocation R_X86_64_32 against symbol _ZTV7QHY174M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii185c.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III185C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii290c.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III290C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii178m.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III178M' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy814g.o): relocation R_X86_64_32 against symbol _ZTV7QHY814G' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(download_fx3.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(download_fx2.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii174c.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III174C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy174c.o): relocation R_X86_64_32 against symbol _ZTV7QHY174C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy178m.o): relocation R_X86_64_32 against symbol _ZTV7QHY178M' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy178c.o): relocation R_X86_64_32 against symbol _ZTV7QHY178C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy224c.o): relocation R_X86_64_32 against symbol _ZTV7QHY224C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy290c.o): relocation R_X86_64_32 against symbol _ZTV7QHY290C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy45gx.o): relocation R_X86_64_32 against symbol _ZTV7QHY45GX' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhyabase.o): relocation R_X86_64_32 against symbol _ZTV8QHYABASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(img132e.o): relocation R_X86_64_32 against symbol _ZTV7IMG132E' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iibase.o): relocation R_X86_64_32 against symbol _ZTV10QHY5IIBASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iiibase.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iiicoolbase.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii290m.o): relocation R_X86_64_32 against symbol _ZTV11QHY5III290M' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy290m.o): relocation R_X86_64_32 against symbol _ZTV7QHY290M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy163c.o): relocation R_X86_64_32 against symbol _ZTV7QHY163C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy163m.o): relocation R_X86_64_32 against symbol _ZTV7QHY163M' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy165c.o): relocation R_X86_64_32 against symbol _ZTV7QHY165C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii163base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III163BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii165base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III165BASE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii174base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III174BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii178base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III178BASE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii185base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III185BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii224base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III224BASE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii290base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III290BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhyccdimgprocess.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy367c.o): relocation R_X86_64_32 against symbol _ZTV7QHY367C' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy183c.o): relocation R_X86_64_32 against symbol _ZTV7QHY183C' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5liibase.o): relocation R_X86_64_32 against symbol _ZTV11QHY5LIIBASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(cmosdll.o): relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii367base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III367BASE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ../../src/drivers/qhy/QHYCCD_Linux/libqhy_64.a(qhy5iii183base.o): relocation R_X86_64_32 against symbol _ZTV14QHY5III183BASE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
src/CMakeFiles/planetary_imager.dir/build.make:209: recipe for target 'src/planetary_imager' failed
make[2]: *** [src/planetary_imager] Error 1
CMakeFiles/Makefile2:285: recipe for target 'src/CMakeFiles/planetary_imager.dir/all' failed
make[1]: *** [src/CMakeFiles/planetary_imager.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
`

PI still not working with Fedora 27

First, I apologize. I could not figure out how to reopen the issue. I did post this comment there, but wasn'tsure anyone would read it in a closed issue. So I opened a new issue, and am repeating the comment here.
dump.txt
PlanetaryImager.log

I removed the F26 version and installed the F27 version. It works with my IS DMK21AU04.AS monochrome camera, but the ZW0 178MC does not.
When one runs it with the ZWO , the image area shows my screen background. When run from terminal the terminal reports first that it is writing a log to /home/jduchek/.cache/Planetary_imager.log
then reports Warning: QWidget::setLayout: Attempting to set QLayout something ...get", which already has a layout. (I can only see the terminal through the camera opening and part of it is not seen. When I kill the program that terminal message is killed too. However the terminal then displays dump.txt)

When I killed the program, the terminal responded with a long series of stuff. I have attached that and the log file.
PlanetaryImager.log

dump.txt

The ASO 178MC ran flawlessly under Fedora 26.
Thanks for any help!
John

UTC and local Date seem to be wrong

The recorded dates seem to be wrong.
For example for a file recorded at 00:17 local time in France (UTC+2) I have had:

local time: 2017-05-28 23:17:08.134
UTC time: 2017-05-28 23:17:08.134

This issue is a big problem when video must be used with WinJupos.

PI installations

Describe the bug
The current windows version runs fine on windows 10, but does not run on windows7

To Reproduce
Steps to reproduce the behavior:

  1. 'unzip the current version(0.7.70)
  2. 'click on plantary_imager.exe....'
  3. '.Entry point not found error: The procedure entry point Initialize Critical Section and Spin Count could not be located in the dll api-ms-win-core-sync-|i-2.0.dll....'

Expected behavior
program should start

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [windows 7 64 bit]
  • Application Version [e.g. 0.7.70_20190613_ci137]

Additional context
I installed this version on windows 10, fedora 30, and ubuntu 18.04 successfully

Support for arm64 on a NanoPi-M4

Is your feature request related to a problem? Please describe.
I have used Planetary Imager with good success on Raspberry Pi3s. I have now moved to a NanoPi-M4, running Ubuntu Mate 18.04 and tried to install the latest version of Planetary Imager using the .deb file. Installation aborts with the error Dependency not satisfiable libqt5gui5 >=5.5.0 However, installed libqt5gui5 is 5.9.5+dfsg-0ubuntu2.3

Describe the solution you'd like
Make dependency satisfiable and thus allow installation of Planetary Imager to proceed

Describe alternatives you've considered
Ran into problems trying to compile from source code

Additional context
Add any other context or screenshots about the feature request here.
image

Problems compiling from source in 'make all'.

Since an rpm never came out for Fedora I am still compiling from source which has worked ok until very recently. Using version 0.70, I am getting an error during 'make all' that I have not been able to decipher, but it basically said it could not find bind.
As I understand it it is saying that bind is not within scope of the program being compiled. I had compiled version 0.62 on this computer successfully so I am not sure what has changed.

At Marco's suggestion I put
#include in zoomimage.h and it began to compile to about 2% done.
I then put #include <functional? in fps_counter.h and frame.h and it compiles to the 27% level where I get another error which I am attaching below. It is still not finishing the make step.

[jduchek@localhost build]$ make all
[ 1%] Automatic MOC, UIC and RCC for target GuLinux_Qt_Commons
AutoMoc: Warning: "/home/jduchek/PlanetaryImager/GuLinux-Commons/Qt/functional.cpp"
The file includes the moc file "functional.moc", but does not contain a Q_OBJECT or Q_GADGET macro.

[ 1%] Built target GuLinux_Qt_Commons_autogen
[ 6%] Built target GuLinux_Qt_Commons
[ 7%] Automatic MOC, UIC and RCC for target planetaryimager-commons
AutoMoc: Warning: "/home/jduchek/PlanetaryImager/src/commons/fps_counter.cpp"
The file includes the moc file "fps_counter.moc", but does not contain a Q_OBJECT or Q_GADGET macro.

[ 7%] Built target planetaryimager-commons_autogen
Scanning dependencies of target planetaryimager-commons
[ 8%] Building CXX object src/commons/CMakeFiles/planetaryimager-commons.dir/configuration.cpp.o
[ 9%] Building CXX object src/commons/CMakeFiles/planetaryimager-commons.dir/configurationdialog.cpp.o
[ 10%] Linking CXX static library libplanetaryimager-commons.a
[ 14%] Built target planetaryimager-commons
[ 15%] Automatic MOC, UIC and RCC for target drivers
[ 15%] Built target drivers_autogen
Scanning dependencies of target drivers
[ 16%] Building CXX object src/drivers/CMakeFiles/drivers.dir/imagerthread.cpp.o
[ 17%] Linking CXX static library libdrivers.a
[ 23%] Built target drivers
[ 24%] Automatic MOC, UIC and RCC for target qhy_driver
AutoMoc: Warning: "/home/jduchek/PlanetaryImager/src/drivers/qhy/qhyccdimager.cpp"
The file includes the moc file "qhyccdimager.moc", but does not contain a Q_OBJECT or Q_GADGET macro.

[ 24%] Built target qhy_driver_autogen
Scanning dependencies of target qhy_driver
[ 25%] Building CXX object src/drivers/qhy/CMakeFiles/qhy_driver.dir/qhyccdimager.cpp.o
[ 26%] Building CXX object src/drivers/qhy/CMakeFiles/qhy_driver.dir/qhydriver.cpp.o
[ 27%] Building CXX object src/drivers/qhy/CMakeFiles/qhy_driver.dir/qhyimagingworker.cpp.o
/home/jduchek/PlanetaryImager/src/drivers/qhy/qhyimagingworker.cpp: In member function ‘virtual Frame::ptr QHYImagingWorker::shoot()’:
/home/jduchek/PlanetaryImager/src/drivers/qhy/qhyimagingworker.cpp:79:91: error: call of overloaded ‘Mat(, int&, unsigned char*)’ is ambiguous
cv::Mat image({static_cast(d->w), static_cast(d->h)}, type, d->buffer.data());
^
In file included from /usr/include/opencv2/core.hpp:59:0,
from /usr/include/opencv2/opencv.hpp:52,
from /home/jduchek/PlanetaryImager/src/commons/frame.h:23,
from /home/jduchek/PlanetaryImager/src/image_handlers/imagehandler.h:24,
from /home/jduchek/PlanetaryImager/src/drivers/imagerthread.h:22,
from /home/jduchek/PlanetaryImager/src/drivers/qhy/qhyimagingworker.h:23,
from /home/jduchek/PlanetaryImager/src/drivers/qhy/qhyimagingworker.cpp:20:
/usr/include/opencv2/core/mat.hpp:894:5: note: candidate: cv::Mat::Mat(const std::vector&, int, void*, const size_t*)
Mat(const std::vector& sizes, int type, void* data, const size_t* steps=0);
^~~
In file included from /usr/include/opencv2/core/mat.hpp:3518:0,
from /usr/include/opencv2/core.hpp:59,
from /usr/include/opencv2/opencv.hpp:52,
from /home/jduchek/PlanetaryImager/src/commons/frame.h:23,
from /home/jduchek/PlanetaryImager/src/image_handlers/imagehandler.h:24,
from /home/jduchek/PlanetaryImager/src/drivers/imagerthread.h:22,
from /home/jduchek/PlanetaryImager/src/drivers/qhy/qhyimagingworker.h:23,
from /home/jduchek/PlanetaryImager/src/drivers/qhy/qhyimagingworker.cpp:20:
/usr/include/opencv2/core/mat.inl.hpp:459:1: note: candidate: cv::Mat::Mat(cv::Size, int, void*, size_t)
Mat::Mat(Size _sz, int _type, void* _data, size_t _step)
^~~
make[2]: *** [src/drivers/qhy/CMakeFiles/qhy_driver.dir/build.make:111: src/drivers/qhy/CMakeFiles/qhy_driver.dir/qhyimagingworker.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:391: src/drivers/qhy/CMakeFiles/qhy_driver.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
[jduchek@localhost build]$ ^C
[jduchek@localhost build]$

I have been unable to get past this.

Windows won't close or go away.

One of the nice features is the windows are separable from the main program window. I did that with a couple, and then closed the main window. The extra windows did not close, and would not close by clicking on the X. After rebooting the computer they went away.

cfitsio include not found: missing CFLAGS

I try to compile PI on an opensuse Tumbleweed system. It fails compiling src/widgets/controls/controlwidget.cpp:
/usr/include/CCfits/CCfits.h:13:10: fatal error: fitsio.h: No such file or directory

Reason is the make call does not use the cfitsio/ccfits CFLAGS "-D_REENTRANT -I/usr/include/cfitsio"
Same happens for src/image_handlers/output_writers/imagefilewriter.cpp

Issue with ZWO's SDK

the image flashes during capture when exposure is short, say <50ms.
ROI is wrong when flip and mulitple ROI (ROI in ROIed image)
(if have question please contact yang.zhou(at)zwoptical.com )

Ubuntu 16.04.3 ARM Planetary Imager will not start

Hi,
I'm struggling to get Planetary Imager to run on an Odroid XU4 running Ubuntu 16.04.3 with the Mate Desktop.

I installed from the .deb file and Planetary Imager appears in the Applications -> Graphics menu. When I click it nothing happens.

I have /usr/bin/planetary_imager_daemon running under a tmux window and the logs tell me that it is running, found the ZWO_ASI_Driver for my ASI1200 and is bound to port 19232. No more entries appear in the log, even when I try launching Planetary Imager again.

Trying to run /usr/bin/planetary_image directly from a non-graphical terminal I get the following:

Starting PlanetaryImager - version 0.7.0 (armv7l)
QXcbConnection: Could not connect to display
Error: signal 6:
[0]: address: 0xb5a03260, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x2526
[1]: address: 0xb59f4af6, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x16af
[2]: address: 0xb5a02648, file: /lib/arm-linux-gnueabihf/libc.so., function: gsignal+0x2
[3]: address: 0xb5a0334a, file: /lib/arm-linux-gnueabihf/libc.so., function: abort+0xb

Running it from inside a Mate Terminal gives a little more information:

Starting PlanetaryImager - version 0.7.0 (armv7l)
Writing full output to logfile: /home/odroid/.cache/PlanetaryImager/PlanetaryImager.log
 WARNING -  QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
 WARNING -  Unable to find an X11 visual which matches EGL config 10
   FATAL -  Could not initialize OpenGL
Error: signal 6:
[0]: address: 0xb598b260, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x2526
[1]: address: 0xb597caf6, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x16af
[2]: address: 0xb598a648, file: /lib/arm-linux-gnueabihf/libc.so., function: gsignal+0x2
[3]: address: 0xb598b34a, file: /lib/arm-linux-gnueabihf/libc.so., function: abort+0xb
odroid@odroid:~$ cat /home/odroid/.cache/PlanetaryImager/PlanetaryImager.log
   DEBUG - void SupportedDrivers::Private::find_drivers(const QString&) Looking for drivers in  "/usr/lib/PlanetaryImager/drivers"
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/libv4l2.so" :  QJsonObject({"IID":"net.gulinux.planetaryimager.driver","MetaData":{"description":"V4L2 Devices driver (webcams, The Imaging Soure, Celestron Skyris","name":"V4L2","version":"0.7"},"className":"V4L2Driver","debug":false,"version":328961})
    INFO - void SupportedDrivers::Private::load_driver(const QString&) driver  "/usr/lib/PlanetaryImager/drivers/libv4l2.so" loaded: "V4L2Driver" "V4L2 Devices driver (webcams, The Imaging Soure, Celestron Skyris"
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/." :  QJsonObject()
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/.." :  QJsonObject()
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/libzwo_asi_imager.so" :  QJsonObject({"IID":"net.gulinux.planetaryimager.driver","MetaData":{"description":"ZWO ASI CMOS Cameras driver","name":"ASI","version":"0.7"},"className":"ZWO_ASI_Driver","debug":false,"version":328961})
    INFO - void SupportedDrivers::Private::load_driver(const QString&) driver  "/usr/lib/PlanetaryImager/drivers/libzwo_asi_imager.so" loaded: "ZWO_ASI_Driver" "ZWO ASI CMOS Cameras driver"
 WARNING -  QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
 WARNING -  Unable to find an X11 visual which matches EGL config 10
   FATAL -  Could not initialize OpenGL

I'd appreciate any insight you might have on how to resolve this!

Jeff Ross

make install error

I get this install error after compiling on ubuntu 18.04 amd64:
CMake Error at src/drivers/qhy/cmake_install.cmake:73 (file):
file INSTALL cannot find
"/home/franky/Development/PlanetaryImager/src/drivers/qhy/QHYCCD_Linux/85-qhy.rules".
Call Stack (most recent call first):
src/drivers/cmake_install.cmake:44 (include)
src/cmake_install.cmake:102 (include)
cmake_install.cmake:51 (include)

there is no /QHYCCD_Linux directory in src/drivers/qhy. compiling worked without errors, but make install failes with this error.

I can no longer compile the program.

I have attempted compiling the program in Fedora 25 and Ubuntu 16.04 LTS. I have successfully compiled it in Fedora 24 and Ubuntu 16.04 LTS earlier. In both systems I am getting the same error.
The compiling stops at this point.

[jduchek@localhost build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
CMake Error at CMakeLists.txt:12 (find_package):

By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:

Qt5WidgetsConfig.cmake
qt5widgets-config.cmake

Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.

-- Configuring incomplete, errors occurred!
See also "/home/jduchek/PlanetaryImager/build/CMakeFiles/CMakeOutput.log".

I have searched the net and found this same error for other programs, but the solutions I found listed do not work in my hands for this case. Any help on getting this to compile would be appreciated.
thanks,
John

Fedora rpm does not install correctly

Tonight I downloaded the available rpm that was made for fedora 25 and installed it on fedora 26 (64 bit version) It installs fine, but when run the following error message comes up.

planetary_imager: error while loading shared libraries: libopencv_xphoto.so.3.1: cannot open shared object file: No such file or directory

libopencv_xphoto.so.3.1 file is present on the harddrive but it is in /usr/lib64/libopencv_xphoto.so.3.1

I suspect it is being looked for in /usr/lib/libopencv_xphoto.so.3.1

Tracking support

As an user, I would like to use the camera's ST4 port, or INDI/ASCOM, in order to track the feature I'm shooting in real time.

PI with ASI183MC plugged in on Fedora 30 wont start

Hi Marco,

With the latest commits I get this now if I try to start with the camera plugged in:

Starting PlanetaryImager - version 0.7.70 (x86_64)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Writing full output to logfile: /home/julius/.cache/PlanetaryImager/PlanetaryImager.log
WARNING - void SupportedDrivers::Private::load_driver(const QString&) [ERR] Error loading driver "./GuLinux-Commons_download/CMakeFiles/GuLinux-Commons.dir/Labels" : "Cannot load library ./GuLinux-Commons_download/CMakeFiles/GuLinux-Commons.dir/Labels: (./GuLinux-Commons_download/CMakeFiles/GuLinux-Commons.dir/Labels: cannot open shared object file: No such file or directory)"
WARNING - QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
QHYCCD|QHYCCD.CPP|InitQHYCCDResource|InitQHYCCDResource | START
QHYCCD|QHYCCD.CPP|InitQHYCCDResource| InitQHYCCDResource END
QHYCCD|QHYCCD.CPP|ScanQHYCCD|START
QHYCCD|QHYCCD.CPP|ScanQHYCCD|ScanQHYCCD numdev=0
QHYCCD|QHYCCD.CPP|ScanQHYCCD|Scan finished. Return nid=0
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x28cc900 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x28cc900 'Help'
free(): invalid next size (fast)
Error: signal 6:
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x28cc900 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x28cc900 'Help'
[0]: address: 0x7fbf3ad2af40, file: /lib64/libc.so., function: +0x37f4
[1]: address: 0x7fbf3ad2aeb5, file: /lib64/libc.so., function: gsignal+0x14
[2]: address: 0x7fbf3ad15895, file: /lib64/libc.so., function: abort+0x12
[3]: address: 0x7fbf3ad6dee7, file: /lib64/libc.so., function: +0x7aee
[4]: address: 0x7fbf3ad747bc, file: /lib64/libc.so., function: +0x817b
[5]: address: 0x7fbf3ad75fce, file: /lib64/libc.so., function: +0x82fc
[6]: address: 0x7fbf013f32c3, file: ./src/drivers/zwo_asi/driver_zwo_asi_imager.s, function: XMLCloseKey(xmlHandle*)+0x2
[7]: address: 0x7fbf013eaef4, file: ./src/drivers/zwo_asi/driver_zwo_asi_imager.s, function: CCameraBase::LoadSetting()+0x63
[8]: address: 0x7fbf013a7f11, file: ./src/drivers/zwo_asi/driver_zwo_asi_imager.s, function: CCameraS183MC::CCameraS183MC()+0x30
[9]: address: 0x7fbf012f7033, file: ./src/drivers/zwo_asi/driver_zwo_asi_imager.s, function: ASIOpenCamera+0x54
[10]: address: 0x7fbf012f7d33, file: ./src/drivers/zwo_asi/driver_zwo_asi_imager.s, function: ASIGetCameraProperty+0xf
[11]: address: 0x7fbf012b73c2, file: ./src/drivers/zwo_asi/driver_zwo_asi_imager.s, function: ZWO_ASI_Driver::cameras() const+0x12
[12]: address: 0x617ab2, file: src/planetary_image, function: SupportedDrivers::cameras() const+0x22
[13]: address: 0x5db9bd, file: src/planetary_image, function:
[14]: address: 0x5dc98d, file: src/planetary_image, function:
[15]: address: 0x5e32c3, file: src/planetary_image, function: std::function<QList<std::shared_ptrDriver::Camera > ()>::operator()() const+0x3
[16]: address: 0x5e30fd, file: src/planetary_image, function: QtConcurrent::StoredFunctorCall0<QList<std::shared_ptrDriver::Camera >, std::function<QList<std::shared_ptrDriver::Camera > ()> >::runFunctor()+0x2
[17]: address: 0x5e2ff4, file: src/planetary_image, function: QtConcurrent::RunFunctionTask<QList<std::shared_ptrDriver::Camera > >::run()+0x4
[18]: address: 0x7fbf3b2d2dab, file: /lib64/libQt5Core.so., function: +0xc0da
[19]: address: 0x7fbf3b2cf7c6, file: /lib64/libQt5Core.so., function: +0xbd7c
[20]: address: 0x7fbf3d9005a2, file: /lib64/libpthread.so., function: +0x85a
[21]: address: 0x7fbf3adee163, file: /lib64/libc.so., function: clone+0x4
Error: signal 11:
[0]: address: 0x7fbf3ad2af40, file: /lib64/libc.so., function: +0x37f4
[1]: address: 0x7fbf3c204bae, file: /lib64/libQt5Gui.so., function: +0xedba
[2]: address: 0x7fbf3c1ed08e, file: /lib64/libQt5Gui.so., function: +0xd608
[3]: address: 0x7fbf3c204133, file: /lib64/libQt5Gui.so., function: QAccessibleEvent::accessibleInterface() const+0x3
[4]: address: 0x7fbf3c1ff061, file: /lib64/libQt5Gui.so., function: QAccessible::updateAccessibility(QAccessibleEvent*)+0x1
[5]: address: 0x7fbf3c7f69fe, file: /lib64/libQt5Widgets.so., function: QWidgetPrivate::show_helper()+0xc
[6]: address: 0x7fbf3c7f9af3, file: /lib64/libQt5Widgets.so., function: QWidget::setVisible(bool)+0x1d
[7]: address: 0x5afdc7, file: src/planetary_image, function: main+0x9a
[8]: address: 0x7fbf3ad16f33, file: /lib64/libc.so., function: __libc_start_main+0xf
[9]: address: 0x5acf9e, file: src/planetary_image, function: _start+0x2

I run it with this command:
[julius@localhost build]$ ./src/planetary_imager --drivers .

Regards,
Julius

Scripting support

As an user, I should be able to control Planetary Imager via scripting.
There is some basic support right now in master, with the Javascript Qt engine.
A better solution would be to create a "smarter" client in another language (python?) acting like a frontend application

[BUG] No Histogram Available - Crash

Describe the bug
The histogram is not working.

To Reproduce
Steps to reproduce the behavior:

  1. 'Open app'
  2. 'Load camera'
  3. 'Switch to histogram tab'

Screenshots
error2
error1

Desktop (please complete the following information):

  • OS: 10.15 Catalina
  • Application Version : 0.7.70_20190613_ci137

I can see in the app log file the following :

WARNING - void ImagerThread::Private::thread_started() ASI error TIMEOUT: timeout (code: 11) on Capture frame (../src/drivers/zwo_asi/asiimagingworker.cpp:115)

DEBUG - cv::Mat Histogram::Private::getHistogramImage(const cv::Mat &) const histogram frame bpp:  0

DEBUG - virtual void DisplayImage::doHandle(FrameConstPtr) Display queue full, skipping frame

Using >Camera >Disconnect with a ZWO ASI290MM kills PlanetaryImager

I have successfully compiled PlanetaryImager (version 0.7.0-beta2 or 0.6.96) from its sources on a Debian Testing (Stretch) laptop. PlanetaryImager recognizes my ZWO ASI290MM without any problem.

I think I encountered a very small glitch, though. When I disconnect the camera with the Disconnect item under the Camera menu, disconnection kills the PlanetaryImager instance. PlanetaryImager was launched from a shell; the job ends with a ``Segmentation fault'' error message. The last line of its log file is as follows:

$ tail PlanetaryImager.log
[...]
DEBUG - "Delete Object: ImagerThread"
DEBUG - camera disconnected
WARNING - QObject::~QObject: Timers cannot be stopped from another thread

I don't know whether my information above is complete... Please feel free to ask more from me.

Congratulations on a very, very great job!

Christian

Check for libdc1394 on Fedora 27

Awesome work on PlaneteryImager. Just wanted to suggest something:

sudo dnf install \
    boost-devel \
    CCfits-devel \
    cmake \
    gcc-c++ \
    git \
    libusb-devel \
    opencv-devel \
    qt5-qtdeclarative-devel

git clone --recursive https://github.com/GuLinux/PlanetaryImager.git
cd PlanetaryImager && mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make all && sudo make install

[...]

[ 97%] Built target iidc_autogen
Scanning dependencies of target iidc
[ 98%] Building CXX object src/drivers/iidc/CMakeFiles/iidc.dir/iidc_driver.cpp.o
/PlanetaryImager/src/drivers/iidc/iidc_driver.cpp:20:10: fatal error: dc1394/dc1394.h: No such file or directory
 #include <dc1394/dc1394.h>
      ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/drivers/iidc/CMakeFiles/iidc.dir/build.make:63: src/drivers/iidc/CMakeFiles/iidc.dir/iidc_driver.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:997: src/drivers/iidc/CMakeFiles/iidc.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

Fix:

sudo dnf install libdc1394-devel

Maybe the cmake step should check for dc1394 ?

Filter wheel support

As an user I would like to automatically manage filter wheels using INDI/ASCOM

Using planetary imager

I am trying to use your program. Is there any way to change resolutions. My zwo178c is coming up at 3000x2000 and 5fps. I would like to be doing 800x600.
Thanks,
John

Reticle support

Add an optional and configurable reticle to check for target drifting.

Possible configurations:

  • size
  • shape (single cross, rectangle, circles)
  • rotation (to align with the RA/DEC axis)
  • colour

Camera > Open menu not working

  • Planetary Imager built from sources 2e4357a
  • Fedora 28 x86_64, MATE

Steps to reproduce:

  1. Plug USB camera (ASI 120MC)
  2. Start planetary_imager
  3. Camera > Open (nothing)

Logs:

Start planetary_imager with USB Camera:

$ planetary_imager
Starting PlanetaryImager - version 0.7.70 (x86_64)
Writing full output to logfile: /home/xavier/.cache/PlanetaryImager/PlanetaryImager.log
 WARNING -  QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x182be60 'Help'
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x182be60 'Help'
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x182be60 'Help'
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x182be60 'Help'
corrupted size vs. prev_size
Error: signal 6:

Start planetary_imager, plug USB camera, then rescan (crashes):

$ planetary_imager
Starting PlanetaryImager - version 0.7.70 (x86_64)
Writing full output to logfile: /home/xavier/.cache/PlanetaryImager/PlanetaryImager.log
 WARNING -  QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x1881ac0 'Help'
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x1881ac0 'Help'
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x1881ac0 'Help'
 WARNING -  QMainWindow::saveState(): 'objectName' not set for QToolBar 0x1881ac0 'Help'
corrupted size vs. prev_size
Error: signal 6:
corrupted size vs. prev_size
Error: signal 6:
munmap_chunk(): invalid pointer
Error: signal 6:
[0]: address: 0x7fe6f37a5fb0, file: /lib64/libc.so., function: +0x36fb
[1]: address: 0x7fe6f37a5f2b, file: /lib64/libc.so., function: gsignal+0x10
[2]: address: 0x7fe6f3790561, file: /lib64/libc.so., function: abort+0x12
[3]: address: 0x7fe6f37e8917, file: /lib64/libc.so., function: +0x7991
[4]: address: 0x7fe6f37eedec, file: /lib64/libc.so., function: +0x7fde
[5]: address: 0x7fe6f37ef344, file: /lib64/libc.so., function: +0x8034
[6]: address: 0x7fe6e394b6c0, file: /lib64/libusb-1.0.so., function: libusb_exit+0x22
[7]: address: 0x7fe6b07f342b, file: /usr/lib/PlanetaryImager/drivers/libzwo_asi_imager.s, function: ASICloseCamera+0x21
[8]: address: 0x7fe6b07f449d, file: /usr/lib/PlanetaryImager/drivers/libzwo_asi_imager.s, function: ASIGetCameraProperty+0x2a
[9]: address: 0x7fe6b07b3565, file: /usr/lib/PlanetaryImager/drivers/libzwo_asi_imager.s, function: ZWO_ASI_Driver::cameras() const+0xa
[10]: address: 0x628850, file: planetary_image, function: SupportedDrivers::cameras() const+0xb
[11]: address: 0x5ec3eb, file: planetary_image, function: 
[12]: address: 0x5ed3bf, file: planetary_image, function: 
[13]: address: 0x5f3c93, file: planetary_image, function: std::function<QList<std::shared_ptr<Driver::Camera> > ()>::operator()() const+0x3
[14]: address: 0x5f3acd, file: planetary_image, function: QtConcurrent::StoredFunctorCall0<QList<std::shared_ptr<Driver::Camera> >, std::function<QList<std::shared_ptr<Driver::Camera> > ()> >::runFunctor()+0x2
[15]: address: 0x5f39c4, file: planetary_image, function: QtConcurrent::RunFunctionTask<QList<std::shared_ptr<Driver::Camera> > >::run()+0x4
[16]: address: 0x7fe6f4529431, file: /lib64/libQt5Core.so., function: +0xbd43
[17]: address: 0x7fe6f452c11d, file: /lib64/libQt5Core.so., function: +0xc011
[18]: address: 0x7fe6f81be594, file: /lib64/libpthread.so., function: +0x759
[19]: address: 0x7fe6f386902f, file: /lib64/libc.so., function: clone+0x3
Error: signal 11:
[0]: address: 0x7fe6f37a5fb0, file: /lib64/libc.so., function: +0x36fb
[1]: address: 0x7fe6f61f704a, file: /lib64/libQt5Gui.so., function: +0xd304
[2]: address: 0x7fe6f641f149, file: /lib64/libQt5Gui.so., function: QPainterState::QPainterState()+0x4
[3]: address: 0x7fe6f640907d, file: /lib64/libQt5Gui.so., function: +0x2e507
[4]: address: 0x7fe6f6410bfd, file: /lib64/libQt5Gui.so., function: QRasterPaintEngine::createState(QPainterState*) const+0x4
[5]: address: 0x7fe6f6422919, file: /lib64/libQt5Gui.so., function: QPainter::begin(QPaintDevice*)+0x15
[6]: address: 0x7fe6f67b41f8, file: /lib64/libQt5Widgets.so., function: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*)+0xbb
[7]: address: 0x7fe6f678a6bc, file: /lib64/libQt5Widgets.so., function: +0x1746b
[8]: address: 0x7fe6f678a871, file: /lib64/libQt5Widgets.so., function: +0x17487
[9]: address: 0x7fe6f67a26b5, file: /lib64/libQt5Widgets.so., function: QWidgetPrivate::syncBackingStore()+0xa
[10]: address: 0x7fe6f67bace8, file: /lib64/libQt5Widgets.so., function: QWidget::event(QEvent*)+0x30
[11]: address: 0x7fe6f68d0a68, file: /lib64/libQt5Widgets.so., function: QMainWindow::event(QEvent*)+0x6
[12]: address: 0x7fe6f677ae95, file: /lib64/libQt5Widgets.so., function: QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x8
[13]: address: 0x7fe6f678283a, file: /lib64/libQt5Widgets.so., function: QApplication::notify(QObject*, QEvent*)+0x21
[14]: address: 0x7fe6f46da376, file: /lib64/libQt5Core.so., function: QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x8
[15]: address: 0x7fe6f46dd09b, file: /lib64/libQt5Core.so., function: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)+0x20
[16]: address: 0x7fe6f472aec7, file: /lib64/libQt5Core.so., function: +0x2beec
[17]: address: 0x7fe6f0e8f8ad, file: /lib64/libglib-2.0.so., function: g_main_context_dispatch+0x15
[18]: address: 0x7fe6f0e8fc78, file: /lib64/libglib-2.0.so., function: +0x4cc7
[19]: address: 0x7fe6f0e8fd10, file: /lib64/libglib-2.0.so., function: g_main_context_iteration+0x3
[20]: address: 0x7fe6f472ac13, file: /lib64/libQt5Core.so., function: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x6
[21]: address: 0x7fe6bda39065, file: /lib64/libQt5XcbQpa.so., function: +0xd306
[22]: address: 0x7fe6f46d912b, file: /lib64/libQt5Core.so., function: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x13
[23]: address: 0x7fe6f46e15b6, file: /lib64/libQt5Core.so., function: QCoreApplication::exec()+0x9
[24]: address: 0x5bd646, file: planetary_image, function: main+0x99
[25]: address: 0x7fe6f379218b, file: /lib64/libc.so., function: __libc_start_main+0xe
[26]: address: 0x5bcb3a, file: planetary_image, function: _start+0x2

I will try to build a previous or stable version of planetary imager.

Zwo ASI 183MM timeouts on macosx

First of all, Planetary Imager is a very nice program and worked fine for me with a Zwo ASI 120MM-S.

Now to my issue:
compiled/installed planetary imager from scratch a week ago on macosx 17.7.0 (High Sierra, latest) with Qt 5.10.0.
Connected a ZWO ASI183MM camera.
Frame grabbing works for a couple of seconds then "crashes" with uncaught timeout...
See log further below.
Once, I was fast enough to switch to 4x4 binning; after that, the program was running stable.
I did set the binning to 4 in a preset file, but the camera control panel after start shows binning of 1. Is there a default preset file (file name?).

Additional silly question (sorry): how can I reset the GUI; the program remembers the last windows etc, but I'd like to restart with the original GUI setup.

Log file attached.

PlanetaryImager.log

Thank you.
Best wishes,
Stefan

Crash log:
Starting PlanetaryImager - version 0.7.70 (x86_64)
Writing full output to logfile: ...Library/Caches/PlanetaryImager/PlanetaryImager.log
WARNING - QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'

WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
WARNING - QMainWindow::saveState(): 'objectName' not set for QToolBar 0x7f9f0e850f30 'Help'
libc++abi.dylib: terminating with uncaught exception of type ZWOException: ASI error TIMEOUT: timeout (code: 11) on Capture frame PlanetaryImager/src/drivers/zwo_asi/asiimagingworker.cpp:87)
Error: signal 6:
[0]: address: 0x7fff5a294f5a, file: , function:
[1]: address: 0x20008, file: , function:
[2]: address: 0x7fff5a0321ae, file: , function:
[3]: address: 0x7fff57f2ff8f, file: , function:
[4]: address: 0x7fff57f30113, file: , function:
[5]: address: 0x7fff59371a4f, file: , function:
[6]: address: 0x7fff57f4b7c9, file: , function:
[7]: address: 0x7fff57f4b843, file: , function:
[8]: address: 0x10e644a38, file: , function:
[9]: address: 0x7fff5a29e661, file: , function:
[10]: address: 0x7fff5a29e50d, file: , function:
[11]: address: 0x7fff5a29dbf9, file: , function:
Killed

configurable file name

As an user, I would like to change the filename template.

Possible implementation: leave the recording panel as is, adding this setting to the configuration dialog

Apply control changes immediately

Some camera APIs (e.g. IIDC, FlyCapture2) allow making changes to camera controls during video streaming, with no additional synchronization. It would be convenient to be able to e.g. change the shutter time and observe the results immediately, without clicking "Apply".

This "immediate mode" could be controlled by a checkbox at the bottom of camera controls panel (and could be enabled automatically for eligible drivers).

Windows setup missing .dll files

Latest version for windows is 'missing' many dll files that windows does not normally have in its install;
i.e. libgcc_s_seh-1.dll and libstdc++-6.dll etc.
So far, I am manually adding as each error message appears.
Would have been nice it they were bundled in the zip file or you had used the appropriate linker command.

Toucam webcams not working

Hello,

I discovered your software a few days ago and it's very good : I'm on GNU/Linux so I really appreciate new capture softwares for astronomy :).

But I'm struggling making my webcam works with Planetary Imager : indeed, I have a Toucam, you know those old webcams from the early 2000s with a CCD sensor... Yeah I'm still using it ! So I wanted to make it work with this software but I had a problem : the software freeze when I select my webcam.

I have the pcvc840k model but it was detected as a pcvc740k model (not only Planetary Imager, all softwares in GNU/Linux detect it as a pcvc740k), so I was wondering if it could be a model problem..

So I decided to run a virtual machine under WinXP to run an old software called WcrMac : this software can modify the eeprom of the webcam to change it into a different webcam model, so I decided to change it into a SPC900NC (a Phil*ps CCD webcam as well) to see if Planetary Imager would "accept" it...

It did not :-/... The software is still freezing when I select it (it's well detected as a SPC900NC).

I ran Planetary Imager in a terminal to see the error lines involved (I'm not use to do that, I'm using GNU/Linux since three years) and I saw this line :
what(): V4L2 Error Requested format YU12 (842093913) not yet supported. Please report this error message for help (code: 0)

But I can't select another format because I can't even select my webcam :/. I'm on an astronomers forum and there's a post about this software, a person told me it may be because of the pwc driver not being available in V4L2... I'm on Stretch and I don't think I have this driver installed and I don't think it's still available...

It's not the first time I'm struggling to make those old webcams work on recent GNU/Linux distros, I'm force to use old distros with kernel 2 version because I can't change the options of the webcam (gain, gamma, fps..) on recent distros, and sometimes it just simply doesn't work...

Sorry for this looong message but you have all the informations I could give :D (I'm french and my english is not very good so be nice :-D)

Extend Mac OS X support to 10.13.6 (High Sierra)

Hello,
Could you please extend the Mac OS X support to 10.13.6 (High Sierra) for the prebuild version of PlanetaryImager?
Unfortunately, my my MacBook Pro is old and cannot be upgraded to Max OS X 10.14.
Regards,
Andre

Planetary Imager for capturing DSOs

Hello. This app could be used for capturing DSO but it needs at least two features added.

  1. Select the number of exposures (still images not videos)
  2. Set the delay between the exposures.
    Is feature #1 already possible by setting the camera Max Exposure?

More time-lapse options

I'd like to add options to the Recording/Time Lapse panel I use for my time lapses, namely:

  1. record for <time_span> with interval <time_span>
  2. record every <time_span>

Plugin system

As a user, I would like to be able to download, enable and disable third party plugins.
As a developer, I would like to interact with planetary imager through an API to develop plugins.

This might be based on the python scripting support, or on QtQuick

[FEATURE] - Auto histogram feature

Describe the solution you'd like
I find it really helpful a feature that other software has: The auto histogram feature. You can specify the desired histogram percentage and the app automatically adjust Gain to achieve that.

App hangs when exiting after using an ASI camera

When exiting the app after using an ASI camera the app hangs and an error is logged "QObject::killTimer: Timers cannot be stopped from another thread" this seems to be happening in ZWO_ASI_Imager::destroy()

Build update for Ubuntu 17.10?

It appears Ubuntu 17.10 has version 3.1 for the libopencv* dependencies. I tried PlanetaryImager build for 17.04, but it want version 2.4.

Could we get a release for Ubuntu 17.10 please?

Rasberry with Ubuntu Mate 18.04.2 64bits

Hello,

I have installed all the required library for compile the source of planetary imager v0.7.0.
The cmake files were well generated but when I tried to perform the build of the soft by "make" command, this last one crashes at 71% on the build of planetaryimager_mainwindow.cpp.o.

How can I solve this problem?

Thanks

Dependencies unsatisfiable in Bionic

I just upgraded to 18.04 lts from 16.04 lts Xubuntu and not finding a build for this release, I tried to install the 17.10 build but it failed due to unsolvable library dependencies.
I see this occasionally. I tihnk there is a way of compiling against libraries that allow newer versions. I.e. opencv-imageproc-dev>=2.4 instead of a specific one, but I've not done this myself being more electronics repair tech and hobby/hacker than programmer.
I also tried to get it to compile myself and was hoping we could get a better dependency list with the full repo names in the readme to help sort things out.
(hadn't occured to me to report errors on this but I do testing for other groups, I'll try to remember)
Any chance we could get an 18.04 build? This has been my goto this year for planetary ap. I.e...pictures of clouds and pea soup fog.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.