-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: Add compose files for atptg and attcs. Add readme for some places. Add compose for DIMM. Hexapod ip fixed Updated simulators Add serial port to device Add serial port configuration to electrometer and README file Add changes to README file Add X11 from local computer to docker-compose for electrometer Rename Hexapod to ATHexapod, Add Electrometer CSC
- Loading branch information
Showing
22 changed files
with
300 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This compose will start the ATDome CSC that talks to the real hardware. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
echo "#" | ||
echo "# Loading LSST Stack" | ||
. /opt/lsst/software/stack/loadLSST.bash | ||
setup lsst_distrib | ||
echo "#" | ||
echo "# Loading sal environment" | ||
. repos/ts_sal/setup.env | ||
echo "#" | ||
echo "# Setting up sal, salobj and scriptqueue" | ||
|
||
setup ts_xml -t current | ||
setup ts_sal -t current | ||
setup ts_salobj -t current | ||
setup ts_scriptqueue -t current | ||
setup ts_salobjATHexapod -t current | ||
cd /home/saluser/repos/ts_salobjATHexapod/bin/ | ||
while : | ||
do | ||
echo "# Starting CSC" | ||
python ./runATHexapodCSC.py 0 | ||
echo "# CSC finished..." | ||
done |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
AT_CSC/Hexapod/tcpConfiguration.yaml → AT_CSC/ATHexapod/tcpConfiguration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
host: "192.168.1.31" | ||
host: "192.168.1.48" | ||
port: 50000 | ||
connectionTimeout: 2 | ||
readTimeout: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '3.6' | ||
services: | ||
atptg: | ||
image: tiagorib/ptkernel:DM-19890 | ||
container_name: atptg | ||
environment: | ||
- OSPL_URI=${OSPL_URI} | ||
- LSST_DDS_DOMAIN=${LSST_DDS_DOMAIN} | ||
network_mode: "host" | ||
volumes: | ||
- ${OSPL_CONFIG_PATH}:${OSPL_MOUNT_POINT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: '3.6' | ||
|
||
services: | ||
|
||
ataos: | ||
image: lsstts/ataos:DM-19890 | ||
container_name: ataos | ||
environment: | ||
- OSPL_URI=${OSPL_URI} | ||
- LSST_DDS_DOMAIN=${LSST_DDS_DOMAIN} | ||
network_mode: "host" | ||
volumes: | ||
- ${OSPL_CONFIG_PATH}:${OSPL_MOUNT_POINT} | ||
|
||
entrypoint: ["/home/saluser/.setup.sh"] | ||
|
||
atdome-csc: | ||
image: lsstts/at_dome:3.9-0.5 | ||
container_name: atdome | ||
environment: | ||
- OSPL_URI=${OSPL_URI} | ||
- LSST_DDS_DOMAIN=${LSST_DDS_DOMAIN} | ||
network_mode: "host" | ||
volumes: | ||
- ${OSPL_CONFIG_PATH}:${OSPL_MOUNT_POINT} | ||
|
||
entrypoint: ["/home/saluser/.setup.sh"] | ||
|
||
atdometrajectory-sim: | ||
image: lsstts/at_dome_trajectory_sim:3.9-0.6a | ||
container_name: atdometrajectory | ||
environment: | ||
- OSPL_URI=${OSPL_URI} | ||
- LSST_DDS_DOMAIN=${LSST_DDS_DOMAIN} | ||
network_mode: "host" | ||
volumes: | ||
- ${OSPL_CONFIG_PATH}:${OSPL_MOUNT_POINT} | ||
|
||
entrypoint: ["/home/saluser/.setup.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: "3" | ||
|
||
services: | ||
ElectrometerCSC: | ||
image: lsstts/electrometer | ||
environment: | ||
- LSST_DDS_DOMAIN=${LSST_DDS_DOMAIN} | ||
network_mode: "host" | ||
volumes: | ||
- ${OSPL_CONFIG_PATH}:${OSPL_MOUNT_POINT} | ||
- ./startCSC.sh:/home/saluser/startCSC.sh | ||
- ./mainSetup.yaml:/home/saluser/repos/ts_electrometer2/bin/settingFiles/mainSetup.yaml | ||
devices: | ||
- /dev/ttyUSB0:/dev/ttyUSB0 | ||
- /dev/electrometer:/dev/electrometer | ||
entrypoint: ["/home/saluser/startCSC.sh"] | ||
ElectrometerGUI: | ||
image: lsstts/electrometer | ||
environment: | ||
- LSST_DDS_DOMAIN=${LSST_DDS_DOMAIN} | ||
- DISPLAY=${DISPLAY} | ||
network_mode: "host" | ||
volumes: | ||
- ${OSPL_CONFIG_PATH}:${OSPL_MOUNT_POINT} | ||
- ./startGUI.sh:/home/saluser/startGUI.sh | ||
- /tmp/.X11-unix:/tmp/.X11-unix | ||
- ./mainSetup.yaml:/home/saluser/repos/ts_electrometer2/bin/settingFiles/mainSetup.yaml | ||
entrypoint: ["/home/saluser/startGUI.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
recommendedSettings: | ||
- "Default1" | ||
- "Default2" | ||
aliases: | ||
Default1: | ||
settingSet: "Test" | ||
settingVersion: 1 | ||
Default2: | ||
settingSet: "Test" | ||
settingVersion: 2 | ||
salId: 1 | ||
filePath: "/home/saluser/ts_electrometer2/electrometerFitsFiles" | ||
simulated: 0 | ||
httpHost: "10.0.100.133" | ||
port: 8000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
echo "#" | ||
echo "# Loading LSST Stack" | ||
. /opt/lsst/software/stack/loadLSST.bash | ||
setup lsst_distrib | ||
echo "#" | ||
echo "# Loading sal environment" | ||
. repos/ts_sal/setup.env | ||
echo "#" | ||
echo "# Setting up sal, salobj and scriptqueue" | ||
|
||
setup ts_xml -t current | ||
setup ts_sal -t current | ||
setup ts_salobj -t current | ||
setup ts_scriptqueue -t current | ||
setup ts_electrometer -t current | ||
|
||
cd /home/saluser/repos/ts_electrometer2/bin/ | ||
echo "# Starting CSC" | ||
python ./RunElectrometer.py 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
echo "#" | ||
echo "# Loading LSST Stack" | ||
. /opt/lsst/software/stack/loadLSST.bash | ||
setup lsst_distrib | ||
echo "#" | ||
echo "# Loading sal environment" | ||
. repos/ts_sal/setup.env | ||
echo "#" | ||
echo "# Setting up sal, salobj and scriptqueue" | ||
|
||
setup ts_xml -t current | ||
setup ts_sal -t current | ||
setup ts_salobj -t current | ||
setup ts_scriptqueue -t current | ||
setup ts_electrometer -t current | ||
cd /home/saluser/repos/ts_electrometer2/python/lsst/ts/electrometer/electrometerEUI | ||
echo "# Starting GUI" | ||
python ./EUI.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Compose files for CSCs that talk to real hardware. No simmmulators! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
host: "192.168.1.21" | ||
port: 50000 | ||
connectionTimeout: 2 | ||
readTimeout: 2 | ||
sendTimeout: 2 | ||
endStr: "endl" | ||
maxLength: 1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
settingVersions: | ||
recommendedSettingsVersion: 'default' | ||
recommendedSettingsLabels: ['default', 'simulation', 'soar', 'lsst'] | ||
|
||
setting: | ||
default: | ||
type: 'sim' | ||
configuration: | ||
avg_seeing: 0.5 # average seeing (arcsec) | ||
std_seeing: 0.1 # standard deviation (arcsec) | ||
chance_failure: 0.0 # chance that the dimm will fail (in 1/100) | ||
time_in_target: # in hours | ||
min: 2 | ||
max: 6 | ||
exposure_time: # in seconds | ||
min: 30 | ||
max: 300 | ||
std: 5 # random deviation from actual value | ||
simulation: | ||
type: 'sim' | ||
configuration: | ||
avg_seeing: 0.5 # average seeing (arcsec) | ||
std_seeing: 0.1 # standard deviation (arcsec) | ||
chance_failure: 0.0 # chance that the dimm will fail (in 1/100) | ||
time_in_target: # in hours | ||
min: 2 | ||
max: 6 | ||
exposure_time: # in seconds | ||
min: 1 | ||
max: 3 | ||
std: 0.1 # random deviation from actual value | ||
soar: | ||
type: 'soar' | ||
configuration: | ||
uri: 'mysql://becs:[email protected]/pachon' | ||
check_interval: 180. | ||
lsst: | ||
type: 'astelco' | ||
configuration: | ||
host: 192.168.1.250 | ||
port: 16500 | ||
auto_auth: True | ||
user: admin | ||
password: admin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: "3" | ||
|
||
services: | ||
dimm: | ||
image: lsstts/dimm:DM-19900 | ||
environment: | ||
- OSPL_URI=${OSPL_URI} | ||
- LSST_DDS_DOMAIN=${LSST_DDS_DOMAIN} | ||
network_mode: "host" | ||
container_name: dimm | ||
volumes: | ||
- ${OSPL_CONFIG_PATH}:${OSPL_MOUNT_POINT} | ||
- ./config.yaml:/home/saluser/repos/ts_dimm/python/lsst/ts/dimm/config/config.yaml |
Oops, something went wrong.