×

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

Bi-monthly release with minor bug fixes and improvements

[SOLVED] Problems with IEQ45pro libindi v1+ for my ZEQ25

  • Posts: 18
  • Thank you received: 3
that would be super, thankyou.

I enjoyed the learning experience and would like to do more and learn more about writing code for drivers. Could you teach me to understand the code within the driver? Or point me into the right direction of study? I'm prepared to do programming courses to get the basics. I don't expect it to come overnight but I would like to contribute to the INDI project as I go into retirement.

Cheers
yabby
8 years 9 months ago #4428

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

Sure, just check the "Develop" section in the website above, read the INDI Developers Mansual, INDI API, and checkout the tutorials. INDI ships with many tutorials starting from very simple devices to more complex ones. Plus, the code for all the driver is there for you to check out!

I won't make any changes until you get a bit more familiarized with INDI so you can develop the driver yourself, it's easy once you understand the basics!
Last edit: 8 years 9 months ago by Jasem Mutlaq.
8 years 9 months ago #4434

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

  • Posts: 47
  • Thank you received: 6
Hi there,

has there been any progress with this issue?
I also have a ZEQ25 mount and I'd be really happy to use it with Indi/Kstars/Ekos.
I'm looking into the existing drivers code to get a little accustomed to its internal working modes and I'd be more than happy to help with it.
By the way, Ekos is a terrific piece of software, the definitive astrophoto tool in Linux, congratulations on a great job!

Ciao,
Piero
8 years 5 months ago #5515

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

Looks like the ZEQ25 might be compatible with Meade command set, did you try using LX200Basic driver to connect to it?
8 years 5 months ago #5523

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

  • Posts: 47
  • Thank you received: 6
Yes I did, but I can not even connect to the mount through the lx200 basic driver.
One driver that seems to respond in some ways is the lx200ap: that way I can connect to the mount but then it seems to lose any information about the mount coordinates.
I'll dig a bit more into the code.
Thank you.
8 years 5 months ago #5526

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

  • Posts: 47
  • Thank you received: 6
Just a quick update.
As a quick and dirty hack I changed the check_lx200_connection function in lx200driver.cpp like this:
int check_lx200_connection(int in_fd)
{
 
  int i=0;
  const char *ack = ":V#";
  char MountAlign[64];
  int nbytes_read=0;
 
  DEBUGDEVICE(lx200Name, INDI::Logger::DBG_DEBUG, "Testing telescope's connection using ACK...");
 
  if (in_fd <= 0) return -1;
 
  for (i=0; i < 2; i++)
  {
    if (write(in_fd, ack, 3) < 0) return -1;
    tty_read(in_fd, MountAlign, 6, LX200_TIMEOUT, &nbytes_read);
    if (nbytes_read == 6)
    {
        DEBUGDEVICE(lx200Name, INDI::Logger::DBG_DEBUG, "Testing successful!");
        return 0;
    }
    usleep(50000);
  }
 
  DEBUGDEVICE(lx200Name, INDI::Logger::DBG_DEBUG, "Failure. Telescope is not responding to ACK!");
  return -1;
}
to adapt to iOptron's 8408 protocol.
It works, and many other things seem to work, whereas a few don't.
I'll work a bit more on the code and let you know.
Thank you.
The following user(s) said Thank You: Sunho Park
8 years 5 months ago #5529

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

  • Posts: 173
  • Thank you received: 19
Just wondering if anyone is still actively working on the driver for the Zeq25. I noticed that yabby had some interest in doing it but seems to have been absent as of late. I noticed the hack that was made to the .cpp file. Where did you find the file to make the hack? Thanks in advance.

I have compiled the examples but when I run :

indiserver -v examples/tutorial_one/tutorial_one

i get the following error:

Driver examples/tutorial_one/tutorial_one: 2015-11-10T05:31:46: Driver examples/tutorial_one/tutorial_one: execlp: No such file or directory


--Jon
Last edit: 8 years 4 months ago by Jon.
8 years 4 months ago #5786

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

  • Posts: 2
  • Thank you received: 0
I feel the same
2015-11-10T12: 54: 11: Driver examples / tutorial_one / tutorial_one: 2015-11-10T12: 54: 11: Driver examples / tutorial_one / tutorial_one: execlp: No such file or directory

only running the example tutorial_one

I am new to this, any help is welcome porfa
8 years 4 months ago #5787

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

  • Posts: 2
  • Thank you received: 0
Jon
try compiling with make

I hope this helps.
8 years 4 months ago #5788

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

  • Posts: 173
  • Thank you received: 19
Thanks. I tried running make from inside the tutorial_one directory but that is also throwing errors.....
Realized you shouldn't do the above.

I found this in the forum:
indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html

Basically, after running make successfully, you need to run the svn up command to update the code. Then run sudo make install.


--Jon
Last edit: 8 years 4 months ago by Jon.
8 years 4 months ago #5789

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

Please try LX200Basic driver tomorrow and let me know if that works ZEQ25. If it does, we can build on it further.
8 years 4 months ago #5790

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

  • Posts: 173
  • Thank you received: 19
Thanks knro. I will give it a try tomorrow. I have compiled the lx200driver.cpp with the changes made by tango13 a couple of weeks ago and it does indeed connect but not much else. Thanks again.....

-Jon
8 years 4 months ago #5791

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

Time to create page: 1.055 seconds