×

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

Bi-monthly release with minor bug fixes and improvements

Astroberry drivers for Raspberry Pi devices

Yes you are absolutely right, will change that.

Edit: Fix committed :-)
Edit2: It now also send time and location regardless of state. When it is OK or Alert, the timer is stopped. If it is Busy, the timer continues.
The following user(s) said Thank You: Radek Kaczorek
Last edit: 8 years 7 months ago by Jasem Mutlaq.
8 years 7 months ago #4896

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

  • Posts: 72
  • Thank you received: 21
Situation get worse than before.
As not workingas expected, I've gone back to simulation mode for GPS and telescope to check if everything are OK. Seems to be not.
Let me explain.
When I push GPS knob to update data on the telescope, Kstar is updated, but not the loc and time of the telescope itself!
Ie added a IDMEssage() is the INDI::Telescope::ISSnoopDevice() to check what happend. The function is never called! Enven if it looks all IPS sates are IPS_OK.
Second issue, may be related tothe first one is a strangebehaviour on the INDI control panel. When A start indiserver and conenct from KStars, the Conrol panel looks correct. One GPS instance and one scop instance. If I disconnect, than reconnect, I still have one GPS Instance BUT two of the scope. disc/connect again, three scope..... I should restart indiserver to get correct situation again, til next disc./connection. I had this issue with my own drivers in the past. I was a pointer issue with writing to it before initialization :-(
I get these troubles on my physical PC with Ubuntu 14.04 LTD and with EKOS VM too.

Any idea?

Debug info:
When driver start, the snooping is implemented correctly:

2015-08-27T19:15:10: Driver indi_simulator_telescope: read getProperties GPS Simulator GEOGRAPHIC_COORD
2015-08-27T19:15:10: Driver indi_simulator_telescope: snooping on GPS Simulator.GEOGRAPHIC_COORD
2015-08-27T19:15:10: Driver indi_simulator_telescope: read getProperties GPS Simulator TIME_UTC
2015-08-27T19:15:10: Driver indi_simulator_telescope: snooping on GPS Simulator.TIME_UTC


And queuing looks fine:

2015-08-27T19:17:03: Client 0: read newSwitchVector GPS Simulator GPS_REFRESH
REFRESH='On'
2015-08-27T19:17:03: Driver indi_simulator_gps: queuing responsible for <newSwitchVector device='GPS Simulator' name='GPS_REFRESH'>
2015-08-27T19:17:03: Driver indi_simulator_gps: sending msg copy 1 nq 1:
<newSwitchVector device="GPS Simulator" name="GPS_REFRESH">
<oneSwitch name="REFRESH">
On
</oneSwitch>
</newSwitchVector>

2015-08-27T19:17:03: Driver indi_simulator_gps: read setNumberVector GPS Simulator GEOGRAPHIC_COORD Ok
LAT='29.100000000000001421'
LONG='48.5'
ELEV='12'
2015-08-27T19:17:03: Client 0: queuing <setNumberVector device='GPS Simulator' name='GEOGRAPHIC_COORD'>
2015-08-27T19:17:03: Driver indi_simulator_telescope: queuing snooped <setNumberVector device='GPS Simulator' name='GEOGRAPHIC_COORD'>
2015-08-27T19:17:03: Driver indi_simulator_gps: read setTextVector GPS Simulator TIME_UTC Ok
UTC='2015-08-27T19:17:03'
OFFSET='2.00'
2015-08-27T19:17:03: Client 0: queuing <setTextVector device='GPS Simulator' name='TIME_UTC'>
2015-08-27T19:17:03: Driver indi_simulator_telescope: queuing snooped <setTextVector device='GPS Simulator' name='TIME_UTC'>
2015-08-27T19:17:03: Driver indi_simulator_gps: read setSwitchVector GPS Simulator GPS_REFRESH Ok
REFRESH='Off'
2015-08-27T19:17:03: Client 0: queuing <setSwitchVector device='GPS Simulator' name='GPS_REFRESH'>
2015-08-27T19:17:03: Client 0: sending msg copy 2 nq 3:
<setNumberVector device="GPS Simulator" name="GEOGRAPHIC_COORD" state="Ok" timeout="60" timestamp="2015-08-27T19:17:03">
<oneNumber name="LAT">
29.100000000000001421
</oneNumber>
<oneNumber name="LONG">
48.5
</oneNumber>
<oneNumber name="ELEV">
12
</oneNumber>
</setNumberVector>

2015-08-27T19:17:03: Driver indi_simulator_telescope: sending msg copy 1 nq 2:
<setNumberVector device="GPS Simulator" name="GEOGRAPHIC_COORD" state="Ok" timeout="60" timestamp="2015-08-27T19:17:03">
<oneNumber name="LAT">
29.100000000000001421
</oneNumber>
<oneNumber name="LONG">
48.5
</oneNumber>
<oneNumber name="ELEV">
12
</oneNumber>
</setNumberVector>

2015-08-27T19:17:03: Client 0: sending msg copy 2 nq 2:
<setTextVector device="GPS Simulator" name="TIME_UTC" state="Ok" timeout="60" timestamp="2015-08-27T19:17:03">
<oneText name="UTC">
2015-08-27T19:17:03
</oneText>
<oneText name="OFFSET">
2.00
</oneText>
</setTextVector>

2015-08-27T19:17:03: Driver indi_simulator_telescope: sending msg copy 1 nq 1:
<setTextVector device="GPS Simulator" name="TIME_UTC" state="Ok" timeout="60" timestamp="2015-08-27T19:17:03">
<oneText name="UTC">
2015-08-27T19:17:03
</oneText>
<oneText name="OFFSET">
2.00
</oneText>
</setTextVector>

2015-08-27T19:17:03: Client 0: sending msg copy 1 nq 1:
<setSwitchVector device="GPS Simulator" name="GPS_REFRESH" state="Ok" timeout="0" timestamp="2015-08-27T19:17:03">
<oneSwitch name="REFRESH">
Off
</oneSwitch>
</setSwitchVector>
Philippe Besson
Skywatcher HEQ5, Televue 101-IS, Takahashi FS-60CB
Focus Boss II with OptecInc TCF-S focuser and Starlight Instruments HSM20 handy stepper motor
Guiding camera ZWO ASI120MM
Filterwheel OptecInc IFW
Camera not set yet
Switzerland
8 years 7 months ago #4899

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

I can't replicate any of these issues, are you building from source?
8 years 7 months ago #4902

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

  • Posts: 72
  • Thank you received: 21
Yes I'am.
Ok let me do clean full reinstall this weekend, In case I've done a mistake somewhere. Real strange is to have also on EKOS VM.
I'll keep you in touch till Sunday.
Regards

Already first easy test (Why I didn't do it before ) Reset the EKOS VM. Test OK. upgrade it wiht apt-get, still OK. No raison that fully rebuild on the physical wouldn't works.
Confirmation later.

Saterday evening, I've continued to try to get what is wrong, and no idea.
I've delete all /usr/bin/indi* files, /usr/share/indi/*. Delete all in Project folder related to indi.Removed kstars... then reinstall all of them. Kstart from repository, indi from svn, "make install" and always isue with indi_xxx_telescope.
I've created a new VM of Ubuntu 14.04.3 to try from scracth, and then that's works....

Conclusion I've somethink corrupted on my Daily PC! As I don't find other issue till now, I'll wouldn't to reinstall it now, then I'll move my developpment instance on a new Virtual box. IT will be a good oportunity to move to 15.x But I should say I don't really like KDE, I'll prefere Ubuntu with CairoDock.

Anyway, I could have as conclusion that my PC is the root caus eif this issue.

Regards
Philippe Besson
Skywatcher HEQ5, Televue 101-IS, Takahashi FS-60CB
Focus Boss II with OptecInc TCF-S focuser and Starlight Instruments HSM20 handy stepper motor
Guiding camera ZWO ASI120MM
Filterwheel OptecInc IFW
Camera not set yet
Switzerland
Last edit: 8 years 6 months ago by Philippe. Reason: Close my issue
8 years 7 months ago #4903

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

  • Posts: 983
  • Thank you received: 375
Jasem, everything works flawlessly. Thanks for the latest changes to the API and introducing INDI:GPS class (credit also goes to Philippe for the idea of the new class).
GPS update works as designed, the same for time and location snooping with telescope. Later today I will release the updated version of astroberry drivers and indi_rpigps specifically.

Regards

Radek
8 years 7 months ago #4904

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

Time to create page: 0.479 seconds