Recentering after Plate Solve not working

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
donboy
Posts: 256
Joined: Sat Mar 25, 2017 1:57 am

Recentering after Plate Solve not working

#1

Post by donboy »

Recentering after plate solve on every object I tried not working with Goto Image Coordinates. Ver 4.1.10388
User avatar
admin
Site Admin
Posts: 13350
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Recentering after Plate Solve not working

#2

Post by admin »

Hi Don,

can you share the log please?

cheers,

Robin
donboy
Posts: 256
Joined: Sat Mar 25, 2017 1:57 am

Re: Recentering after Plate Solve not working

#3

Post 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 42 times
Regards,

Don
donboy
Posts: 256
Joined: Sat Mar 25, 2017 1:57 am

Re: Recentering after Plate Solve not working

#4

Post by donboy »

Here's another log from last night.
Log_2023-04-12T20_13_50-10716.log
(571.34 KiB) Downloaded 38 times
Log_2023-04-12T19_12_37-9156.zip
(210.6 KiB) Downloaded 36 times


DON
Last edited by donboy on Thu Apr 13, 2023 10:58 pm, edited 1 time in total.
User avatar
Menno555
Posts: 1060
Joined: Mon Apr 20, 2020 2:19 pm
Location: The Netherlands
Contact:

Re: Recentering after Plate Solve not working

#5

Post 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 999 times
Attachments
Log_2023-04-13T21_57_49-3628.zip
(79.11 KiB) Downloaded 29 times
Oberon510
Posts: 76
Joined: Wed Apr 21, 2021 5:15 pm

Re: Recentering after Plate Solve not working

#6

Post 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
User avatar
admin
Site Admin
Posts: 13350
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Recentering after Plate Solve not working

#7

Post 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
User avatar
admin
Site Admin
Posts: 13350
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Recentering after Plate Solve not working

#8

Post 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
Oberon510
Posts: 76
Joined: Wed Apr 21, 2021 5:15 pm

Re: Recentering after Plate Solve not working

#9

Post by Oberon510 »

Many thanks Robin

Regards,
Ken
donboy
Posts: 256
Joined: Sat Mar 25, 2017 1:57 am

Re: Recentering after Plate Solve not working

#10

Post by donboy »

Tnx,

Don
Post Reply