×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

TeenAstro driver for INDI

11 months 3 weeks ago
kbahey
Gold Boarder
Gold Boarder
Posts: 213
Karma: 2
More
TeenAstro driver for INDI #44281

fdesvallees wrote: I found out the problem was in the board which would close the connection after 2 seconds.


TeenAstro is based on OnStep. What I am going to say applies to OnStep, and probably to TeenAstro as well.

OnStep does not keep the TCP connection open for subsequent communications. As a result, each command has to establish communication as if it is a new connection.

I wrote a Python API for OnStep , and I had to connect on every call, when using TCP.
The following user(s) said Thank You knro

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

11 months 3 weeks ago
fdesvallees
Fresh Boarder
Fresh Boarder
Posts: 5
More
TeenAstro driver for INDI #44284
Thanks Khalid, this explains it.

But I don't understand how we can make Ekos work: eithee we keep the connection open all the time, like a serial port, or for every command issued (and this can be one per second or more when polling the mount), the driver needs to open the connection, issue the command, then close the connection (not nice). What do you think?

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

11 months 3 weeks ago
kbahey
Gold Boarder
Gold Boarder
Posts: 213
Karma: 2
More
TeenAstro driver for INDI #44285
I don't have a solution.
But if I am not mistaken, James Lancaster, a maintainer of OnStep INDI was looking into it a couple of months ago.
No word so far.

By the way, this file has the code that handles WiFi for OnStep (TeenAstro would be similar), and there is 2000L on line 394. Also see line 388.

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

11 months 3 weeks ago
kbahey
Gold Boarder
Gold Boarder
Posts: 213
Karma: 2
More
TeenAstro driver for INDI #44290
I posted a description of a possible solution here .
Someone needs to implement and test it.

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

8 months 2 weeks ago
fdesvallees
Fresh Boarder
Fresh Boarder
Posts: 5
More
TeenAstro driver for INDI #47943
Hello Jasem:
I have written a driver for TeenAstro, with all basic functionality tested. It is in my fork github/fdesvallees/indi. Since I am not familiar with git I am not sure how to proceed now. Note that I have written some documentation according to your recommendations, but I don't know where to submit it. Can you please help? Thanks, François

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

8 months 2 weeks ago
knro
Administrator
Administrator
Posts: 8390
Karma: 51
TeenAstro driver for INDI #47945
Great work François! You can submit a Pull-Request from your fork to the main INDI repo. It will take a little bit of research from your part, but it's easy to do once you learn it the first time. You can submit documentation in the PR as a zip file as well (as a comment for example).

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: 0.366 seconds