Yeap, I fixed the build two days ago.
tkottary wrote: Sorry I did not see the replies earlier. So the mount was able to connect but eqmod does not function properly.
currently you can use the autoguiding by connecting a guiding camera with ST4 cable to the Star Adventurer and running PHD2. You must select "On Camera" in PHD2 for mount and then this program will do pulse guiding the Star Adventurer mount. You can use Drift Alignment in this setup with PHD2 if you can't see the Polaris from your observation site. That is what I do. In my case, I put a Skywatcher Merlin mount on the top of Adventurer for slewing to avoid manual fiddling with a ballhead.
I have to add extensive optional logging to this driver because the verbosity is not enough for diagnosis.
tkottary wrote: Below are the logs with Skywatcher Alt-Az Wedge driver with 192.168.4.1 11881 UDP settings.
[2018-08-14T22:54:02.538 PDT DEBG ][ org.kde.kstars.indi] - < Skywatcher Alt-Az Wedge >: < DEVICE_ADDRESS >
[2018-08-14T22:54:02.594 PDT DEBG ][ org.kde.kstars.indi] - < Skywatcher Alt-Az Wedge >: < CONNECTION_TYPE >
[2018-08-14T22:54:20.203 PDT DEBG ][ org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[DEBUG] Connection successful, attempting handshake... "
[2018-08-14T22:54:20.203 PDT DEBG ][ org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[SCOPE] SkywatcherAltAzSimple::Handshake "
[2018-08-14T22:54:20.207 PDT DEBG ][ org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[SCOPE] InitMount "
[2018-08-14T22:54:20.207 PDT DEBG ][ org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[SCOPE] CheckIfDCMotor "
[2018-08-14T22:54:25.198 PDT DEBG ][ org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[SCOPE] SkywatcherAltAzSimple::Handshake - Result: 0 "
[2018-08-14T22:54:25.201 PDT DEBG ][ org.kde.kstars.indi] - Skywatcher Alt-Az Wedge : "[DEBUG] Handshake failed. "
[2018-08-14T22:54:25.202 PDT DEBG ][ org.kde.kstars.ekos] - Skywatcher Alt-Az Wedge is disconnected.
Is your mount in EQ mode when you get this backtrace? Because this driver does not support EQ mode at all.
I checked the video and did some math with the results there, but I have no idea why RA update does not work. To be more weird, the results there do not make any sense. The RA jumps like random offset after syncing, but its update is identical to Dec in the protocol. I think this is a bug in the handset firmware, but strangely enough it works with my AltAz mount with V3 handset.
@Frank: KStars 2.9.6 was released a few days ago. Can you download to your Mac give a try? edu.kde.org/kstars/#download
I am the most curious what are your results now?
- Syncing works.
- RA does not sync, Dec syncs properly.
- None of them syncs properly.
If Frank is lucky, it is possible that this bug is present only in V4 handsets (kross has this version), but not in V3. I and Frank have this version.
Frank, let us now your experiences.
Frank, please wait a bit, the issues are not fixed yet as you can read in the previous two posts.
kross wrote: Your change was near identical to what I tried. Same result, too. Dec gets updated fine, but RA either has some really weird offset, or doesn't update at all.
Maybe Frank will have better luck with his mount.
There are two things in the Sync() function: position reset and the actual sync command. Can you do a quick check what happens if you remove the position reset command? Does it fix the situation? As I remember, the position reset was not there, but it was needed for Alt/Az mounts to work properly. It is possible that it is unnecessary for EQ mounts.
I created a fix for this issue (
) and it was merged. It will appear tomorrow or after that in the PPA updates.
Disclamer: I don't have a Synscan cable nor an EQ mount. My change _should_ work out of the box, but no guarantee as it was not tested. Please test first carefully, do manual syncs without plate solving and see if +/- RA/DEC coordinates are synced correctly to the handset. And report back the results in any case.
kross wrote: I played with this some over the weekend. I changed the code so it sends RA/Dec instead of Alt/Az. The Dec axis gets updated just fine, but the RA axis wouldn't update. Not sure what's going on. I will have to mess with it some more.
By the way, I hope you guys can keep this driver compatible with the V3 hand controller because I discovered that older HEQ5 mounts cannot upgrade to the V4 version. Thank you for your work on this!
The driver is compatible with V3/V4 handsets, just be sure to upgrade the firmware to something recent V3.37+/V4.37+.
Although I don't have a cable I plan to submit a fix for the syncing issues, but I am very busy these days.