×

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

Bi-monthly release with minor bug fixes and improvements

Indi gphoto ccd: many parameters, no documentation

  • Posts: 226
  • Thank you received: 88
I have reproduced the problem using the last indi svn version and a kstars git version from mid october, on a fr_FR locale Fedora20:
[geehalel@warka ~]$ indiserver
2014-12-27T08:55:42: startup: indiserver 
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 0.9.9
Code $Revision: 726523 $. Protocol 1.7.



The mount was pointing on Phecda and the GSC cmd of indi_simulator_ccd also shows the incorrect RA/DEC values coming from the mount for these two shots:
2014-12-27T08:59:45: Driver indi_simulator_ccd: gsccmd gsc -c 124.987802 +87.781265 -r 11.4 -m 0 17.00 -n 3000
2014-12-27T09:10:54: Driver indi_simulator_ccd: gsccmd gsc -c 9.875966 +87.910378 -r 11.4 -m 0 17.00 -n 3000
So I've fixed this in the IUSnoopNumber function of indidriver.c (adding setLocale("C") around the f_scansexa call) and the result seems now correct:


Still pointing on Phecda, the GSC cmd of indi_simulator_ccd shows now correct values of RA/DEC:
2014-12-27T09:19:34: Driver indi_simulator_ccd: gsccmd gsc -c 178.477368 +53.689423 -r 11.4 -m 0 17.00 -n 3000
I've just commited this fix.

Checking numerical values as '1.0', '1', '1,0' in text fields may be done but this is more code to write. By the way I don't know if kde supports numerical checking on text fields with respect to locale.

Jean-Luc.
9 years 3 months ago #2537
Attachments:

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

  • Posts: 21
  • Thank you received: 0
Great !!!
Now it works also for me (just recompiled from svn and tested).

Thanks Jean-Luc !!!.

I hope this discussion has been useful for all Indi users, not only for gphoto or simulator users.

Alfredo
Celestron C8-N-GT +FirstScope 80
Canon EOS 450D
9 years 3 months ago #2541

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

Time to create page: 0.582 seconds