Plate Solve Error?

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
rac19
Posts: 150
Joined: Wed Apr 21, 2021 2:01 pm

Re: Plate Solve Error?

#21

Post by rac19 »

I did some testing tonight and found that if I use Plate Solve and Sync Only (in Sharpcap) and initiate a GoTo from CPWI, the target is reliably centred.

If I use Plate Solve, Sync and Recenter Target, there is a definite offset which accumulates with repetition.

It's a little puzzling really.

It does seem that Plate Solve and Sync + GoTo Target is required, GoTo alone doesn't get the target back to centre.
User avatar
admin
Site Admin
Posts: 17610
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate Solve Error?

#22

Post by admin »

Hi,

I wonder if the fact that the GOTO comes so quickly after the sync in the normal approach somehow confuses CPWI - maybe it processes the GOTO before the sync is fully applied or similar?

There is currently a 1 second delay between the sync and the GOTO, but maybe that is insufficient in this case. Unfortunately there is no end-user way of adjusting this delay right now.

cheers,

Robin
rac19
Posts: 150
Joined: Wed Apr 21, 2021 2:01 pm

Re: Plate Solve Error?

#23

Post by rac19 »

Hi Robin,

There is a delay of a few seconds while switching from Sharpcap to CPWI and clicking the GoTo button, so maybe that's it. I can't particularly think why, but it might need a longer, or even configurable pause. Five seconds wouldn't concern me as it would be insignificant compared to the time taken for plate solving and settling after the GoTo.

Last night, with a tight ROI, I had to re-centre every 3 minutes (which I think is excessive) so an automated sequence would be very helpful. PHD guiding would be even better but there is definitely a bug in either CPWI or the Evolution firmware that causes trouble after a few minutes if guiding.

Best regards,
Richard
rac19
Posts: 150
Joined: Wed Apr 21, 2021 2:01 pm

Re: Plate Solve Error?

#24

Post by rac19 »

Hi Robin,

I don't know if it is relevant, but the link below shows one of many discussions relating to the use of RCAL (recalibrate) versus SYNC (synchronise). SYNC apparently takes side of pier into consideration (not relevant for Alt/Az) and RCAL simply does what it says. This particular software substitutes RCAL for SYNCH. Other software has a tick box to do optionally convert SYNCH to RECAL. Of course, if you are already in fact using RECAL, this is not going to be new information.

I should mention to that the Sharpcap message bar mentions the offset regardless of whether Synch and Recentre Target or Synch and Recentre Offset is selected. This may not be significant, I just thought that I would mention it. I am not sure what the "offset" actually represents, by the way.

As for increasing the delay between SYNCH/RECAL and GoTo to more than 1 second, it can't do any harm but you would think that 1 second would be plenty of time.

https://www.gralak.com/apdriver/help/rc ... s_sync.htm
Attachments
SYNC.jpeg
SYNC.jpeg (179.05 KiB) Viewed 2519 times
User avatar
admin
Site Admin
Posts: 17610
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate Solve Error?

#25

Post by admin »

Hi,

'Recal' is (I think) something specific to the Astrophysics mount, rather than something that you can trigger via ASCOM. ASCOM just has the option to command a 'Sync' and it's up to the mount driver how it is implemented. So, from my side I cannot make any changes related to this, but it is possible that any of these settings that apply to the Sync behaviour in the driver might be causing the issue.

The offset shown in SharpCap is the distance between where the mount thinks it is pointing and where the plate solve calculated as the center of the field of view, measured in degrees.

cheers,

Robin
rac19
Posts: 150
Joined: Wed Apr 21, 2021 2:01 pm

Re: Plate Solve Error?

#26

Post by rac19 »

Hi Robin,

Thanks for humouring me on a subject about which you have a much greater knowledge.

I took the trouble to check some ASCOM Telescope methods and properties at ascom.org and it does seem that the documentation is refreshingly clear. I see that there are TargetRightAccension and TargetDeclination properties which can be set by CPWI and read (using get) by Sharpcap so it's hard to see how errors could occur.

An area of possible inaccuracy could be the way CPWI deals with the target RA/Dec coordinates for an Alt/Az mount on a wedge which may or may not be precisely polar aligned. All of that is beyond Sharpcap's control of course.

Best regards,
Richard
User avatar
admin
Site Admin
Posts: 17610
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate Solve Error?

#27

Post by admin »

Hi Richard,

The ASCOM spec isn't bad, although there are some abiguous parts of it. One problem tends to be that device manufacturers may not read the spec properly and may introduce interesting and unique 'features' in their drivers that are not as intended by the spec. This is particularly common in error cases - there are lots of drivers out there that do not handle errors in the way that they are supposed to :(

Actually, SharpCap doesn't use the TargetCoordinates of the ASCOM driver directly, instead using the 'SyncToCoordinates' method for syncing and 'SlewToCoordinatesAsync' for slewing... They achieve the same goals and are often implemented by the same code within an ASCOM driver as the versions that use the target coordinates like SyncToTarget...

cheers,

Robin
rac19
Posts: 150
Joined: Wed Apr 21, 2021 2:01 pm

Re: Plate Solve Error?

#28

Post by rac19 »

Hi Robin,

Does Sharpcap read the Target Coordinates or assume that the current coordinates (i.e. where the mount thinks it is pointed) as parameters for Slew to Coordinates? I wonder too if CPWI uses Slew to Target or Slew to Coordinates. I don't have a particular theory in mind, just wondering out loud.

Best regards,
Richard
rac19
Posts: 150
Joined: Wed Apr 21, 2021 2:01 pm

Re: Plate Solve Error?

#29

Post by rac19 »

Another subject of discussion on Cloudy Nights, relating to CPWI and Sharpcap, relates to J2000 and JNow. They seem to be saying that CPWI displays J2000 but uses JNow for ASCOM communications. Now doubt you are well aware of such discussions.
User avatar
admin
Site Admin
Posts: 17610
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Plate Solve Error?

#30

Post by admin »

Hi,

The ASCOM driver should report which set of co-ordinates that it uses (ie J2000 or JNOW). SharpCap will assume that the ASCOM driver is telling the truth and convert co-ordinates accordingly. The most common case is that the ASCOM driver and the mount use JNOW, so SharpCap converts J2000 co-ordinates for a target from the catalog to JNOW when commanding the mount to move. Similarly SharpCap will take results from plate solving (which are J2000) and convert to JNOW before sending the sync command to the mount.

As long as the ASCOM driver actually implements the co-ordinates that it claims then it should be fine. It's possible that CPWI might display J2000 on the handset/on screen display, but work in JNOW for ASCOM. If that was the case then the co-ordinates shown in SharpCap would differ from those shown in the CPWI window (SharpCap will show JNOW).

The API methods SharpCap uses for slew and sync both take the co-ordinates as parameters, so the state of the target co-ordinates before the action *should* be irrelevant (providing the ASCOM driver is working as planned). The methods are supposed to set the target co-ordinates properties of the driver, but SharpCap doesn't care about that - it never reads those properties.

cheers,

Robin
Post Reply