Skip to content

Commit d5760fa

Browse files
authored
Merge pull request #210 from olakiril/master
iuml files
2 parents 2f9950a + c539f7e commit d5760fa

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ or can specify a task_idx to run directly. After it completes, the process ends.
9797
sudo python3 run.py 1
9898
```
9999

100+
100101
This process can be automated by either a bash script that runs on startup or through control from a salt server.
101102

102103
## INSTALLATION INSTRUCTIONS (for Raspberry pi)
@@ -124,7 +125,7 @@ Install salt for remote control, you need to have a salt-master server! - Option
124125
```bash
125126
sudo apt install salt-minion
126127
echo 'master: <<YOUR_SALT-MASTER_IP>>' | sudo tee -a /etc/salt/minion
127-
echo 'id: HOSTNAME' | sudo tee -a /etc/salt/minion
128+
echo 'id: <<HOSTNAME>>' | sudo tee -a /etc/salt/minion
128129
sudo service salt-minion restart
129130
```
130131
Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
```puml
1+
@startuml
22
skinparam rectangleRoundCorner 10
33
rectangle Experiment #lightgreen
44
rectangle Stimulus #lightgreen
@@ -18,19 +18,7 @@ Logger <.right.> Interface
1818
note right of Experiment : <size:10>Main state experiment</size>
1919
note right of Behavior : <size:10>Handles the animal behavior</size> \n <size:10>in the experiment</size>
2020
note left of Stimulus : <size:10>Handles the stimuli</size> \n <size:10>used in the experiment</size>
21-
note right of Logger : <size:10>Handles all database</size> \n <size:10>interactions</size>
21+
note left of Logger : <size:10>Handles all database</size> \n <size:10>interactions</size>
2222
note left of Interface : <size:10>Handles all communication</size> \n <size:10>with hardware</size>
23-
```
24-
25-
```puml
26-
(Entry) --> (PreTrial)
27-
(PreTrial) --> (Trial)
28-
(Trial) --> (Abort)
29-
(Trial) --> (Reward)
30-
(Trial) --> (Punish)
31-
(Trial) --> (Trial)
32-
(Abort) --> (InterTrial)
33-
(Reward) --> (InterTrial)
34-
(Punish) --> (InterTrial)
35-
(InterTrial)-->(Exit)
36-
```
23+
note left of database : <size:10>lab_experiments</size> \n<size:10>lab_behavior</size> \n<size:10>lab_stimuli</size>
24+
@enduml

utils/states.iuml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@startuml
2+
(Entry) --> (PreTrial)
3+
(PreTrial) --> (Trial)
4+
(Trial) --> (Abort)
5+
(Trial) --> (Reward)
6+
(Trial) --> (Punish)
7+
(Trial) --> (Trial)
8+
(Abort) --> (InterTrial)
9+
(Reward) --> (InterTrial)
10+
(Punish) --> (InterTrial)
11+
(InterTrial)-->(Exit)
12+
@enduml

0 commit comments

Comments
 (0)