Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 3 months ago

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

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 3 months ago

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

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 3 months ago

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.

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 6 months ago

Alex,

thank you for the Output tab implemen,tation.
Could you please explain how to use this feature?
and how to set-up on Onstep side?

Thanks

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 7 months ago

@Dragonlost,

looks a nice project too.
Unfortunately I am still busy with my observatory, still not motorized ... :-(
An many other things on the fire (Retired people never have time :-)
I will take a look on Teenastro at least to see how it is similar in terms of protocol.

Regards

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 7 months ago

@all

It is abit complicated for me to follow and keep track in an efficient manner of all the reports and suggestions concerning the Driver.
Using Indi's GitHub issues was an option but I think we shoudnn't use it for "loud thoughts".
So finally I beleive the " OnStep Fork " is the right place to use since it will use only OnStep user's time.

@James,
I believe your Focuser Interface is at the right place since it is more indi related than pure OnStep, but leave up to you to open an issue as reference.

Regards

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 8 months ago

Hi James,

I agree from a technical standpoint, speed control is not necessary.
But soon or later one will come and ask why it is not feasible since OnStep allows it!
And now that DC motor is supported I am pretty sure many people will go for that since it far cheaper, and does the job (I went to stepper because OnStep didn't support DC!)

At least the situation where we are now allows anybody to use the focuser within Ekos and that is the most important.

As we say ... Rome wasn't built in one day!

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 8 months ago

@ Blueshawk,

Thanks for your input ... especially for the IMO :-) ... I have really problems with acronyms also in French!

More seriously, I asked also Howard about the -/+ and the here the answer .

There is also support in the interface to store settings to file, just a matter of thinking about what needs to be stored.
I really would like to work on both sides, Firmware modification to allow Sync, Reverse, Speed control as well as stting saving.
But to reach the goal I must be sure both Sides are happy whith the modifications.
Seems on Howward side there is agrreement on that.

A propos Focuser speed control, did somebody experience with that?

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 8 months ago

@James,
I remember when I started testing my stepper focuser with Onstep (before I had a self built DC type), I started with default settings (-25 .. + 25) and it was working with Indi but I changed during tests because I never was able to set my origin so I chose to use 0 .. 38 instead. (Just to say the reason was not software, just simple mechanical fact)

Nevertheles, there must be an objective reason why Howard did set the default to -25 .. +25, so we should find a solution.
So I decided to change my set-up again to relative (-19 .. +19) to fit with my 38mm stroke to be in position to test this with Indi again

Seems we have other issues too. I made many tests yeasterday and dis the mistake to upgrade OnStep to last Alpha.
At a fist glace everything seemed working fine and then I discovered that Speed adjust :FS# :FF# and :Fn# do not work anymore.

wait and see

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 8 months ago

azwing wrote: Just for reference, Jasem's statement about this : github.com/indilib/indi/pull/859

So if I understand well there is a "sync" command in Indi to say the focuser is at a certain value.
I don't see a way to sync in OnStep firmware, is there one except the "zero"?

If I follow Blueshaw, an offset of max/2 would solve this issue.
Just for info, here my focuser set-up (than explains why I don't need the negative value or offset)
#define MinAxis4 0.0 // minimum allowed Axis4 position in millimeters, default = -25.0
#define MaxAxis4 38.0 // maximum allowed Axis4 position in millimeters, default = 25.0
and whith this set-up I have 38000 steps to travel these 38mm with 0 fully retracted. (48 step motor, and approx 20,8/1 gear)
When I start I set the focuser mechanically to zero (0), initialize the focuser to Zero and from then travel to approx half travel where my focus usually is and I'm done.

May be James has some ideas.


After some review in Onstep firmware I think there is no way to sync the focuser in a arbitrary position without modifying Onstep firmware.
All the Onstep Focuser1 commands are here (Driver supported):
=====================================================
// :FA# Active?
// :FAn# Select focuser 1 or 2
// :F+# Move focuser in (toward objective)
// :F-# Move focuser out (away from objective)

// :FQ# Stop the focuser
// :FG# Get focuser current position (in microns)
// :FI# Get full in position (in microns)
// :FM# Get max position (in microns)
// :FT# get status
// :FZ# Set focuser position as zero
// :FH# Set focuser position as half-travel

// :FF# Set focuser for fast motion (1mm/s)
// :FP# Get focuser DC Motor Power Level (in %)
// :FPnnn# Set focuser DC Motor Power Level (in %)
// :Fp# Check for focuser pseudo absolute mode
// :FRsnnn# Set focuser target position relative (in microns)
// :FS# Set focuser for slow motion (0.01mm/s)
// :FSsnnn# Set focuser target position (in microns)
// :Fn# Movement rate, 1=finest, 2=0.01mm/second, 3=0.1mm/second, 4=1mm/second
=====================================================
Set an arbitrary position without moving the focuser:
With OnStep we can only set to 0 (:FZ) or half-travel (:FH) but not any other position.
If we would want to add SyncFocuser Onstep firmware should be modified.
Should we ask to Howard for a change?

Use relative negative movements: // :FSsnnn# Set focuser target position (in microns)
As per Jasem's answer this would break Indi/Ekos since all setpoints for movement / position are defined as (unint), see Focuser Interface
I would be possible to calculate an offset if the returned range (:FI and :FM return values ) is -25000 to + 25000 and present a 0 to 50000 to Indi but this would create even more confusion.
I still don't see a solution here.

Set focuser Speed:
This could be supported by SetFocuserSpeed I presume provided we override the function to deduce the :Fn# arguments (1, 2, 3, 4) from a 0/100% saying 0-25 = 1, 26 to 50= 2 51 to 75=3 and 76 to 100=4 for example.

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 8 months ago

Just for reference, Jasem's statement about this : github.com/indilib/indi/pull/859

So if I understand well there is a "sync" command in Indi to say the focuser is at a certain value.
I don't see a way to sync in OnStep firmware, is there one except the "zero"?

If I follow Blueshaw, an offset of max/2 would solve this issue.
Just for info, here my focuser set-up (than explains why I don't need the negative value or offset)
#define MinAxis4 0.0 // minimum allowed Axis4 position in millimeters, default = -25.0
#define MaxAxis4 38.0 // maximum allowed Axis4 position in millimeters, default = 25.0
and whith this set-up I have 38000 steps to travel these 38mm with 0 fully retracted. (48 step motor, and approx 20,8/1 gear)
When I start I set the focuser mechanically to zero (0), initialize the focuser to Zero and from then travel to approx half travel where my focus usually is and I'm done.

May be James has some ideas.

Read More...

Alain Zwingelstein replied to the topic 'Driver OnStep (LX200 like) for INDI' in the forum. 8 months ago

@ James,

Sorry I had to close the pull request for negative values on focuser since Indi assumes only positive.
I would suggest changing the focuser set-up intead of e.g. -25 .. + 25 to 0 .. 50.
For the time beeing better to stay as is.
====================================
By power level, do you mean the new feature added fo DC motors?
// :FP# Get focuser DC Motor Power Level (in %)
// :FPnnn# Set focuser DC Motor Power Level (in %)

In my understanding is that this parameter is controlling the DC motor minimum speed to avoid motor stall.
If so it is a tuning parameter and should not be changed once set for a given focuser.
If I am wrong and this parameter serves as speed control for the motore then I think it shpould never be written to the EEprom.

In both case this could be covered in InDi by just having a set point that is updated only on manual set.

Read More...