×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

indi_lx200_10micron driver: small issue setting Long in scope location [SOLVED]

  • Posts: 249
  • Thank you received: 62
On a 10Micron mount, when entering a Longitude value in 'Site Management' the driver updates the mount coordinates but skips the seconds (ss) value.
For example, entering '02:38:30' in Ekos, will results in 'E002 39 00' on the 10micron handpad.

For Latitude the behavior is different: seconds are stored correctly.
Looking at the log, the reason seems to be different decimal places for Long (5) and Lat (only 2) when setting the Observer location.

<code>
[2020-11-27T19:03:52.453 CET INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Site location updated to Lat 37:44:24 - Long 2:38:30 "
[2020-11-27T19:03:52.458 CET INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Observer location updated: Longitude (2.63556) Latitude (37.74) "
</code>

Tested using Kstars 3.50, Indi 1.8.7 but was also on previous version.

I wasn't able to find in the source code where the Observer location is set. It's not in the telescope / mount drivers.

Ferrante
Last edit: 3 years 2 months ago by Ferrante Enriques.
3 years 4 months ago #63499

Please Log in or Create an account to join the conversation.

  • Posts: 85
  • Thank you received: 40
Adding a cross-reference: this issue is tracked here github.com/indilib/indi/issues/1270

I have the beginnings working too, here's some debug output that shows seconds and a fraction :
```
#:U2#
#:Gg#
-005:31:46.2#
```

The PR with the fix : github.com/indilib/indi/pull/1296
The following user(s) said Thank You: Ferrante Enriques
Last edit: 3 years 3 months ago by Hans.
3 years 3 months ago #64905

Please Log in or Create an account to join the conversation.

  • Posts: 249
  • Thank you received: 62
thanks Hans for taking the time to fix this!
I will test as soon as the PR is merged and build (i cannot build on my remote system where the mount is)

Ferrante
3 years 3 months ago #64921

Please Log in or Create an account to join the conversation.

  • Posts: 85
  • Thank you received: 40
The Pull Request is merged into the master branch. This means that ultra high precision geographic coordinates are now part of INDI and will be available in the next build.
The following user(s) said Thank You: Ferrante Enriques
3 years 2 months ago #65206

Please Log in or Create an account to join the conversation.

  • Posts: 249
  • Thank you received: 62
Installed the latest build and tested the new geographic coordinates setting.
Now both Lat and Long now have s.f precision.
Ekos was set as 'Mount updates Kstars' with time and location checked but this setting should not affect the behavior.
Also used the [-180, +180] notation for Long.

Thanks Hans for taking care of that!

Ferrante
3 years 2 months ago #65264
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85
  • Thank you received: 40
Cool that it works for you.
I have not found the cause for Latitude roundings (like your 23.9 to 24.0) . I saw it only in EKOS, and could not reproduce in dcd . py (dcd . py did not round)
update: added spaces around the dot in dcd . py so that it's not made a URL :/
Last edit: 3 years 2 months ago by Hans.
3 years 2 months ago #65267

Please Log in or Create an account to join the conversation.

Time to create page: 0.802 seconds