×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Driver for GoTo and Guide through Arduino & ST4

  • Posts: 13
  • Thank you received: 0
Hi,

yes that was the reason ! Thanks.

I am now trying to debug the code using QT creator 3.5 (I have being using Visual studio years ago and I found QT really a good development environment). I watched your videos here:
www.indilib.org/develop/developer-manual...ent-environment.html

After some try/error I got my driver built with debug symbols in it (the size is more than twice the normal build) ... but ... there is always a but !!

As my driver is a telescope driver and kstars require to have a CCD driver as well so I tried both indi_v4l2_ccd (with my laptop webcam....) or indi_gphoto_ccd and within QT, the application start like this:
indiserver -v indi_v4l2_ccd indi_arduinogoto_telescope

The issue is that, I just use:
indiserver -v indi_arduinogoto_telescope
I can debug with no error (breakpoint works), but I cannot test it with kstars.

If I use
indiserver -v indi_v4l2_ccd indi_arduinogoto_telescope
indiserver -v indi_gphoto_ccd indi_arduinogoto_telescope

I got a segmentation fault ! Any idea or recommendation ?

Cheers
Francesco
7 years 4 months ago #12503

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

The driver you want to debug should always be the first. i.e.
indiserver -v indi_arduinogoto_telescope indi_v4l2_ccd
The following user(s) said Thank You: Francesco Campanini
7 years 4 months ago #12507

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

  • Posts: 13
  • Thank you received: 0
Thanks Jasem, That was what I was missing !

Francesco
7 years 4 months ago #12530

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

  • Posts: 26
  • Thank you received: 1
Hi,
I'm also trying to morize my mount. Could you send again your project? Dropbox links are not working anymore.
6 years 2 months ago #22605

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

  • Posts: 13
  • Thank you received: 0
Hi,
sorry to be away for so long but many nice things happened (a daughter and a new job) and I didn't have time to work on the project. I will create a git repository and upload the latest set of files ASAP then post here the link.
Thanks
Francesco
5 years 9 months ago #26426

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

  • Posts: 13
  • Thank you received: 0
Here we are.
This the github URL:
github.com/f-campanini/ardust4
Feel free to get the code and to commit changes. I will try to regulary review and work with the community on this.
Francesco
5 years 9 months ago #26431

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

5 years 9 months ago #26432

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

  • Posts: 13
  • Thank you received: 0
Hi
that's great thanks for letting me know. I can see that GoTo is now available. Wonderful.

Thanks
Francesco
5 years 9 months ago #26433

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

  • Posts: 26
  • Thank you received: 1
Hi, I am succesfully using your driver for guiding.
However I don't know how to enable GoTo. You have written "I can see that GoTo is now available. " Where is this option?
Last edit: 4 years 2 months ago by Tomasz Pszon.
4 years 2 months ago #48065

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

  • Posts: 25
  • Thank you received: 1
Hello topaz, francesco and Jasem
I am also trying to get my head around this topic. I am using the Arduino-ST4 for guiding, but would like to use it to move the telescope by pressing buttons...
I have successfully done that under Windows, but would like to make the step to Linux in order to be able to put eveything on an Raspi. I am working i to achieve what Franceso was trying (and maybe he succeded in) to allow slewing of the telescope by giving it permanent guiding pulses (=pressing a N/S/E/W button on screen). GoTo is yet another step after that...
So, if you have made any progress here, please share it - it would help me on my learning curve.
CS
Stephan
3 years 9 months ago #55238

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

  • Posts: 26
  • Thank you received: 1
github.com/alexmoron/ardust4goto
Hi, I have modified original indi driver. It is very ugly and lot of trash but GoTo, parking and moving by buttons works.
I don't use ST-4 because my Arduino controls 2 stepper motors via A4988 and LD293 shield, so I can send command with number of steps instead of time.
But because my firmwire is drived from Kevin Ferrare ST4 driver for ascom and indi so you can modifiy it to use with ST4. (Commands for guiding are the same)
Last edit: 3 years 9 months ago by Tomasz Pszon.
3 years 9 months ago #55244

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

  • Posts: 25
  • Thank you received: 1
Hello Topaz,
that was fast! I use a very similar setup, also coming from Kevin Ferrare :-) so I also have Arduino and A4988 drivers. I will look into your code - not that I could do it any better anyhow...
Thank you very much. That helps!!!
Have a great day
Stephan
3 years 9 months ago #55249

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

Time to create page: 1.043 seconds