×

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

Bi-monthly release with minor bug fixes and improvements

General driver naming issues

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

I'm currently setting up my observatory using INDI and recognized a few trivial issues which limit usability of INDI:
  1. Avoid whitespaces in driver names. These cause a lot of trouble in shell scripts (using indi_setprop and indi_setprop) and even make certain things impossible.
  2. Try to make driver names unique, i.e. include a unique identifier whenever it is available, (serial number of the USB protocol or another identifier). Imagine a setup where you have two filter wheels of the same kind connected to one PC. Even the USB bus number would be more helpful then a count (I found one in the ASI filter wheel driver).

For example Moravian cameras have a unique number. Please replace
snprintf(name, MAXINDINAME, "MI CCD %s", sp);
by
snprintf(name, MAXINDINAME, "MI_CCD_%s-%d", sp, cameraId);
in line 202 of mi_ccd.cpp
5 years 9 months ago #26826

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

Time to create page: 0.497 seconds