×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

Driver OnStep (LX200 like) for INDI

5 months 5 days ago
james_lan
Expert Boarder
Expert Boarder
Posts: 92
Karma: 1
More
Driver OnStep (LX200 like) for INDI #40785
Yeah it's kind of a quick hack, one of the problems is the limited space, and to be honest, the existing Align items are kind of a hack that I'm not super happy with. Unfortunately, there's not anything like a multi-line text display except that sort of multi-line hack used for Align. (Or at least I'm not aware of it, and I just went through and double checked there weren't parameters in the Text parameter. :( )

I'd love comments on how people would suggest it be useful:

Option 1:
As is for MP, in the info box. Advantage, aside from changing text, it's done!
Option 2:
Repurpose the same sort that's already with the Align module, name it explicitly instructions, and add a button to switch instructions. (Manual Align, Sync Align or MP)
Disadvantage instructions may be out of order.
Advantage: Anyone not looking at the info box can see instructions.
Option 3:
Use info for a more complete instructions and do a basic instruction. (Kinda like step 2)
Advantage, we can be more verbose in INFO, but still have basic info available for everyone.
Option 4:
(Possible with Option 1): Just link a page with instructions.
Advantage: Easy to update
Disadvantage: Offline or constrained data usage.

Other thoughts, suggestions of options?

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

5 months 3 days ago
james_lan
Expert Boarder
Expert Boarder
Posts: 92
Karma: 1
More
Driver OnStep (LX200 like) for INDI #40870
Pushed to Azwing: Extended goto error codes.

Given that there were issues with sync and movement, I was having issues that showed as under horizon limit, while at zenith. I finally spent the time to check over everything like timezones and such, and finally realized the :MS# command wasn't returning 3 so I modified what was needed for it to show. (Which touched the other lx200telescope and lx200driver, but after looking all of them over, they will just show what they did before if anything is out of the 0,1,2 range as before.)

So for example, before tracking was enabled, I'd get a return of 3 (Controller in standby), which got squashed in the Slew function, and read back as Object below Horizon. Anything you get back will be tagged with OnStep slewError: _____ and should be correct. (Can't believe it took me that long to figure out! I implemented the slewError function, and it took that giving me the same error to figure out it was squashing it since it would print RES <3> right before it. Argh. Any time you are feeling smart, try programming and debugging. ;) )

Hopefully, that will help anyone having any goto errors to report it better, once it's merged upstream.
The following user(s) said Thank You azwing

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

5 months 3 days ago
azwing
Gold Boarder
Gold Boarder
Posts: 196
Karma: 3
More
Driver OnStep (LX200 like) for INDI #40879
James,

thanks a lot for all your efforts.
I am really a bit in a bad situation form an internet connection point of viw.
They pulled the Optical Fiber into my Village and by doing it destroyed the existing copper lines.
Now I have neither ADSL not Optical Fiber but Random Slow DSL ...
After investigation they told me there is nothing thay can (want) do ...
I have to wait until september where eventually I can migrate to Fiber and have again a reliable Internet.
Sorry if my reaction is a bit slow this time.
The following user(s) said Thank You james_lan

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

5 months 2 days ago
james_lan
Expert Boarder
Expert Boarder
Posts: 92
Karma: 1
More
Driver OnStep (LX200 like) for INDI #40886
You worry about being 'slow' when everything I see has been within a day or two. :lol:

Seriously, thanks for dealing with that, and especially pushing it up to master, because git is both wonderful, and evil. (I hope you aren't thinking that my comment about pushed to you is any implication of anything other than an explanation, or intended as any sort of complaint what so ever. It's not.) I really hope your internet gets fixed soon, because that is really annoying.

As another thing that I'm just pushing up: Adding Sync error messages. Hopefully this will help ID the problem that shows up on the OnStep Mailing list. Vs the silent fails currently.

If you want, I can see about a pull request for merging OnStep to libindi/master as I see there seems to have been some confusion with the other pull request, if that would be helpful.
The following user(s) said Thank You Blueshawk

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

5 months 2 days ago
azwing
Gold Boarder
Gold Boarder
Posts: 196
Karma: 3
More
Driver OnStep (LX200 like) for INDI #40897
James,

The internet problem is anoying and only a "no chance".

The French government started a plan to connect 100% of the territory with Optical Fiber within 2020, all payed by Goverment, European Union ... so by the citizen.
So far so good, the Fiber arrived in my village.
The problem starts when it comes to commercialization.
This Network is opened for any internet provider in two manners:
A - The internet provider uses the complete network infrastructure including active devices, costs a bit more but zéro investment
B- The internet provider uses only the Fiber, and he provides it's own active devices, more investment but they manage themselves the network (only use the physical Fiber)

This makes that all little internet providers already offer their services on the Fiber but all are oriented Multimedia and relative expensive
and the Big provider that have better offers (example Internt Only ,... )take a bit more time util they install their hardware.

I am in the second case where my provider will start only in september and I definitively want to stay with my provider for the following rteasons:
- Fixed IPV4 full stack (no shared ports)
- Fixed IPV6/64
- Reverse DNS
- VPN support
- Free Phone for most countries and free Mobile phone for main countries (My daughter lives in Hong Kong :-)

And all wih a cost that is one of the cheapest ...
For all these reasons I prefer to stay patient

=====================
Concerning you push I must just tahnk you very much for all your efforts.
I will merge to my master but prefer to wait a bit before pushing to main Master.

Thanks again

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

5 months 2 days ago
azwing
Gold Boarder
Gold Boarder
Posts: 196
Karma: 3
More
Driver OnStep (LX200 like) for INDI #40898
James,

The internet problem is anoying and only a "no chance".

The French government started a plan to connect 100% of the territory with Optical Fiber within 2020, all payed by Goverment, European Union ... so by the citizen.
So far so good, the Fiber arrived in my village.
The problem starts when it comes to commercialization.
This Network is opened for any internet provider in two manners:
A - The internet provider uses the complete network infrastructure including active devices, costs a bit more but zéro investment
B- The internet provider uses only the Fiber, and he provides it's own active devices, more investment but they manage themselves the network (only use the physical Fiber)

This makes that all little internet providers already offer their services on the Fiber but all are oriented Multimedia and relative expensive
and the Big provider that have better offers (example Internt Only ,... )take a bit more time util they install their hardware.

I am in the second case where my provider will start only in september and I definitively want to stay with my provider for the following rteasons:
- Fixed IPV4 full stack (no shared ports)
- Fixed IPV6/64
- Reverse DNS
- VPN support
- Free Phone for most countries and free Mobile phone for main countries (My daughter lives in Hong Kong :-)

And all wih a cost that is one of the cheapest ...
For all these reasons I prefer to stay patient

=====================
Concerning you push I must just tahnk you very much for all your efforts.
I will merge to my master but prefer to wait a bit before pushing to main Master.

Thanks again
The following user(s) said Thank You Blueshawk

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

4 months 3 weeks ago 4 months 3 weeks ago by plop3.
plop3
Fresh Boarder
Fresh Boarder
Posts: 6
More
Driver OnStep (LX200 like) for INDI #41239
For the sleew problem (Kstars/sychart remains in sleewing mode instead of return in tacking mode after weak goto (plate solving...), i have made a quick and dirty workaround:
I launch this script: github.com/plop3/WatchdogOnStep/blob/master/WatchdogOnStep.sh
It monitor the state of tracking and if mount is blocked in sleewing state (sleew but coordinates dont't change), the script send a track order to resynchronize Indi.


Does not work :-(

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

4 months 3 weeks ago
kbahey
Gold Boarder
Gold Boarder
Posts: 201
Karma: 2
More
Driver OnStep (LX200 like) for INDI #41241

plop3 wrote: For the sleew problem (Kstars/sychart remains in sleewing mode instead of return in tacking mode after weak goto (plate solving...), i have made a quick and dirty workaround:
I launch this script: github.com/plop3/WatchdogOnStep/blob/master/WatchdogOnStep.sh
It monitor the state of tracking and if mount is blocked in sleewing state (sleew but coordinates dont't change), the script send a track order to resynchronize Indi.


Does not work :-(


The 'KStars remains in Slewing mode, and never goes back to tracking' problem has been solved in OnStep master for some time now. Basically there are a lot of code that went into the 'end of slew' logic that Howard added after earlier complaints from KStars users.

If you use the latest master, you should never see the problem.

I use Jasem's INDI packages, and his KStars Bleeding.

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

4 months 2 weeks ago
plop3
Fresh Boarder
Fresh Boarder
Posts: 6
More
Driver OnStep (LX200 like) for INDI #41262
I just tested and it seems to work fine :-)

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

4 months 2 weeks ago
james_lan
Expert Boarder
Expert Boarder
Posts: 92
Karma: 1
More
Driver OnStep (LX200 like) for INDI #41299
There is one bug, but it's an Ekos one from what I can tell related to the mount model alignment tool, which is if there's a delay changing to slew, and it gets checked too quickly then Ekos/Kstars assumes it's done with a slew before the command even gets sent.

I've filed a bug for kstars. bugs.kde.org/show_bug.cgi?id=410094 as I believe that's where the issue lies.

And since I left this post up overnight, before hitting submit, it's already fixed (or at least looks like it) in kstars git, and if I do observing tonight, I'll see if I have any issues. Thanks Jasem!



One thing that should be good shortly, once I'm finished is the :Gu support, is that it should be a bit less talky over serial, which hopefully will reduce the time and maybe? the load on the microcontroller it takes for updates. (I've noticed sometimes that megas have a bit of a delay some times, which I presume is due to load on the microcontroller, it seems less of an issue on STM32)

Planned to be replaced by :Gu#:
:Gm# (Pier Side)
:GX90# (Pulse Guide rate, still would need to be called for any custom/non-standard rates (aka not 0.25/0.5/1x sidereal) which I'd have to play with)
:GX95# (AutoFlip)
:GX96# (Preferred Pier Side)
:$QZ?# (PEC Status)

Not Replaced (and currently called)
:%BD and :%BR (backlash, can probably be read only occasionally)
:GXE9 :GXEA (minutes past meridian)
:A? (Align Status)
:GX02 :GX03 (Can probably be reduced and only dealt with in certain situations)
:GR :GD (Not changing, Dec and RA coordinates, need to be called!)

Though I do plan on still calling :GU# for now, because it's a LOT easier to read in either the status tab or logs, even though there's everything in :GU should be in :Gu (Along with more)

One other thing is possibly to allow for higher bitrates, which may (or may not) help or hurt. Unfortunately, most all of that is in the serial connection, which gets pulled in via telescope, and as far as I can tell, doesn't allow for on-the fly, so it'd have to send the command to change :SBx# then disconnect and reconnect. (Most all LX200 derived mounts should have the ability to do that, as Meade has had it in the lx200 protocol from close to the beginning of the protocol (Or at least there's no notation of anything not supporting it, as there is with almost everything added later))

I'm still working on the multipoint thing, but that's still proving a bit annoying. (I've got a bug, or a misunderstanding of what's being done, as it's coming out fairly off compared to the mount calculations.)

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

4 months 2 weeks ago
james_lan
Expert Boarder
Expert Boarder
Posts: 92
Karma: 1
More
Driver OnStep (LX200 like) for INDI #41343
Do note, it unfortunately isn't fixed, yet. I thought it was, but just had it happen again. >_<

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

4 months 1 week ago
knro
Administrator
Administrator
Posts: 7409
Karma: 51
Driver OnStep (LX200 like) for INDI #41419
Folks,

I updated LX200Telescope class to support INDI::FocuserInterface which resulted in some minor but necessary changes to OnStep driver. Can you please check that I didn't break anything?

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

Time to create page: 1.159 seconds