×

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

Bi-monthly release with minor bug fixes and improvements

communication of status in indi roof drivers?

  • Posts: 108
  • 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
2 years 3 months ago #78678

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

Time to create page: 0.184 seconds