I've been experimenting with automatic meridian flip and I am not sure if this is a bug in EKOS/INDI. When I do meridian flip, the mount slews to the last star I align or the last star I slew to rather than the current star it's tracking.

This is from a thread on the OnStep forum: onstep.groups.io/g/main/topic/meridian_f...20,84839240&jump=1So, I've been experimenting with the suggestion made by Chad about setting KStar as master time/location and I am having an odd issue. I am having odd issues regardless of what I set in the time/location settings in Kstars. Sometimes I get a meridian flip to happen but most of the time it slews to the last star I used for the alignment procedure. I've checked time and location settings before I do anything and they look correct. The only odd thing I see is that KStarts uses the negative value for longitude when west of prime meridian while Onstep uses positive values west of meridian but even when Kstars sends for example +237 as longitude, Onstep shows +123 so it's correct for my location. The time is set correctly also in both KStars and Onstep (confirmed on the Onstep webpage).

Here's what I've been doing.

-Connect to Onstep using EKOS
-Kstars sets the time/location on the connection
-Set the Minutes Past Meridian Parameters (8 minutes). I have default settings for Pause at Home to OFF and Preferred side to East so they're already set from config.h
-Go to Align tab in INDI, Choose 1 star, Click Start Align.
-Using Kstars right-click on bright star (ie, Deneb or Arcturus) -Onstep - Go To.
-Click Issue Align on the INDI control panel. This completes the alignment process.
-Right-click on the star near the meridian but at least 8mins away and issue a goto.
-Onstep goes to the correct location.
-Meridian flip setting in EKOS is set to 0.2 degrees. I can see the countdown timer.
-Then I wait for the star to cross meridian plus 0.2 deg and EKOS issues a slew but most of the time, it issues a slew to the last star I used for alignment (ie Deneb or Arcturus).

The coordinates shown in EKOS and Onstep are the same so not sure why EKOS. Not sure what I am doing wrong.

For reference, I have MaxPCB2 with Teensy 3.6 and TMC5160. I am using Kstars 3.5.4 Build: 2021-07-15T21:15:09Z and INDI driver version 1.9.1

Read More...