Hi James,

I have a strange behavior with OnStep.
1) Site Management Tab
2) Set a Site name
3)When selecting another Site Onstep Crashes

I am trying to debug but found nothing so far
Any idea?

Read More...

I found three issues:

:Gm# is not anymore implemented and replaced by :GX96#

:GX96# does not return a value since threr is may be a typo in OnStepX "Goto.command.cpp
case '6': reply[0] = "EWB"[preferredPierSide - 1]; reply[1] = 0; break; // preferred pier side

:GX90# must effectively be called by
getCommandSingleCharResponse(PortFD, GuideValue, ":GX90#"); //old getCommandString

with these modifications it works fine , everything responds in "real time"

Read More...

@ Khalid and James,

I am just playing around to test some things. If it can help to discover here and there some parts not working well I guess it could help.

In my logs the 5 sec time is more related to Gm#, :GX90# and :GX96# but the issue is for sure (but I may be wrong) related to the driver itself not to OnStep.
I will try to investigate around that.

Now one thing is sure, OnStepX is far from "production" state but looks very promising.
I experienced also a lot of thing and reported to Howard and he fixed vert quickly.
But here it is really Indi Driver related I believe.

 

Read More...

OnStep with OnStepX 10.03k

I am starting testing OnSteX and even if things seem to work so far there is an annoying thing with polling.
The polling interval stays at 16s whatever setting I use under "Options" "Polling Period".

The same driver does behave normally with OnStep 4.24j polling 1s or even 500ms if I want.

I would like to know if somebody else observed this or is working on that issue before I start changing the code.

Read More...

@James and Serge,

I could reproduce your strange behavior.
After OnStep ColdStart and if Telescope was Parked I receive the Status "nNPH" which is At Home and Parked.
I checked OnStep response on :GR# and :GD# and effectively the coordinates are wrong RA=0 DE=0
After unparking whatver I do it in a terminal or from Kstars I get the right Parking RA/DE

So it is definitively not related to the driver.

Have a try to connect with my driver after OnStep Coldstart

Read More...

Serge,

Strange, I just made a test to reproduce your observation.
When I start Kstars and then Ekos I see the telescope where it should be and I have no problem with unparking.
Which xml files are you speaking about?

Read More...

James,

First test of your onw-goto is promising.
Everything worked fine.
I continue testing and review your code

2021-07-20T18:17:10 Shutdown complete.
2021-07-20T18:17:10 Ekos stopped.
2021-07-20T18:17:09 INDI devices disconnected.
2021-07-20T18:17:06 Dome parked.
2021-07-20T18:16:49 Parking dome...
2021-07-20T18:16:48 Mount parked.
2021-07-20T18:16:47 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:46 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:45 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:44 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:43 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:42 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:41 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:40 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:39 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:38 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:37 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:36 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:35 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:34 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:33 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:32 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:31 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:30 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:29 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:28 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:27 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:26 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:25 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:24 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:23 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:22 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:21 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:20 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:19 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:18 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:17 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:16 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:15 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:14 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:13 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:12 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:11 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:10 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:09 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:08 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:07 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:06 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:05 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:04 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:03 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:02 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:01 Warning: mount park operation timed out on last attempt.
2021-07-20T18:16:00 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:59 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:58 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:57 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:56 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:55 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:54 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:53 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:52 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:51 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:50 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:49 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:48 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:47 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:46 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:45 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:44 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:43 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:42 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:41 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:40 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:39 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:38 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:37 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:36 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:35 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:34 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:33 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:32 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:31 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:30 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:29 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:28 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:27 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:26 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:25 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:24 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:23 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:22 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:21 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:20 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:19 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:18 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:17 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:16 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:15 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:14 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:13 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:12 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:11 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:10 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:09 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:08 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:07 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:06 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:05 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:04 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:03 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:02 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:01 Warning: mount park operation timed out on last attempt.
2021-07-20T18:15:00 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:59 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:58 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:57 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:56 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:55 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:54 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:53 Warning: mount park operation timed out on last attempt.
2021-07-20T18:14:52 Parking mount in progress...
2021-07-20T18:14:52 Warning: mount park operation timed out on attempt 4/5. Restarting operation...
2021-07-20T18:14:51 Parking mount in progress...
2021-07-20T18:14:51 Warning: mount park operation timed out on attempt 3/5. Restarting operation...
2021-07-20T18:14:50 Parking mount in progress...
2021-07-20T18:14:50 Warning: mount park operation timed out on attempt 2/5. Restarting operation...
2021-07-20T18:14:49 Parking mount in progress...
2021-07-20T18:14:49 Warning: mount park operation timed out on attempt 1/5. Restarting operation...
2021-07-20T18:13:48 Parking mount in progress...
2021-07-20T18:13:47 No jobs left in the scheduler queue.
2021-07-20T18:13:46 Job 'Navi' is complete.
2021-07-20T18:13:25 Job 'Navi' capture is in progress...
2021-07-20T18:13:25 Job 'Navi' slew is complete.
2021-07-20T18:10:17 Job 'Navi' is slewing to target.
2021-07-20T18:10:14 Mount unparked.
2021-07-20T18:10:12 Dome unparked.
2021-07-20T18:10:06 Unparking dome...
2021-07-20T18:10:05 INDI devices connected.
2021-07-20T18:10:05 Ekos started.
2021-07-20T18:10:00 Scheduler started.

Read More...

James,

we have an Old Story from Mr "Jean de La Fontaine" called the Haze and the Turtle.
So going slow and safe is also my view, otherwise I would have pushed to Indi Directly.
We can wait for pushing to Master for two reasons:
- Lamba use most probably do notice nothing because they do not use advanced features
- Advanced users can test your or my branch and test it if they want.

I will have a look on yout updated Own-Goto soon

Read More...

Serge I am happy it works with your setup.
Unfortunately I don't have all this equipment and extensive testing is not easy on simulation so I thank you a lot for your efforts.

Now I think it would be good to include the changes into Indi's Master.
I will check how to do that.

Read More...

Claus,

it seems working according to the last tests I did (see logs)
Done with CCD simulator, CCD Guide Simulator, Dome Simulator and OnStep.
The Dome parking waits on OnStep in park position and Ekos shuts down only when Dome is really parked.
I will push the changes to my git and continue more complex testing

2021-07-16T11:54:47 Shutdown complete.
2021-07-16T11:54:47 Ekos stopped.
2021-07-16T11:54:46 INDI devices disconnected.
2021-07-16T11:54:43 Dome parked.
2021-07-16T11:54:26 Parking dome...
2021-07-16T11:54:25 Mount parked.
2021-07-16T11:53:39 Parking mount in progress...
2021-07-16T11:53:38 No jobs left in the scheduler queue.
2021-07-16T11:53:37 Job 'Thuban' is complete.
2021-07-16T11:53:16 Job 'Thuban' capture is in progress...
2021-07-16T11:53:16 Job 'Thuban' slew is complete.
2021-07-16T11:52:24 Job 'Thuban' is slewing to target.
2021-07-16T11:52:21 Mount unparked.
2021-07-16T11:52:19 Dome unparked.
2021-07-16T11:52:13 Unparking dome...
2021-07-16T11:52:12 INDI devices connected.
2021-07-16T11:52:12 Ekos started.
2021-07-16T11:52:07 Scheduler started.

Read More...

Serge,

I believe I found the issue.
Finally it is in the driver where TrackState should be changed right after starting the Park .
According to me this is a strange behavior, because changing the Scope Status before having the feedback from the firmware is a bad thing.
So I am still not happy with that.

Read More...