×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

communication of status in indi roof drivers?

  • Posts: 95
  • Thank you received: 4
Hi Guys,

I have a question about the status communication within the indi_script_dome driver. There are a few python schripts available. Those are doing basically nothing in regard to move the roof but obviously the communicating a current status of the roof like  "park.py":

 > cat park.py  
#!/usr/bin/python
#
# Park script for INDI Dome Scripting Gateway
#
# Arguments: none
# Exit code: 0 for success, 1 for failure
#

import sys

coordinates = open('/tmp/indi-status', 'w')
coordinates.truncate()
coordinates.write('1 0 0')
coordinates.close()

sys.exit(0)

>
But I don't understand the meaning of the functions i.e. coordinates(). Can someone give a hint please?

Thnaks Gunter
6 months 1 week ago #78678

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

Time to create page: 0.479 seconds