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

My Skype accout is join.skype.com/invite/jTdvcEHPk0EC
Cannot remove the othjer one.
Today was a long sleeping mornig since I past the night outside, and it was a disater. My garden is surrounded by 4 public lights (have to speak with village mayor :-) and the trees do not help either but cannot speak to my boss :-(
No coding this week, rest a bit and see if some ideas come up.

Busy with hardware since my PCB arrived.

Regards

Read More...

Ray Wells is friends with Alain Zwingelstein

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

Hi,

yes there are definitively big issues with these ESP WiFi.
Since My daughter lives in HongKong I will try to get a bunch for practically nothing so I can restart trying.

By the way the code in the WiFi is not as obscure that it could not be written for an Apache server on a Pi. I made some check and it is promising.

I just received the two MaxPCB from .... Utah :) it took six days.

Time to play a little bit with the soldering iron and order the missing parts, I was waiting for the PCB before ordering, never sure about the format to buy.

Yesterday, clear sky, install everything and ... snow :blink:

For Skype not an issue, I think I have Three addresses in my Skype, Mydaughter, My Neighbor and my Wife since I was always working abroad.

Regards

Read More...

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

Hi Blueshawk,

when speaking about equipment:

My equipment:
Dobson 270 F6 vor visual use
Newton 250 F4 for Photo with motorized focuser
Lacerta-Mgen for guiding
Canon EOS 1100D for imaging
PiCAstro Controller for EQ6 and focuser

Developement Software:
Debian Testing
KStars 29.2 daily built from source
Indi daily built from source

OnStep Hardware:
Arduino Mega 2160 and DRV8825
Teensy 3.2 and A4988
Teensy 3.5 and 2xTMC2130 + 2xDRV8825
Did try ESP8266 but I fried two, they run but not able anymore to flash them (too much issued with these)

==========
The AUTOSTART_TRACKING_ON it is a simple solution for mobile mounts and as you said just define in the Config file and it seems it works and probably is the right solution to use OnStep without attached computer.

I don't think different hardware platform behave differently with OnStep since the interface with OnStep is command.ino.
Canged can come for Config File, example 0, One or two focusers.

I think this is one of the challenge with such a controller.
The driver must first verify all the possibilities of the controller before running and this is a little bit confusing to me at the moment.
OnStep implments a :GXnn# command tha should return the complete configuration as in Config....h

Considering the Commands having multiple actions and why I did not use it:

The one--> one way (On OnStep lx200command --> One button is easier to implement and sticks to OnStep functions.

OnStep itself does already internally multiple commands based on other, if I start to mic I will be lost soon.

On the other hand if I am sure each individual LX200 command is working then it would be easy to cretae a sort of batch
to rung commands in a sequence.

For the time beeing I prefer to test, remove bugs, work on some optimization and wait for my hardware top be build to start real testing.

Read More...

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

azwing wrote: Hi Blueshawk,
Blueshawk could we Skype (azwing) some times (My timezone is GMT+1)

See my answers hereunder and again many thanks for the report

The control panel should show park at start (and cold start/reset) getting the status at startup should fix this even if the user has
"#define AUTOSTART_TRACKING_ON"
===>
AUTOSTART_TRACKING_ON is not a configuration option (at least not in the Config files) thats why I did not consider it.
Tried to define it in my Config.MaxPCB.h and at cold start I have this situation and driver is showing the right status
I think since it is managed by the firmware nothing required in the driver.

===============================
Setting tracking on or starting alignment procedure should unpark the mount and track sidereal.
===>
This is really a question depending on type of installation, moveable or fixed.
there are two questions here:
track on --> unparks
tarck on --> sidereal rate
If I built in the track on button it becomes unflexible.
would prefer to add an option somewhere like selection boxes on track on -- Unpark -- Sidereal

===============================
Cold start should also reset alignment buttons and status.
(stayed on align and status at alignment completed when park clicked - scope did home)
===>
If fact it does in OnStep, I have to reset the buttons

===============================
I have a 2-10 second lag on commands I had not noticed previously, turned off debug to see if it helped.
===>
I obeserved this also.
I tested sending commands with terminal and observed dealy commes from certain commands.
But I never observe 10 seconds delays! all my serail traces are timestamped
I had also some polling for focuser even when not present.
disabled now when no focuser present.

===============================

Wrongly shows parked in ekos during alignment.
===>
Could not reproduce this

===============================

1 star align worked okay once I waited out the slew command.
===>
I have no way to follow Star Alignment except via polling of Manual Alaign Status ":A?#" that returns 3xx

===============================

Park returned home but failed to disable the motors?
===>
Park returned Home? Which version of OnStep do you use? Beta or Alpha?
when I issue a Park command, ":hP", the remaining process is fully under control of OnStep. I just poll the Status via ":GU# and wait eitehr a (P)arked (F)ailed (I)n Progress (U)nParkes in the status string
I had these issues with previous versoions where Park Failed depending on Backlash values.

Just retested with last Alpha and when Parked, Motors are Off
When UnPark Motors are On

===============================

Mount control "pad" shows error in status on opening during 3 star alignment - related to below i think.
===>
Do not understand

===============================

after slewing to second star, could not click align. control panel Button already down. (something broke I think.)
===>
The "Align" Button Down is something I need to fix (manage ISS_OFF/ISS_On on buttons) , but the button reacts on click.

===============================

This may not matter but PEC might be set to off by defult or maybe remember the previous setting.
I wonder how to store things in the save files. That would fix it too.
===>
PEC not yet implemented, button not connected to any command, for the time beeing is only shown due to HAS_PEC Option.

===============================

unit did not complete second slew from dubhe to capella
After doing meridan flip, stopped part way and showed error but no status reported as I had turned off
debug mode to see if it would speed things up.
===>
Do not see how to reproduce this.

===============================
-claims cannot stop slew to any command, cannot abort.
===>
Also heredo not see how to reproduce.

===============================

Sorry for some questions I could not answer

I really have to manage all the button status so the they are reflecting the real situation.

I think htis is my next task



Read More...

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

Hi Blueshawk,

See my answers hereunder and again many thanks for the report

The control panel should show park at start (and cold start/reset) getting the status at startup should fix this even if the user has
"#define AUTOSTART_TRACKING_ON"
===>
AUTOSTART_TRACKING_ON is not a configuration option (at least not in the Config files) thats why I did not consider it.
Tried to define it in my Config.MaxPCB.h and at cold start I have this situation and driver is showing the right status
I think since it is managed by the firmware nothing required in the driver.

===============================
Setting tracking on or starting alignment procedure should unpark the mount and track sidereal.
===>
This is really a question depending on type of installation, moveable or fixed.
there are two questions here:
track on --> unparks
tarck on --> sidereal rate
If I built in the track on button it becomes unflexible.
would prefer to add an option somewhere like selection boxes on track on -- Unpark -- Sidereal

===============================
Cold start should also reset alignment buttons and status.
(stayed on align and status at alignment completed when park clicked - scope did home)
===>
If fact it does in OnStep, I have to reset the buttons

===============================
I have a 2-10 second lag on commands I had not noticed previously, turned off debug to see if it helped.
===>
I obeserved this also.
I tested sending commands with terminal and observed dealy commes from certain commands.
But I never observe 10 seconds delays! all my serail traces are timestamped
I had also some polling for focuser even when not present.
disabled now when no focuser present.

===============================

Wrongly shows parked in ekos during alignment.
===>
Could not reproduce this

===============================

1 star align worked okay once I waited out the slew command.
===>
I have no way to follow Star Alignment except via polling of Manual Alaign Status ":A?#" that returns 3xx

===============================

Park returned home but failed to disable the motors?
===>
Park returned Home? Which version of OnStep do you use? Beta or Alpha?
when I issue a Park command, ":hP", the remaining process is fully under control of OnStep. I just poll the Status via ":GU# and wait eitehr a (P)arked (F)ailed (I)n Progress (U)nParkes in the status string
I had these issues with previous versoions where Park Failed depending on Backlash values.

Just retested with last Alpha and when Parked, Motors are Off
When UnPark Motors are On

===============================

Mount control "pad" shows error in status on opening during 3 star alignment - related to below i think.
===>
Do not understand

===============================

after slewing to second star, could not click align. control panel Button already down. (something broke I think.)
===>
The "Align" Button Down is something I need to fix (manage ISS_OFF/ISS_On on buttons) , but the button reacts on click.

===============================

This may not matter but PEC might be set to off by defult or maybe remember the previous setting.
I wonder how to store things in the save files. That would fix it too.
===>
PEC not yet implemented, button not connected to any command, for the time beeing is only shown due to HAS_PEC Option.

===============================

unit did not complete second slew from dubhe to capella
After doing meridan flip, stopped part way and showed error but no status reported as I had turned off
debug mode to see if it would speed things up.
===>
Do not see how to reproduce this.

===============================
-claims cannot stop slew to any command, cannot abort.
===>
Also heredo not see how to reproduce.

===============================

Sorry for some questions I could not answer

I really have to manage all the button status so the they are reflecting the real situation.

I think htis is my next task

Read More...

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

Oh I see you made good testing.
Will investigate all this:
I am not really fond of encapsulated commands like Track On unparking the scope as well,
I rather would prefer to add a generic function "Initialize" may be with checkboxes as options.

I also noticed some lags on certain commands:
Example Focuser commands are slow to rtespond (tested with terminal)
I did remove polling of unnecessary focusers today (V1.301)
I have also some concerns about buttons not showing the righjt status, example Track On / Off but they are managed by Indi, have to look at it to see what is going on here
But many thanks for the exhaustive list.

Read More...

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

Hi Blueshawk,

The OnStep driver assume the focuser connected via the same Prot as the Telescope so it won't work with a separate hardware.

I see no workarround here except to write a dedicated driver for your hardware.

Read More...

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

Today finally added OnStep Stepper Focuser support:

Focuser Tab is shown depending on the hardware capability:
- No Focuser => No Focuser Tab
- One or Two Focusers => the Focuser Tab show up with relevant controls

I made the choice to implements only:
- Buttons for In, Out and stop where In and out are 0,1 s pulses
- Focuser rates min, 0,01, 0,1, 1 mm/s
- Relative Focuser target that allows to give relative displacement vs actual value (+/- 25000) and Focuser Absolute position is updated by polling.

Cannot test in reality since no stepper focuser at the moment.
Not really convinced it will fit the requirements for everybody, but is a starting point.

Read More...

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

Hi Blueshawk,

Yes, now I think I understand how to manage these git pulls.
Was unsure and didn't want to break everything :)
I did play with Ekos Align using the plate solving, seems possible to have this working with OnStep, that would be really fine.

PS: have a look in the files head comments and tell me if you agree / have comments

Read More...

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

Hi,

I played a little bit arround Manual Alaign.

Normally all the three options are functioning:
- 1 Star, 2 Stars, 3 Stars
When selecting a button the Align Process Dialog shows the actual Status, (e.g 312 Manual Align; Star 1/2)
When choosen star is reached and scope back to tracking a dialog box remembers user to apply corrections and validate witl the Align button.
At the end of the process the Align Process shows "Manual Align Completed"
Maybe an Abort button would be necessary in case of mistake
Check the process with Phone and Indi is update during the process

Read More...

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

Hi James,

Pull request accepted.
It works great.

Now I understand what you mean with flip, (Google translates it as crazy in french or gambling with a coin).

Read More...

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

Some brainstorming:

The Driver as it is for now is a little bit like fruit salad, not really consistent.
Blueshawk already made some comments about that and he is right.

I tried to go trough some drivers for different telescope and I found the same different approach everywhere.
Since I have an Eq6-Pro I decided to see how these guys did design the interface.
Attached a pdf with all the screen shots of the Eqmod interface
I think if I could achieve to have similar layout, at least the driver look and feel would be more consistent.

Any suggestionon this?

Read More...

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

Hi Blueshawk,

If I understand weel, you do the follwing:
1) You do 1 star Alignment with Android App
2) Your KStars telescope position is somewhere in Siberia or China

I tried to do exactly this:
1) Cold Start od OnStep, plugging in computer
2) Use KStars and connect (using KStars Geographic Set-Up)
3) Use Android app to make One Star Alaignment
4) App porpes me a Star List
5) I select one of the proposed stars
6) I selkect Goto in Android App
7) When position reached I make just some corrections with App
8) I select align in the App

I did this procedure many times using different locations (My Home, Baton Rouge in Louisiana, Minsk In Siberia) and never could reproduce that Kstars shows a telescope position at the opposite where it should be.

I repeated the same procedure but this time using KStars without the phone app and same results.
1) Cold Start
2) Select Align 1 Star in the Main Control Tab
3) Using KStars, right click select a Star and Track
4) KStars slew to this star
5) made some guiding movements
6) Just Right Click on the Star and Sync

When you are speaking about Jasem's Patch could you please send the link, have no idea which patch it could be.

Testing in the rain, with umbrella? I see weather conditions are not better than here

Sorry for the late answer, I was again more in the learning phase than in the progress.
- James Lan challenged me (thank you James) with Github, he raised a pull request ... since I am not a pro of Github was reading a bit
- Had some problems with QTcreator set-up despite the good video from Jasem, till now I did everything with vi and command line, it was a bit hard for an old fashioned guy to get out of the water :), but at the end it works including GDB

How could I live without this for 62 years !!!

Regards

Read More...

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

To James Lan,

after a check it is the lx200driver that uses the following
snprintf(read_buffer, sizeof(read_buffer), ":Sg%03d:%02d#", d, m);
which should workbut doesnt

I created a OnStep local function that uses
snprintf(read_buffer, sizeof(read_buffer), ":Sg%.03d:%02d#", d, m);
remark the "." before 03d
and it now works.

didn't see the forset, too much trees!, thanks for the bug discover.
Hope this will solve you problem.

will include in next push

Read More...

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

Hi James_Lan,

I have to try this, I am 7:38 so thta may explain why I did not notice that.
I rememebr there was a change sometime ago with negative / positive.
I have to check that

Read More...

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

Hi Jrsphoto,

Welcome to this place.

Assistance is always welcome, everybody can bring a piece to the project based on their experience.
Mine are relatively limited, in this project I am learning more than actually doing things.

The Story started some time ago with a push to InDi Master accepted by Jasem.
This was really a quick and dirty one but helped to experiment arround OnStep with Indi.

Now the iodea is to make it user friendly, in the shape identical to other Indi drivers (mean having controls at the same place)
and to have a new release when we feel here it is mature enough.

I think the ideal would be to keep functionalites as for now except Focuser that I would like to have more OnStep oriented, and to concentrate on bug free running.

The kind of help could be:
- testing and bug report of the driver
- testing the behaviour within Ekos
- helping to have the interface more consistent to the user (Like Blueshawk said)
- code review, think this is important because of my lack of programing experience

What is TLC?

Yes looking for dark skies is really a challenge today specially in Europe.

Read More...

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

Hard time, waiting for UPS father christmass :cheer:

Mine are all on breadboard for now, MaxPCB on the way.
But Still in the oven, a PCB design to be included in the body of my Old Eq6
For the time the mount is running will a 20 years old controller based on PIC and really basic (Goro, Sync, Autoguiding, PEC)
I cant find the heart to dismantle my old mount for the time beeing.
Project is to first build the observatory where I intend to install the new Eq6-R mount.

The last month were really cloudy and it seems clear wheater is still far away :(

Read More...

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

many thanks,
I will have a look.
Did nothing today, except remountin,g tiles on my roof :blink: too much wind, nothing compared to the state but unusual for the region.
A propos region? what is the time shift between France and where you are?

Read More...

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!