×

INDI Library v2.0.0 Released (01 Feb 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements.

Artificial Horizon gone bonkers

  • Posts: 990
  • Thank you received: 131
After some Astro-Outage due to too much work load, I compiled the latest version of kstars today to get myself up to date.
The very first thing I noticed is that the display of the artificial horizon is now completely messed up:


At least in equatorial mode. In Horizon mode it does work - but I never use that. Here for comparison how it should look:



I tried deleting some points so it's just a 'line' (it had to be a closed area in earlier days). Also tested the 'ceiling mode toggle' but that made it even worse. What happened?
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI2600/1600/290mini+EFW+EAF
The following user(s) said Thank You: Jasem Mutlaq
4 months 2 weeks ago #86540
Attachments:

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

  • Posts: 930
  • Thank you received: 432
Pit,

Thanks for reporting this. I looked into it and tracked down the issue to the following.
I have submitted an MR which will hopefully be merged soon.

I believe you compile from code, can you make the following change and test?
(I'd have you just use the latest code but I don't necessarily recommend you using that right now.)

In the file kstars/kstars/skycomponents/artificialhorizoncomponent.cpp
find the function called appendGreatCirclePoints (starts on line 268)
and comment out these 4 lines which are not far from the top of the function (lines 274-277)
invent.kde.org/education/kstars/-/blob/m...oncomponent.cpp#L274
    // std::shared_ptr<SkyPoint> sp0(new SkyPoint());
    // sp0->setAz(az1);
    // sp0->setAlt(alt1);
    // region->append(sp0);

It is not perfect--it makes little jagged lines near the horizon (which is what those 4 lines fix in horizon mode and were supposed to fix in equatorial mode too), but that is far better than the current rendering mess. I need some consulting to get it totally right, if you have any clue how to fix, let me know!

Hy
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
The following user(s) said Thank You: Peter Sütterlin
4 months 1 week ago #86600

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

  • Posts: 990
  • Thank you received: 131
Thanks Hy!
I did just pull the latest git, which has that change in indeed. And rendering is normal again now :)
I even tried to understand what is going on in that routine, but eventually gave up. Too little knowledge of C++ and the internal kstars layout. So I better restrict my contributions to finding errors, and let the masters fix them :lol:
But as I always create RPM packages when compiling I can easily switch them if they 'misbehave' :D
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI2600/1600/290mini+EFW+EAF
4 months 1 week ago #86606

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

  • Posts: 121
  • Thank you received: 23
I had the same problem: www.indilib.org/forum/general/12212-horizon-art.html#85883

I hope Hy can find the problem. Meanwhile I was working with a self compiled version of KStars.
AOK Skywalker DDM
Celestron Edge HD 14"
Starlight Trius SX35 / ZWO ASI294MC
Starlight Lodestar X2
Starlight SX Maxi Filterwheel
Focus Boss II Focuser
Pegasus Falcon Rotator
KStars Ubuntu 20.04 LTS on NUC
4 months 1 week ago #86652

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

  • Posts: 930
  • Thank you received: 432
Toni,
It is fixed in the latest code.
If you want to fix things in your self-compiled code, just comment out those 4 lines as described above.
Hy
AP1100 & Orion Atlas Pro, WO/ZS105 w/Moonlight V2 focus, GSO RC10 w/RSF focus
ZWO ASI1600, Astronomik Filters, ST80, QHY 5L-IIm.
KStars/Ekos/Indi on NUC10 & RPi4 w/SSD -- Ubuntu
Projects: Greedy Scheduler, Terrain, Polar Align, Analyze, Linear Focuser, SEP MultiStar & GPG Guide, FITS autostretch.
4 months 1 week ago #86653

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

Time to create page: 0.365 seconds