×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

[FIXED] Driver indi_duino: Impossible IPState

  • Posts: 2046
  • Thank you received: 193
Some better GDB output...

Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #43900

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

  • Posts: 2046
  • Thank you received: 193
Trying different GDB...


What is this ?
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
Last edit: 1 year 8 months ago by Gonzothegreat.
1 year 8 months ago #43901

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

  • Posts: 2046
  • Thank you received: 193
This is the right GDB output !!!

Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #43905

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

  • Posts: 2046
  • Thank you received: 193
With the help of Jasem, he found out that the IPState error was due to the xml file being incorrect, it has now been corrected in github.com/indilib/indi-3rdparty/commit/...0a2b04e5ee7e90c66d92

However, I'm still having another issue, driver indi_duino crashes but we cannot figure this one out yet...
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #43907

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

  • Posts: 2046
  • Thank you received: 193
this is what's need more debugging
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #43908

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

  • Posts: 2046
  • Thank you received: 193
a little bit more progress...


after adding above and below github.com/indilib/indi-3rdparty/blob/83...o/indiduino.cpp#L146

LOG_INFO("##### 1 #####")
sf->OnIdle();
LOG_INFO("##### 2 #####")
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #43910

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

  • Posts: 2046
  • Thank you received: 193
From the driver debug log generated by Ekos:
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #43911

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

  • Posts: 2046
  • Thank you received: 193
Jasem,

I have git cloned 1.8.0 compiled it and tried, all working fine.
I have git cloned 1.8.1 commit e1ee8df compiled and it's not working

git clone -n github.com/indilib/indi.git
git checkout 7297e36 (1.8.0 compiled / working)
git checkout e1ee8df (1.8.1 compiled / not working)

I've done a git bisect...

root@heidenrod-obs:/home/heidenrod/indi-drivers/indi# git bisect start
root@heidenrod-obs:/home/heidenrod/indi-drivers/indi# git bisect good 7297e36
root@heidenrod-obs:/home/heidenrod/indi-drivers/indi# git bisect bad e1ee8df
Bisecting: 65 revisions left to test after this (roughly 6 steps)
[558ce1c08bf542bfc52a7966214150632db5ceca] send newRaDec _after_ setting all the TrackState changes so that the EQNp property state is reflected in INDI::Telescope::newRaDec function
root@heidenrod-obs:/home/heidenrod/indi-drivers/indi#
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #44034

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

  • Posts: 2046
  • Thank you received: 193
Just realised I tried e1ee8df which is the latest commit ... I need to try from 0e47ba6 ... back to the drawing board...
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
The following user(s) said Thank You: Jasem Mutlaq
1 year 8 months ago #44035

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

  • Posts: 199
  • Thank you received: 49
I decided to install meteostationWEB, a few days ago, to find out if I had the same issues as you had but to a lesser degree from what I understand. I got only a few of the "impossible IPState" messages you got but I got a fair bit of "MinMax FAIL" messages that I can't explain, not knowing the code enough. Sorry I can't/couldn't be of better help.

If that interests you, I built my meteo station using the BME280 instead of the BMP280/DHT22 that where used, with minor changes to the arduino code. The BME280 measures temperature, pressure and humidity in a single I2C sensor. I am also considering changing the solar cell by a TSL2591 I2C light sensor that has a much larger dynamic range that the solar cell and could give a rough estimate of the sky quality (SQM).

Thanks and good luck in your debugging.
The following user(s) said Thank You: Jasem Mutlaq
1 year 8 months ago #44056

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

  • Posts: 2046
  • Thank you received: 193
You can ignore the "MinMax FAIL" messages, been there for a long time and we never managed to fix this.
I'll carry on the debugging in a few weeks as I have some urgent matters to attend, if anyone want to have a bash at it...
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 8 months ago #44132

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

  • Posts: 2046
  • Thank you received: 193
I can confirm that this issue is now fixed, as indi 1.8.2 and indi-duino V 0.5
The meteostation works fine.
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
1 year 5 months ago #47108

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

Time to create page: 0.253 seconds