×

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

Bi-monthly release with minor bug fixes and improvements

Driver OnStep (LX200 like) for INDI

  • Posts: 322
  • Thank you received: 31
By the end of the night (3:15 am or so), all the precision slews (about a handful) were all successful. No hangs. I set the precision to 30 arc seconds.
5 years 5 months ago #30659

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

  • Posts: 8
  • Thank you received: 0

Hi ,
sorry not to mention how the combination works.
I must say the driver works perfectly. I can use the focuser, too by simply putting the onstep driver name in the setup configuration.
What i am missing at the moment, is something where I can set the actual position of the focuser, without moving the focuser.

From my experiences of the last months, I completely switch over to libindi.

Except my big fat mount. It is controlled by the sitech servo II controller. Here i will encapsulate the win7 instance in a qemu image running on my barbone.

Regards,
Gerrit
5 years 4 months ago #31675

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

  • Posts: 19
  • Thank you received: 1
Hi there,
I would like to ask, can the Indi driver for the Onstep work through Wifi?
I am able to connect to the Onstep controller through both Wifi and /dev/ttyACM0, but slewing, guiding etc only work when connected to /dev/ttyACM0.

I am however able to connect to the mount from the Android app, SkySafari and Sky Planetarium and all of them are able to control the mount through Wifi.
Am I missing something out or is the driver not designed for Wifi connections?
Thanks!
5 years 4 months ago #31779

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

  • Posts: 322
  • Thank you received: 31
Using the latest PPA (indi-bin 1.7.5~201811141157~ubuntu16.04.1), there is a problem in converting internal float to sexagesimal format.

OnStep refuses to recognize :60 as a valid value. It has to be 00 to 59 only. Therefore, OnStep returns an error and refuses to slew to the target.

Here are log excerpts.

First for a failed conversion:
2018-11-21T13:15:35 EST ISD:Telescope sending coords RA: "11h 49m 59s" ( 11.8333 ) DE: " 14° 28' 02\"" ( 14.4673 )
2018-11-21T13:15:35 EST LX200 OnStep : "[SCOPE] <setObjectRA> "
2018-11-21T13:15:35 EST LX200 OnStep : "[SCOPE] CMD <:Sr 11:49:60#> "
2018-11-21T13:15:35 EST LX200 OnStep : "[SCOPE] CMD <:Sr 11:49:60#> failed. "
2018-11-21T13:15:35 EST LX200 OnStep : "Error setting RA/DEC. "

Then for a conversion that works.
2018-11-21T13:27:55 EST ISD:Telescope sending coords RA: "11h 49m 35s" ( 11.8264 ) DE: " 14° 10' 47\"" ( 14.1798 )
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] <setObjectRA> "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] CMD <:Sr 11:49:35#> "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] CMD <:Sr 11:49:35#> successful. "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] <setObjectDEC> "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] CMD <:Sd +14:10:47#> "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] CMD <:Sd +14:10:47#> successful. "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] <Slew> "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] CMD <:MS#> "
2018-11-21T13:27:55 EST LX200 OnStep : "[SCOPE] RES <0> "
5 years 4 months ago #31799

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

  • Posts: 452
  • Thank you received: 71
Hi,

if you try to connect to the ESP web server it will not work.
To have WiFi working you must have the serial from OnStep over IP with ser2net for example, not via the WiFi as implemented in OnStep

example:
OnSter Serial 1 <==> Raspberry <==> ser2net <==> Wifi <==> your PC
5 years 4 months ago #31835

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

  • Posts: 452
  • Thank you received: 71
Khalid,

this is strange. The conversion is done using Indi internal routines not specific to OnStep driver.
Of course havinb 60 is not OK.
May be something chganges recently in Indi I don't know.
How did you do to have this error?
Because when I enter the target manually it also does not accept the 60
5 years 4 months ago #31836

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

  • Posts: 322
  • Thank you received: 31

I found it by mere chance. I was testing the latest changes to OnStep, indoors.

I slewed to Zosma in Leo, and that was fine. Then tried to slew to Denebola (tail star of Leo), and nothing happened. Slewed to Cheratan (near Denebola), and it slewed fine. Back to Denebola, and nothing happened.

So I enabled debugging, and saw the error there. Took me a few minutes to realize that 60 was the problem.
5 years 4 months ago #31837

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

  • Posts: 452
  • Thank you received: 71

Khalid,

I just tested entering a value like 18:02:60 as target and the command send was effectively 18:03:00 not 18:02:60.
I cannot reproduce this error
5 years 4 months ago #31839

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

  • Posts: 322
  • Thank you received: 31
I am using OnStep 1.16e (latest Alpha), if that matters ...

And I just reproduced it with today's indi-bin version. Had to change the time to 2 hours earlier, so Leo is above the horizon.

[2018-11-22T14:38:43 ISD:Telescope sending coords RA: "11h 49m 59s" ( 11.8333 ) DE: " 14° 28' 02\"" ( 14.4672 )
[2018-11-22T14:38:43 LX200 OnStep : "[SCOPE] <setObjectRA> "
[2018-11-22T14:38:43 LX200 OnStep : "[SCOPE] CMD <:Sr 11:49:60#> "
[2018-11-22T14:38:43 LX200 OnStep : "[SCOPE] CMD <:Sr 11:49:60#> failed."
[2018-11-22T14:38:43 LX200 OnStep : "Error setting RA/DEC. "
5 years 4 months ago #31840

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

  • Posts: 452
  • Thank you received: 71
Aie !!!
I have 1.15.G and KStars 3.0.0 2018-11-20T07:17:16Z and indi build the same date
I have to download and recompile all, will then test again.
Anoying I would say, because nothing changed in the driver itself
5 years 4 months ago #31841

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

  • Posts: 452
  • Thank you received: 71

May be there is something in Ubuntu version, I have no Ubuntu, working under Debian Buster.
I have everything built based on latest git
Just recompiled all:
KStars, 3.0.0 2018-11-22T20:01:19Z
Indi, Code v1.7.5-190-g4e8091ab. Protocol 1.7.
Indi Driver version 1.4
Onstep, 1.16.e

Now testing your case: Zozma => Denebola and ... bingo

SCOPE 78.167352 sec : CMD <:Sr 11:15:05#>
SCOPE 78.184675 sec : CMD <:Sr 11:15:05#> successful.
SCOPE 420.267465 sec : CMD <:Sr 11:49:60#>
SCOPE 420.286991 sec : CMD <:Sr 11:49:60#> failed.
SCOPE 447.499642 sec : CMD <:Sr 11:49:60#>
SCOPE 447.515669 sec : CMD <:Sr 11:49:60#> failed.
SCOPE 469.663238 sec : CMD <:Sr 11:15:12#>
SCOPE 469.682128 sec : CMD <:Sr 11:15:12#> successful.
SCOPE 494.359404 sec : CMD <:Sr 11:49:60#>
SCOPE 494.375498 sec : CMD <:Sr 11:49:60#> failed.
SCOPE 715.919647 sec : CMD <:Sr 11:49:60#>
SCOPE 715.935800 sec : CMD <:Sr 11:49:60#> failed.
=============================================
Now where does it come from?
Denebola is really near those 60'' (11h 49m 59,90s) so interpretation issue but it worked with previous version.

I will continue to search
5 years 4 months ago #31843

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

  • Posts: 322
  • Thank you received: 31
I am using Jassem's PPA for both INDI and KStars

KStars is 6:2.9.8+201808180747~ubuntu16.04.1
indi-bin is 1.7.5~201811212041~ubuntu16.04.1 (yesterday's build)

I think this is from the sexagesimal conversion routines, or from routines that do rounding from that.
5 years 4 months ago #31844

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

Time to create page: 0.789 seconds