I'm sorry I'm not good at English.
I know that Tokyo is not DST area, I live in.I think the current code is getting the wrong time on other TZ as well.
strptime, ctime and cdate are fine.
strptime function is described in the man page as "tm should be initialized before the call.".
I think that ltm should be initialized to avoid troubles.
And it suggests to set tm_isdst=0 before calling mktime.
is this all right?
I'm sorry it took a long time.
I have attached a patch suggestion.
I tested lx200_OnStep, but no other drivers. (I don't have an other mount.)
I think the lx200 series patch is okay.
Other drivers need to be tested to see if they work fine.
Utc error in Ekos is not yet gone, Norikyu just proposed a patch and he tested it against OnStep.
To include the change into Indi Master a pull request must be issued.
Before doing this some additional steps need to be doen:
- change revision for each modified driver
- change drivers.xml for each modified driver
- check build and drivers functions
and then issue the pull request
so will take some time.
I propose to do it but if anybody volunteers, he is welcome!
All fixes as per Norikyu pacth are included on github.com/azwing/indi
All test done as simulation except OnStep, pull request will be issued
Hello boys i have a problem with driver, i use port 9998 bcause the 9999 not respondig correctly but i have a random error:
2022-05-21T21:25:38: [WARNING] This update aborted, will try again...
2022-05-21T21:25:38: [INFO] RA/DEC could not be read, possible solution if using (wireless) ethernet: Use port 9998
2022-05-21T21:25:36: [WARNING] Communication error on backlash (:%BD#/:%BR#), this update aborted, will try again...
INDI/KStars on Raspberry Pi 4, 4gb
Raspberry Bull 64bit
Nikon D5300 Camera
Guidescope: Tair 3-A 299mm