Commit 5a3ed30ab3f88f098aa8ec95efb79064ed76519f

Authored by Etienne Pallier
2 parents 7706b4d6 288832d5
Exists in dev

Merge branch 'dev' of https://gitlab.irap.omp.eu/epallier/pyros into dev

.gitignore
... ... @@ -13,6 +13,7 @@ BASE_TEMPLATE.HTML
13 13  
14 14 # Ignore all PNG files except from src/doc/ and src/core/pyros_django/misc/static/media/
15 15 *.png
  16 +!/config/pyros/*.png
16 17 !src/doc/*.png
17 18 !src/core/pyros_django/misc/static/media/*.png
18 19  
... ...
config/pyros/logo_pyros.png 0 → 100644

59.3 KB

privatedev/config/default/observatory_default.yml
... ... @@ -8,52 +8,53 @@ OBSERVATORY:
8 8  
9 9 name: Default
10 10  
11   - # === Inventory of available devices
12   - # A device is a hardware with a maximum of one connection to drive it with a computer.
13   - # As a device can be shared with various units, it is defined at the observatory level.
14   - DEVICES:
15   -
16   - # Each device is defined by a specific configuration file that enumarate the components.
  11 + INVENTORY:
  12 + # === Inventory of available devices
  13 + # A device is a hardware with a maximum of one connection to drive it with a computer.
  14 + # As a device can be shared with various units, it is defined at the observatory level.
  15 + DEVICES:
17 16  
18   - - DEVICE:
19   - name: AstroMecCA
20   - file: device_Astromecca_TM350_default.yml
21   -
22   - - DEVICE:
23   - name: PLC_meteo
24   - file: device_Raspberry_MiFe_default.yml
25   - # Describe here the configuration of the device in operation
26   - network_interface_index: 0
27   - network_ip: 192.168.0.2
28   -
29   - - DEVICE:
30   - name: SkyWatcher_ED80
31   - file: device_SkyWatcher_ED80_default.yml
32   -
33   -
34   - - DEVICE:
35   - name: ZWO_ASI1600MMPro
36   - file: device_ZWO_ASI1600MMPro_default.yml
  17 + # Each device is defined by a specific configuration file that enumarate the components.
37 18  
38   -
39   - # === Inventory of available computers
40   - # A computer is a hardware of a virtual machine.
41   - # As a computer can be shared with various units, it is defined at the observatory level.
42   - COMPUTERS:
43   -
44   - - COMPUTER:
45   - name: MainComputer
46   - file: computer_default.yml
47   - # Describe here the configuration of the computer in operation
48   - role: Main
49   - # Choice of the interface to connect the computer to the network (cf.network_interfaces infile)
50   - network_interface_index: 0
51   - # IP attributed by the Router
52   - network_ip: 192.168.0.11
  19 + - DEVICE:
  20 + name: AstroMecCA
  21 + file: device_Astromecca_TM350_default.yml
  22 +
  23 + - DEVICE:
  24 + name: PLC_meteo
  25 + file: device_Raspberry_MiFe_default.yml
  26 + # Describe here the configuration of the device in operation
  27 + network_interface_index: 0
  28 + network_ip: 192.168.0.2
  29 +
  30 + - DEVICE:
  31 + name: SkyWatcher_ED80
  32 + file: device_SkyWatcher_ED80_default.yml
  33 +
  34 +
  35 + - DEVICE:
  36 + name: ZWO_ASI1600MMPro
  37 + file: device_ZWO_ASI1600MMPro_default.yml
  38 +
  39 +
  40 + # === Inventory of available computers
  41 + # A computer is a hardware of a virtual machine.
  42 + # As a computer can be shared with various units, it is defined at the observatory level.
  43 + COMPUTERS:
  44 +
  45 + - COMPUTER:
  46 + name: MainComputer
  47 + file: computer_default.yml
  48 + # Describe here the configuration of the computer in operation
  49 + role: Main
  50 + # Choice of the interface to connect the computer to the network (cf.network_interfaces infile)
  51 + network_interface_index: 0
  52 + # IP attributed by the Router
  53 + network_ip: 192.168.0.11
53 54  
54   -
55   - # === Assembly of devices into units
56   - # A unit is a robotic telescope
  55 +
  56 + # === Assembly of devices into units
  57 + # A unit is a robotic telescope
57 58 UNITS:
58 59  
59 60 - UNIT:
... ... @@ -116,7 +117,6 @@ OBSERVATORY:
116 117 - MountPointing: mount
117 118  
118 119 CHANNELS:
119   -
120 120 - CHANNEL:
121 121 name: OpticalChannel
122 122 COMPONENT_AGENTS:
... ... @@ -124,14 +124,19 @@ OBSERVATORY:
124 124 - DetectorSensor: camera
125 125 - DetectorShutter: camera
126 126  
127   - CHANNEL_GROUPS:
  127 + ALBUMS:
128 128  
129   - logic: 'or' # opt
130   - GROUPS:
131   - - GROUP:
132   - logic: 'and' # opt
133   - name: MainChannel
134   - channels:
135   - - OpticalChannel
  129 + - ALBUM :
  130 + name: MainChannel
  131 + description: "Album with one channel"
  132 + CHANNELS:
  133 + - OpticalChannel
  134 +
  135 + LAYOUTS:
  136 + - LAYOUT:
  137 + name: MainChannel
  138 + description: Layout with one album
  139 + ALBUMS:
  140 + - MainChannel
136 141  
137 142  
... ...