×
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.

Writing driver for eq platform

7 months 1 week ago
Derek
Fresh Boarder
Fresh Boarder
Posts: 4
More
Topic Author
Writing driver for eq platform #49404
Hello!

To my situation: I have never used any 'real' telescope mounts before and have no experience connecting them to a computer to autoguide or something like this.
I have a homemade eq platform, that is working well, but I do want to enhance it by an autoguiding feature, since it would increase the tracking accuracy
and a good training in programming (INDI-)drivers.
The platform is controlled by an AVR microcontroller and is connected via serial bluetooth to the Linux machine.

I have set up a new project as described in the developer manual and I'm ready to implement the features.

My question is: When i launch the indi_simulator_telescope driver using indiserver, I can select the 'Telescope Simulator' driver under the mount tab in PHD2 and connect to it.
But when I launch the example two driver (or my empty driver project), which is a simple telescope driver, I can connect to the indi server, but cannot connect to the driver, since no driver is listed in the mount tab of PHD2.



Which property(?) or statement in the C++ code is telling PHD2 that this driver is a valid mount, that it can connect to?

Thank you for your help.

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

7 months 1 week ago
knro
Administrator
Administrator
Posts: 8370
Karma: 51
Writing driver for eq platform #49418
Why don't you start with the simulator code and they slow adjust that with your requirements? Your driver is probably missing some property or the driver interface.

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.

7 months 1 week ago
Derek
Fresh Boarder
Fresh Boarder
Posts: 4
More
Topic Author
Writing driver for eq platform #49430
Starting with the simulator code would be an option, but I think I learn more if I try to "start from scratch".

Yes, you were right, the driver interface wasn't set up right. Now the driver shows up in PHD2.

After that, I couldn't establish a connection because of 'not capable of getting side of pier', but by comparing with the code of the simulator, I was able to solve that issue.
Now it connects just fine.

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

7 months 6 days ago
Derek
Fresh Boarder
Fresh Boarder
Posts: 4
More
Topic Author
Writing driver for eq platform #49460
Turns out, I was wrong.
I accidentally launched the simulator driver and could connect to the driver in PHD2, but my new one is showing up, but times out when I try to connect to it.

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

Time to create page: 0.362 seconds