Page 1 of 2

Recentering after Plate Solve not working

Posted: Thu Apr 13, 2023 3:13 am
by donboy
Recentering after plate solve on every object I tried not working with Goto Image Coordinates. Ver 4.1.10388

Re: Recentering after Plate Solve not working

Posted: Thu Apr 13, 2023 2:11 pm
by admin
Hi Don,

can you share the log please?

cheers,

Robin

Re: Recentering after Plate Solve not working

Posted: Thu Apr 13, 2023 5:53 pm
by donboy
Sorry forgot to attach. Hope this log has the info you need on it.
Info 225645.187442 #1 Starting..txt
(693.54 KiB) Downloaded 47 times
Regards,

Don

Re: Recentering after Plate Solve not working

Posted: Thu Apr 13, 2023 6:05 pm
by donboy
Here's another log from last night.
Log_2023-04-12T20_13_50-10716.log
(571.34 KiB) Downloaded 63 times
Log_2023-04-12T19_12_37-9156.zip
(210.6 KiB) Downloaded 52 times


DON

Re: Recentering after Plate Solve not working

Posted: Thu Apr 13, 2023 8:57 pm
by Menno555
Robin

I have the same issue here with Ver 4.1.10388. If I do a plate solve & sync, the object is not in the center.
But NGC 3642 should be in the center. Only after a third plate solve, it was centered correctly.
Then when I slew the object by a lot out of the center and do a plate solve & sync, the result is that sync is not needed, difference is less then 0.005 degrees which is obviously not the case.
I use All Sky Plate Solver.

It's weird. Just did a plate solve & sync, offset is 0.02 (so just a fraction), yet it's send to the position again as shown in the screenshot. I do a plate solve & sync again with result no sync needed. I do a Plate solve & sync again, now the offset is 0.02 and the object is now slewed out of the frame.
It's not the mount: when I give a slew command directly in my mount software, the object is slewed into the center.

Maybe the "Fix issues with recentering during live stacking" has some unwanted side effects? I do no live stacking btw.
Added log from last night.

Menno
Result after plate solve & sync
Result after plate solve & sync
Clipboard02.jpg (489.7 KiB) Viewed 1185 times

Re: Recentering after Plate Solve not working

Posted: Fri Apr 14, 2023 4:25 am
by Oberon510
Same here - centering is not working in this release for me either.

One other issue with this version is that saving a camera profile fails and I had to change permissions on C:\Program Files\SharpCap 4.1 (64 bit)\DefaultCaptureProfiles to allow users to modify it - obviously not writeable for some reason:-

Warning 18:22:23.128612 #1 MessageBox: The capture profile could not be saved.

Check the log for more information. in DialogResult SharpCap.Models.Application.ShowMessageBox(string message, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defButton)
Warning 18:22:23.129096 #1 MessageBox: User Chose:OK in DialogResult SharpCap.Models.Application.ShowMessageBox(string message, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defButton)
Warning 18:22:23.129527 #1 Error from saving auto save profile : Exception of type 'UnauthorizedAccessException' : Access to the path 'C:\Program Files\SharpCap 4.1 (64 bit)\DefaultCaptureProfiles\ASI2600-105G-05B-00010S (ZWO ASI2600MC Pro).ini' is denied.
Stack Trace: at SafeFileHandle Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(string fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at SafeFileHandle Microsoft.Win32.SafeHandles.SafeFileHandle.Open(string fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, long preallocationSize, UnixFileMode? unixCreateMode)
at new System.IO.Strategies.OSFileStreamStrategy(string path, FileMode mode, FileAccess access, FileShare share, FileOptions options, long preallocationSize, UnixFileMode? unixCreateMode)
at void SharpCap.Models.Camera.SaveCaptureProfile(string name) in C:/Documents/Source Code/SharpCap/src/SharpCap/FrameTransforms/LiveStacking/MVVM/LiveStackBrightnessFilterViewModel.cs:line 269 in void SharpCap.Models.Camera.SaveCaptureProfile(string name)
Debug 18:22:23.132004 #1 Ended void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName) in void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName)
Debug 18:22:38.555833 #1 Started void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName) in void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName)
Debug 18:22:38.556091 #1 Started string SharpCap.ViewModels.CaptureProfileControlViewModel.SelectNewProfileName() in string SharpCap.ViewModels.CaptureProfileControlViewModel.SelectNewProfileName()
Debug 18:22:42.434702 #1 Ended (User cancelled select new profile name) string SharpCap.ViewModels.CaptureProfileControlViewModel.SelectNewProfileName() in string SharpCap.ViewModels.CaptureProfileControlViewModel.SelectNewProfileName()
Info 18:22:42.435162 #1 Ended (null or empty profile name - cancelled?) void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName) in void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName)
Debug 18:22:52.522197 #1 Started void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName) in void SharpCap.ViewModels.CaptureProfileControlViewModel.SaveProfile(string profileName)
Debug 18:22:52.522431 #1 Started string SharpCap.ViewModels.CaptureProfileControlViewModel.SelectNewProfileName() in string SharpCap.ViewModels.CaptureProfileControlViewModel.SelectNewProfileName()
Debug 18:23:02.901750 #1 Ended (User cancelled select new profile name) string

Re: Recentering after Plate Solve not working

Posted: Fri Apr 14, 2023 12:50 pm
by admin
Ok, thanks everyone, I've got it...

There was one place where the epoch of a set of co-ordinates was incorrect, so I fixed that (which was fine), but I then decided that code that looked the same elsewhere must also be wrong and changed the same code in another place where it *was* correct to begin with :(

So, it turned out that the mount was reporting its co-ordinates and saying they were in the J2000 epoch, which they weren't. Then you end up being off by the difference between the J2000 and JNOW epochs every time. Sorry about that.

I will put up a fix in the next couple of hours (and also try to sort out the issue with the capture profiles folder - it was only supposed to load profiles from that folder, not save them...)

cheers,

Robin

Re: Recentering after Plate Solve not working

Posted: Fri Apr 14, 2023 1:43 pm
by admin
Hi,

right, new version online now : https://www.sharpcap.co.uk/sharpcap/sha ... p-4-1-beta

I'm unable to properly test the plate solving part as it is a) daylight and b) cloudy, but I have undone the incorrect change to the epoch, so unless I broke two things, it should be fine now.

cheers,

Robin

Re: Recentering after Plate Solve not working

Posted: Fri Apr 14, 2023 3:29 pm
by Oberon510
Many thanks Robin

Regards,
Ken

Re: Recentering after Plate Solve not working

Posted: Fri Apr 14, 2023 4:38 pm
by donboy
Tnx,

Don