New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lx200_10micron not correctly reporting the parking status #1582
Comments
hi Jasem, |
Something must be resetting the TrackState then. I suspect in ReadScopeStatus starting in like 467. It could be the are are in parking but the state is overwritten here. |
Just a note: I'll try to reproduce and report back. |
hi d33psky, Ferrante |
Hi Ferrante, yes please when I have something to test ... I'm still poking in the dark with this issue. |
I'm seeing strange parking issues inside of Scheduler. Essentially it doesn't park, sometimes. Is there something I can do to help? What logs do you need me to gather? I should have clear skies all night. |
Enable mount + scheduler logging. |
Wilco. Thanks Jasem.
…On Fri, Apr 1, 2022 at 9:52 AM Jasem Mutlaq ***@***.***> wrote:
Enable mount + scheduler logging.
—
Reply to this email directly, view it on GitHub
<#1582 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARNSY3OPEMLWB7XF7ZLHEPLVC4ET3ANCNFSM5K6KGFJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hey Jasem, So the issue seems to be that INDI can't tell the 10u to unpark. When I try to let the scheduler do it, it just saying unparking and repeats itself over and over again. If I go into MW4 and tell it to unpark and then run scheduler, it'll work. But, if scheduler seems a delay and tells it to park... it'll go into that cycle and fail. Not quite sure what the fix is. I know MW4 is 'native' speaking to the mount. I don't know what happened to the driver that would cause this. I hope the logs help; I'll keep gathering them till you tell me not to. If there is something specific you guys need to see, please let me know and I'll do it. It's clear for the next few days at least. Chris [log_07-53 log_18-40-14.txt log_19-48-05.txt |
I see this in one of the logs
I've never seen that before. ?! The |
That is what I saw on the messages as well. I tried manually unparking
using the buttons in the mount module and via the INDI control panel and
could not recover. However, MW4 uses a different pathway to talk to the
mount.
Thanks for looking into it.
Chris
…On Mon, Apr 4, 2022 at 7:16 AM d33psky ***@***.***> wrote:
I see this in one of the logs
[2022-04-01T21:00:16.549 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Scheduler is awake. Jobs shall be started when ready..."
[2022-04-01T21:00:19.557 CDT INFO ][ org.kde.kstars.ekos.scheduler] - Unparking mount in progress...
[2022-04-01T21:00:19.560 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Unparking. "
[2022-04-01T21:00:19.561 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is unparked. "
[2022-04-01T21:00:19.564 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Unparked "
[2022-04-01T21:00:19.825 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is parked. "
[2022-04-01T21:00:19.826 CDT INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "11h 57m 43s" DE: " 89° 45' 17\""
[2022-04-01T21:00:19.828 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Parked "
[2022-04-01T`
[2022-04-01T21:00:20.987 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-04-01T21:00:22.048 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-04-01T21:00:23.058 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
...
I've never seen that before. ?!
The 21:00:19.825 message [ org.kde.kstars.indi] - LX200 10micron :
"[INFO] Mount is parked. " should be the clue. No idea yet why this
happens.
The mount got polled a second later where it reported being unparked with :
21:00:20.964 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO]
Gstat changed from 5 to 0 "
So the end state here is that the driver knew that the mount was unparked,
yet the scheduler did not know this.
—
Reply to this email directly, view it on GitHub
<#1582 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARNSY3OYTGKILVI7LNZC4D3VDLMSJANCNFSM5K6KGFJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm on firmware 3.0.4 if that matters.
…On Mon, Apr 4, 2022 at 9:34 AM C Madson ***@***.***> wrote:
That is what I saw on the messages as well. I tried manually unparking
using the buttons in the mount module and via the INDI control panel and
could not recover. However, MW4 uses a different pathway to talk to the
mount.
Thanks for looking into it.
Chris
On Mon, Apr 4, 2022 at 7:16 AM d33psky ***@***.***> wrote:
> I see this in one of the logs
>
> [2022-04-01T21:00:16.549 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Scheduler is awake. Jobs shall be started when ready..."
>
> [2022-04-01T21:00:19.557 CDT INFO ][ org.kde.kstars.ekos.scheduler] - Unparking mount in progress...
>
> [2022-04-01T21:00:19.560 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Unparking. "
>
> [2022-04-01T21:00:19.561 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is unparked. "
>
> [2022-04-01T21:00:19.564 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Unparked "
>
> [2022-04-01T21:00:19.825 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is parked. "
>
> [2022-04-01T21:00:19.826 CDT INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "11h 57m 43s" DE: " 89° 45' 17\""
>
> [2022-04-01T21:00:19.828 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Parked "
>
> [2022-04-01T`
>
> [2022-04-01T21:00:20.987 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
>
> [2022-04-01T21:00:22.048 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
>
> [2022-04-01T21:00:23.058 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
>
> ...
>
>
> I've never seen that before. ?!
>
> The 21:00:19.825 message [ org.kde.kstars.indi] - LX200 10micron :
> "[INFO] Mount is parked. " should be the clue. No idea yet why this
> happens.
> The mount got polled a second later where it reported being unparked with
> :
> 21:00:20.964 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO]
> Gstat changed from 5 to 0 "
> So the end state here is that the driver knew that the mount was
> unparked, yet the scheduler did not know this.
>
> —
> Reply to this email directly, view it on GitHub
> <#1582 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARNSY3OYTGKILVI7LNZC4D3VDLMSJANCNFSM5K6KGFJQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Do you guys need me to do anything else with this? How do we tell the
scheduler team there's an issue?
…On Mon, Apr 4, 2022 at 9:39 AM C Madson ***@***.***> wrote:
I'm on firmware 3.0.4 if that matters.
On Mon, Apr 4, 2022 at 9:34 AM C Madson ***@***.***> wrote:
> That is what I saw on the messages as well. I tried manually unparking
> using the buttons in the mount module and via the INDI control panel and
> could not recover. However, MW4 uses a different pathway to talk to the
> mount.
>
> Thanks for looking into it.
>
> Chris
>
>
> On Mon, Apr 4, 2022 at 7:16 AM d33psky ***@***.***> wrote:
>
>> I see this in one of the logs
>>
>> [2022-04-01T21:00:16.549 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Scheduler is awake. Jobs shall be started when ready..."
>>
>> [2022-04-01T21:00:19.557 CDT INFO ][ org.kde.kstars.ekos.scheduler] - Unparking mount in progress...
>>
>> [2022-04-01T21:00:19.560 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Unparking. "
>>
>> [2022-04-01T21:00:19.561 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is unparked. "
>>
>> [2022-04-01T21:00:19.564 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Unparked "
>>
>> [2022-04-01T21:00:19.825 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is parked. "
>>
>> [2022-04-01T21:00:19.826 CDT INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "11h 57m 43s" DE: " 89° 45' 17\""
>>
>> [2022-04-01T21:00:19.828 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Parked "
>>
>> [2022-04-01T`
>>
>> [2022-04-01T21:00:20.987 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
>>
>> [2022-04-01T21:00:22.048 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
>>
>> [2022-04-01T21:00:23.058 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
>>
>> ...
>>
>>
>> I've never seen that before. ?!
>>
>> The 21:00:19.825 message [ org.kde.kstars.indi] - LX200 10micron :
>> "[INFO] Mount is parked. " should be the clue. No idea yet why this
>> happens.
>> The mount got polled a second later where it reported being unparked
>> with :
>> 21:00:20.964 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO]
>> Gstat changed from 5 to 0 "
>> So the end state here is that the driver knew that the mount was
>> unparked, yet the scheduler did not know this.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#1582 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/ARNSY3OYTGKILVI7LNZC4D3VDLMSJANCNFSM5K6KGFJQ>
>> .
>> You are receiving this because you commented.Message ID:
>> ***@***.***>
>>
>
|
This is not an issue in Ekos, the driver should handle parking and unparking gracefully. Not sure if @d33psky has any suggestion on how to resolve this issue. |
Anyway I can help in resolving this issue? @d33psky any suggestions on how to proceed? |
I’m not a programmer. If you need anything tested I can do that easily enough.
…Sent from my iPhone
On Jun 9, 2022, at 03:08, Jasem Mutlaq ***@***.***> wrote:
Anyway I can help in resolving this issue? @d33psky any suggestions on how to proceed?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Maybe this would make the system more robust: the unpark command should not return either until the periodic poll confirms the mount is unparked, or until 1 poll period has passed. |
from what I understood (mainly thanks to Wolfgang) it's simply that in the driver the 'park' light is not in sync with the messages and the mount status. I think that mads0100 adds here another issue but not sure is related to this. ferrante |
The light is incorrect. I don’t know exactly how scheduler determines if the mount is unparked or not… I just know that how it is now doesn’t give it the right value. And it’s only going from park to unpark. It can park the mount without issue.
…Sent from my iPhone
On Jun 9, 2022, at 17:41, Ferrante Enriques ***@***.***> wrote:
from what I understood (mainly thanks to Wolfgang) it's simply that in the driver the 'park' light is not in sync with the messages and the mount status.
E.g. the mount is parking, the log shows 'parking' but the light is green (should be yellow until mount is parked).
The issue is that the scheduler reads the light and not the log. So it parks the dome while mount is still moving.
I think that mads0100 adds here another issue but not sure is related to this.
ferrante
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
I'm still experiencing this with the newest release. It's become more unstable; when I polar aligned tonight, it would take an image, I would manual slew (it doesn't give me speeds and doesn't work), after a few seconds it would decide to park itself. I couldn't figure out a reason for why; I tried killing MW4; tried unparking with the mount module and Ekos control panel. If I let it park and then slewed back to where it was, it often times didn't do it again. But, sometimes it did. Super frustrating. If you need logs or whatever please ask. It's still doing the same thing where it hops between parking states. I wish it would just poll the mount instead of trying to 'force' whatever state is in Ekos; Ekos seems to have an issue with telling the mount to 'unpark' and 'track'. |
Hi mads0100, yes mount logs would be good because what you describe sounds different from what was pasted here on April 4th, as such it may be a new problem. |
I'll post the log files tonight; apparently I never turned them off so I
had some good data. I did make some progress last night; if I go into Ekos
and go to the mount module and use the 'track on' button, it'll unpark the
mount and start tracking. The INDI control panel will show correctly and it
showed correctly in MW4. But, if I tried to use the INDI control panel
options to unpark, it doesn't update in Ekos or in MW4 correctly. If I use
MW4; it doesn't update in INDI/Ekos either.
MW4 is the heat; are you on a Pi? I have a really hard time with exposure
length. If I take less than 20 second exposures (C11 @ 1950mm or Tak106 @
530mm), it will fail to solve using ASTAP/Astrometry.net fairly
consistently. Complete side bar, but I don't know many users of Ekos with
a 10u.
…On Sun, Aug 14, 2022 at 12:19 AM d33psky ***@***.***> wrote:
Hi mads0100, yes mount logs would be good because what you describe sounds
different from what was pasted here on April 4th, as such it may be a new
problem.
I've never seen the mount park by itself like how you described. Even if
you have MW4 up and running next to EKOS that should not happen. I use MW4
myself too to make pointing models, it's awesome.
—
Reply to this email directly, view it on GitHub
<#1582 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARNSY3MUJG7XQNBPWTPDL7LVZB6XNANCNFSM5K6KGFJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
So you're saying from a parked position you press 'Tracking -> on' which unparks and starts tracking. (I never tried that, I always select 'Parking -> Unpark' to unpark). And when from a parked position you press 'Parking -> Unpark' nothing happens in Either EKOS or MW4 ? That is weird because that definitely works for me. If I do not do this step then I cannot perform GOTOs. I'll have to check what happens if I unpark from MW4, whether INDI sees that. Gstat should change at least. I'm on a laptop, not on a PI. In MW4 I use 4x4 binned 2s exposures at 1657mm with an asi1600 and those all resolve with success within 2 to 3 seconds or so. |
I got behind and didn't get to the logs, I'll try again tonight.
That is what worked for me in that sequence of events after I'd been
playing with it for a few hours that night.
Last night, Track 'on' did not work for me. I also couldn't get unpark to
work; it would think about it and go back to 'parked' each time. But, if I
went into MW4, and unparked it, then went back to the mount module and
clicked 'unpark', that would work.
On the other side of it, it can issue a 'park' command via the scheduler
and that does park the mount as I requested.
I'm wondering if it's related to being on a Pi for some reason. I suppose
the logs will help; I'll definitely try to get those uploaded for the last
3 nights.
Thanks for talking me through it; I don't have any buddies using
Stellarmate/10u and it's helpful.
…On Tue, Aug 16, 2022 at 12:07 PM d33psky ***@***.***> wrote:
So you're saying from a parked position you press 'Tracking -> on' which
unparks and starts tracking. (I never tried that, I always select 'Parking
-> Unpark' to unpark).
And when from a parked position you press 'Parking -> Unpark' nothing
happens in Either EKOS or MW4 ? That is weird because that definitely works
for me. If I do not do this step then I cannot perform GOTOs.
I'll have to check what happens if I unpark from MW4, whether INDI sees
that. Gstat should change at least.
I'm on a laptop, not on a PI. In MW4 I use 4x4 binned 2s exposures at
1657mm with an asi1600 and those all resolve with success within 2 to 3
seconds or so.
—
Reply to this email directly, view it on GitHub
<#1582 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARNSY3LCGZ6STP73GHXFHNLVZPDFXANCNFSM5K6KGFJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi all, I looked into the lx200_10micron and its parent classes. It seems that the TrackState is correctly set in lx200_10micron but the TrackStateSP is not updated anywhere in the class. TrackStateSP is not managed by the parent class inditelescope either because I guess that the different TrackStates are mount specific: in fact other lx200 classes have extensive code to set TrackStateSP e.g. lx200_OnStep.cpp from line 2178 on. The issue is then that the Scheduler reads TrackStateSP and not TrackState to trigger actions. Does this make sense? |
TrackState is updated in NewRaDec in INDI::Telescope so that's Ok. Regarding scheduler, that's a different topic, but I don't see where TrackStateSP is used? can you point it out? |
hi Jasem, What I see in the log is that the trackState is updated correctly in the driver: ferrante |
LMK if you guys need me to perform specific tests. Thanks for looking into
this more Ferrante.
Chris
…On Mon, Oct 3, 2022 at 4:46 AM Ferrante Enriques ***@***.***> wrote:
hi Jasem,
I didn't looked into the Scheduler code. My comment was based on the log
and what Wolfgang commented in the forum thread:
https://indilib.org/forum/mounts/10549-10micron-lx200-different-parking-behavior-when-using-scheduler-or-indi-driver.html#78897
What I see in the log is that the trackState is update correctly in the
driver:
"[INFO] Gstat changed from 0 to 2 " (from tracking to parking)
but the Scheduler ignores it and immediately (1sec after) logs the status
as parked:
[ org.kde.kstars.ekos.scheduler] - "Mount parked."
ferrante
—
Reply to this email directly, view it on GitHub
<#1582 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARNSY3JI4WUGMLN4R7FN6RLWBKTQFANCNFSM5K6KGFJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
You can park and watch the log for the state changes. Just INDI, not related to Ekos. |
Logs attached for the last... long time. They all had mount/INDI enabled. |
@d33psky Any ideas given the logs above? |
Oh, I missed those. Looking through them RN. I see several weird things that make no sense. Will get back later with a summary that hopefully provides the needed clue. |
Ok I think I scraped some clue from the logs : Here we see INDI connecting to a parked mount, perfectly normal :
The driver info gets picked up by the higher mount class :
Then the scheduler considers 3 targets and starts with sleeping :
Then something weird happens. There are NO indi driver log lines, but out of the blue this is logged :
That looks bad. I do not know what it means or if it even has consequences. With the scheduler awakes at the announced timeslot the mount is instructed to unpark :
But right after that the driver reports the mount is parked again :
This is a bug. And I see no Gstat lines anywhere near these lines. What is probably a consequence for the scheduler about this unintended state change, it now logs :
every second, which appears to have stopped by itself almost 20 minutes later (no idea why) :
And again a toggle from unparked to parked state out of the blue :
There are 0 Gstat lines here since the initialization at 2022-10-03T18:40:19.843 . This part
need to be reliable. This is its implementation :
And the LX200 protocol documentation shows that the command #:PO# returns We should make this function wait for a max specified time while we probe the So the mount gets a command to unpark from the driver, yet it never arrives or Ferrante: Is this an ethernet connection or a wifi one (between the device driver -- Hans |
hi Hans, In any case my mount has a eth connection and I experienced the same issue on two different mounts (gm1000 and gm2000). |
Hans,Ethernet. Thank you for looking at my logs!!ChrisSent from my iPhoneOn Nov 26, 2022, at 06:17, d33psky ***@***.***> wrote:
Ok I think I scraped some clue from the logs :
Here we see INDI connecting to a parked mount, perfectly normal :
[2022-10-03T18:40:19.843 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Gstat initialized at 5 "
[2022-10-03T18:40:19.845 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is parked. "
The driver info gets picked up by the higher mount class :
[2022-10-03T18:40:20.279 CDT INFO ][ org.kde.kstars.ekos.mount] - "Telescope info updated successfully."
[2022-10-03T18:40:21.016 CDT DEBG ][ org.kde.kstars.ekos.mount] - Mount status changed from "Idle" to "Parked"
Then the scheduler considers 3 targets and starts with sleeping :
[2022-10-03T18:47:27.381 CDT DEBG ][ org.kde.kstars.ekos.scheduler] - "Greedy Scheduler scheduling next job IC 1805 at 20:19"
[2022-10-03T18:47:28.452 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Sleeping until observation job IC 1805 is ready at Mon Oct 3 20:19:27 2022..."
Then something weird happens. There are NO indi driver log lines, but out of the blue this is logged :
[2022-10-03T18:53:18.120 CDT DEBG ][ org.kde.kstars.ekos.mount] - Mount status changed from "Parked" to "Error"
[2022-10-03T18:53:18.128 CDT DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 6
[2022-10-03T18:53:20.119 CDT DEBG ][ org.kde.kstars.ekos.mount] - Mount status changed from "Error" to "Parked"
[2022-10-03T18:53:20.182 CDT DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 5
[2022-10-03T20:19:27.118 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Scheduler is awake. Jobs shall be started when ready..."
That looks bad. I do not know what it means or if it even has consequences.
I consider this a bug, but it is outside the LX200 10micron device driver.
With the scheduler awakes at the announced timeslot the mount is instructed to unpark :
[2022-10-03T20:19:30.122 CDT DEBG ][ org.kde.kstars.ekos.scheduler] - "Checking Startup State (4)..."
[2022-10-03T20:19:30.123 CDT DEBG ][ org.kde.kstars.indi] - ISD:Telescope: UnParking...
[2022-10-03T20:19:30.123 CDT INFO ][ org.kde.kstars.ekos.scheduler] - Unparking mount in progress...
[2022-10-03T20:19:30.126 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Unparking. "
[2022-10-03T20:19:30.127 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is unparked. "
[2022-10-03T20:19:30.134 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Unparked "
But right after that the driver reports the mount is parked again :
[2022-10-03T20:19:31.099 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is parked. "
[2022-10-03T20:19:31.100 CDT INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "19h 00m 00s" DE: " 89° 49' 31\""
[2022-10-03T20:19:31.102 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Parked "
This is a bug. And I see no Gstat lines anywhere near these lines.
What is probably a consequence for the scheduler about this unintended state change, it now logs :
[2022-10-03T20:19:31.122 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:19:32.122 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:19:33.122 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:19:34.122 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:19:35.123 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
every second, which appears to have stopped by itself almost 20 minutes later (no idea why) :
[2022-10-03T20:37:40.123 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:37:41.282 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:37:42.240 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:37:43.197 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:37:44.186 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount parked."
[2022-10-03T20:37:45.066 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Unparking. "
[2022-10-03T20:37:45.068 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is unparked. "
[2022-10-03T20:37:45.070 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Unparked "
[2022-10-03T20:37:45.119 CDT DEBG ][ org.kde.kstars.ekos.mount] - Mount status changed from "Parked" to "Idle"
[2022-10-03T20:37:45.125 CDT DEBG ][ org.kde.kstars.ekos.scheduler] - Mount State changed to 0
[2022-10-03T20:37:45.149 CDT INFO ][ org.kde.kstars.ekos.scheduler] - "Mount unparked."
And again a toggle from unparked to parked state out of the blue :
[2022-10-03T20:37:45.185 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is parked. "
[2022-10-03T20:37:45.186 CDT INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "20h 00m 00s" DE: " 89° 49' 31\""
[2022-10-03T20:37:45.188 CDT INFO ][ org.kde.kstars.indi] - WatchDog : "[INFO] Mount is Parked "
[2022-10-03T20:37:46.119 CDT DEBG ][ org.kde.kstars.ekos.mount] - Mount status changed from "Idle" to "Parked"
There are 0 Gstat lines here since the initialization at 2022-10-03T18:40:19.843 .
This means the mount never actually unparked.
This part
[2022-10-03T20:19:30.126 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Unparking. "
[2022-10-03T20:19:30.127 CDT INFO ][ org.kde.kstars.indi] - LX200 10micron : "[INFO] Mount is unparked. "
need to be reliable. This is its implementation :
bool LX200_10MICRON::UnPark()
{
// #:PO#
// Unpark
// Returns:nothing
LOG_INFO("Unparking.");
if (setStandardProcedureWithoutRead(fd, "#:PO#") < 0)
{
return false;
}
TrackState = SCOPE_IDLE;
SetParked(false);
return true;
}
And the LX200 protocol documentation shows that the command #:PO# returns
nothing which makes this function a happy-path implementation. I hate those.
We should make this function wait for a max specified time while we probe the
actual (un)park state with Gstat until the desired state is confirmed by the
mount. Which we already know from the logs never happens (no Gstat lines).
So the mount gets a command to unpark from the driver, yet it never arrives or
is never acted upon. The driver should of course handle this better, but the
real problem seems to be in the physical communication. This also explains why
I have never seen issues like these before.
Ferrante: Is this an ethernet connection or a wifi one (between the device driver
and the mount) ?
-- Hans
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
ferrante: I have a PR in prep for forced ParkSP handling from the driver. Waiting for clear weather to be able to test. |
great news Hans! thanks |
Thank you. Sent from my iPhoneOn Nov 27, 2022, at 10:42, d33psky ***@***.***> wrote:
ferrante: I have a PR in prep for forced ParkSP handling from the driver. Waiting for clear weather to be able to test.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Clouds but no rain, so I disabled the dome locking safety feature as that depends on my weather station to test. Here's the results :
I have not tested a schedule yet but this yellow light is at least an improvement. |
Is there a way to get this driver? I can run drills and pass logs for you. I’m pretty comfortable at getting it to fail. Sent from my iPhoneOn Nov 28, 2022, at 16:16, d33psky ***@***.***> wrote:
Clouds but no rain, so I disabled the dome locking safety feature as that depends on my weather station to test.
Here's the results :
start in parked state: green
This is done in the periodic LX200_10MICRON::ReadScopeStatus() case GSTAT_PARKED
park when parked: white/off
This is done in inditelescope.cpp after line 1104 if (toPark && TrackState == SCOPE_PARKED
unpark when not allowed via dome: red
This is done in inditelescope.cpp after line 1093 if (toPark == false && isLocked())
parking: yellow
This is NEW in LX200_10MICRON::Park() via ParkSP.s
parked: green
This is done in the periodic LX200_10MICRON::ReadScopeStatus() case GSTAT_PARKED
I have not tested a schedule yet but this yellow light is at least an improvement.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Hi Hans, All the other new features will improve the reliability of the driver. Thanks for taking care of that. As soon as you submit the PR and it's merged I will be able to test it. Ferrante |
Hi Chris, I have not made a PR yet but if you're proficient in compiling stuff yourself and in a big hurry then you can use this branch on my fork of the indi repo to get to the code RN: https://github.com/d33psky/indi/tree/HL-issue1582-a Hi Ferrante, yes I did a several seconds long slew initially to test a long slew park, and for that I had to open the roof so had to wait for the rains to pass. I can make a PR RN of course but the happy-path unpark is not fixed up properly yet. And I'm not sure how to even; there is a Gstat state 3 for 'unparking' but I never see it (it always goes straight from 5 to 0 for my setup) :
It's annoying the mount does not signal when it is done unparking, maybe I can derive it from a tracking state (0), or a special state (like 6 or 7 or 8 up to 99) |
I've made it a PR #1787 |
Thank you :)
…On Thu, Dec 15, 2022 at 8:48 AM d33psky ***@***.***> wrote:
I've made it a PR #1787 <#1787>
—
Reply to this email directly, view it on GitHub
<#1582 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARNSY3IIN3THBL53X3GZBZLWNMVSTANCNFSM5K6KGFJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
is this confirmed fixed now? |
I'm still testing it. Still I have to check the behavior from the scheduler. |
I'm marking this as fixed. Please reopen if not working. |
Is the new driver in the release? I didn’t realize it was moved. Sent from my iPhoneOn Jan 14, 2023, at 23:50, Jasem Mutlaq ***@***.***> wrote:
I'm marking this as fixed. Please reopen if not working.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
When parking a 10micron mount the light representing the park status never changes.
It is always green, never busy (yellow) even when the mount is slewing.
The issue was tracked down by Wolfgang in this forum thread where we provide some examples and details:
https://indilib.org/forum/mounts/10549-10micron-lx200-different-parking-behavior-when-using-scheduler-or-indi-driver.html
The issue is more than the color itself: the scheduler for example relies on this status to close the dome/roof.
When the scheduler issues the command to park the mount, immediately after it sees the mount as parked (while the mount is still moving) and the roof begins dangerously to move.
I do not know if this affects 10micron only or all the lx200 family.
Ferrante
The text was updated successfully, but these errors were encountered: