×

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

Bi-monthly release with minor bug fixes and improvements

[FIXED] Driver indi_duino: Impossible IPState

  • Posts: 2247
  • Thank you received: 223
Some better GDB output...

4 years 6 months ago #43900

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

  • Posts: 2247
  • Thank you received: 223
Trying different GDB...


What is this ?
Last edit: 4 years 6 months ago by Gonzothegreat.
4 years 6 months ago #43901

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

  • Posts: 2247
  • Thank you received: 223
This is the right GDB output !!!

4 years 6 months ago #43905

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

  • Posts: 2247
  • Thank you received: 223
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...
4 years 6 months ago #43907

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

  • Posts: 2247
  • Thank you received: 223
this is what's need more debugging
4 years 6 months ago #43908

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

  • Posts: 2247
  • Thank you received: 223
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 #####")
4 years 6 months ago #43910

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

  • Posts: 2247
  • Thank you received: 223
From the driver debug log generated by Ekos:
4 years 6 months ago #43911

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

  • Posts: 2247
  • Thank you received: 223
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#
4 years 5 months ago #44034

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

  • Posts: 2247
  • Thank you received: 223
Just realised I tried e1ee8df which is the latest commit ... I need to try from 0e47ba6 ... back to the drawing board...
The following user(s) said Thank You: Jasem Mutlaq
4 years 5 months ago #44035

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

  • Posts: 294
  • Thank you received: 54
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
4 years 5 months ago #44056

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

  • Posts: 2247
  • Thank you received: 223
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...
4 years 5 months ago #44132

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

  • Posts: 2247
  • Thank you received: 223
I can confirm that this issue is now fixed, as indi 1.8.2 and indi-duino V 0.5
The meteostation works fine.
4 years 3 months ago #47108

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

Time to create page: 0.314 seconds