Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
3ebfe68
Added template specification file for Prism.
Ashutoshp Oct 18, 2019
70a04d7
Made changes to extract path from environment variables rather than h…
Ashutoshp Oct 18, 2019
ea7d87c
The first version of the README file specific to swim-hybrid project.
Ashutoshp Oct 18, 2019
19ecc84
Initial check in of configuration and stitch xtext DSL
schmerl Oct 29, 2019
69f506b
Implement editors for all aspects of rainbow configuration
schmerl Nov 14, 2019
312b7d5
Added standalone for xtext configuration and build exmample
schmerl Nov 15, 2019
f36ac7e
Updated rainbow-example for rbw configuration
schmerl Nov 15, 2019
656728b
Added utility model output
schmerl Nov 18, 2019
029ddc2
Added utility model output (example files)
schmerl Nov 18, 2019
09a4e37
some changes
schmerl Nov 19, 2019
110e876
Build with configuration DSL
schmerl Nov 19, 2019
aa6ebb8
Customized Reflections to not use old Guava
schmerl Nov 19, 2019
db614f9
Picked up the extra usage
schmerl Nov 19, 2019
2874194
Picked up the extra usage of Reflections
schmerl Nov 19, 2019
e31bcea
Picked up the extra usage of Reflections
schmerl Nov 19, 2019
fc4a561
Updated configuration to deal with utilities and reference stitch xtext
schmerl Nov 22, 2019
aea7e47
Merge
schmerl Nov 23, 2019
2a48da1
Added stitch to standalone setup.
schmerl Nov 23, 2019
b7acab9
Merge branch 'stitch-xtext' of https://github.com/cmu-able/rainbow in…
schmerl Nov 23, 2019
79db151
Added stitch language parsing to resolve configs
schmerl Nov 23, 2019
0b67b7d
Ensure stitch is built
schmerl Nov 23, 2019
9924b5c
Added proper copy
schmerl Nov 25, 2019
ab8824d
Merge switch
schmerl Nov 25, 2019
4f72db6
First cut of annotation based command factory.
schmerl Nov 25, 2019
09730dd
Some compilation fixes
schmerl Nov 25, 2019
98c7737
Some compilation fixes
schmerl Nov 25, 2019
0df7f20
Removed "smartness" about command typing
schmerl Nov 26, 2019
1d88f6b
Fixed arg length bug
schmerl Nov 26, 2019
da1062d
Merge remote-tracking branch 'origin/feature/typed-commands' into
schmerl Nov 26, 2019
af34a9c
Checked in missing file
schmerl Nov 26, 2019
80a5120
Fixed reference to acme xtext
schmerl Nov 26, 2019
11f7cd8
Fixed reference to acme xtext
schmerl Nov 26, 2019
7786203
Initial commit of Acme Xtext files for use in Rainbow specs
schmerl Dec 9, 2019
17a61d7
Added Acme checking and command factory specification
schmerl Dec 9, 2019
e7686d5
Added Acme checking and command factory specification
schmerl Dec 9, 2019
8cd9427
Updated command autocomplete and factory Java generation
schmerl Dec 10, 2019
c9350c2
Updated docker file to include acme.xtext
schmerl Dec 12, 2019
b4ee66a
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 12, 2019
809cb69
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 12, 2019
57e5fb6
Move directories for acme.xtext back
schmerl Dec 12, 2019
d19273d
Move directories for acme.xtext back
schmerl Dec 12, 2019
666dc5b
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 12, 2019
7b9f7c4
Removed generated directories
schmerl Dec 12, 2019
7d6007a
Removed generated directories
schmerl Dec 12, 2019
48ef2b6
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 12, 2019
cae0d78
Added missing files
schmerl Dec 12, 2019
d536e93
use the right acme version
schmerl Dec 12, 2019
3b6e01b
Adding rainbow-example files
schmerl Dec 12, 2019
d2ed9fa
Added ^ to new keywords
schmerl Dec 13, 2019
22b5ab5
Merged
schmerl Dec 13, 2019
3f5b895
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 13, 2019
42cdb29
Added some guards around instances
schmerl Dec 13, 2019
7d0ad07
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 13, 2019
3a6a210
Move source generation
schmerl Dec 13, 2019
7cee284
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 13, 2019
fe1672e
Removes swim command factory
schmerl Dec 13, 2019
6177460
Removed SwimCommandFactory
schmerl Dec 13, 2019
1bc9324
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 13, 2019
c24f95c
Implemented GUI spec generation and removed files from rainbow-example
schmerl Dec 20, 2019
ed8f259
nl
schmerl Dec 20, 2019
3490b41
Fixing compilation errors
schmerl Dec 20, 2019
a417a85
return exception
schmerl Dec 20, 2019
06ab1f7
Changed example generate location to be consistent with pom
schmerl Dec 20, 2019
b3440cb
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 20, 2019
86ddf05
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 20, 2019
d9feac4
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 20, 2019
691d7a4
throwing exc
schmerl Dec 20, 2019
bd8d937
Update pom to depend on rainbow-acme 3.0.0
schmerl Dec 20, 2019
24733cf
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 20, 2019
cabca6e
Updated copy location in docker file
schmerl Dec 20, 2019
552895a
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 20, 2019
c0a5afe
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 20, 2019
fcf7f9d
Tracing
schmerl Dec 20, 2019
3ea4586
Tracing
schmerl Dec 20, 2019
d93070b
nl
schmerl Dec 23, 2019
a7f214e
Strip quotes from filename properties.
schmerl Dec 23, 2019
c2c4a88
Strip quotes from target
schmerl Dec 23, 2019
358385e
Merge
schmerl Dec 23, 2019
0655503
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 23, 2019
7d7de13
Fixed bug in gauge output.
schmerl Dec 23, 2019
5486dad
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 23, 2019
1ef68f6
Added corrected gauge file
schmerl Dec 23, 2019
e1cda3c
Strip quotes from target
schmerl Dec 23, 2019
38d509b
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 23, 2019
7a623b3
Fixed NPE on ~ for non-strings
schmerl Dec 23, 2019
3359c46
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 23, 2019
3edaf3c
Changed setupParams & configParams to setupValues/configValues for
schmerl Dec 23, 2019
32957ec
Handle targetProbe and GUI classes
schmerl Dec 30, 2019
72c36f1
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 30, 2019
84a3a1a
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 30, 2019
6b11cae
Fixed model load class output
schmerl Dec 30, 2019
ce3f2a5
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 30, 2019
59746f1
More quote consistency
schmerl Dec 30, 2019
b412d5b
More quote consistency
schmerl Dec 30, 2019
246cc06
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 30, 2019
831df0c
Fixed NPE
schmerl Dec 30, 2019
4bfd92c
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 30, 2019
70c2abd
Property file now output without quotes.
schmerl Dec 30, 2019
c4afacb
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 30, 2019
1900963
Putting quotes around effector commands
schmerl Dec 30, 2019
ba2f73b
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 30, 2019
2229303
Added properties back for Acme substitution
schmerl Dec 30, 2019
89d14e3
Removed extraneous command
schmerl Dec 30, 2019
afa39e6
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 31, 2019
e4e11f8
Fixed error with gauge.yml output of targetProbeType
schmerl Dec 31, 2019
9bccdc0
NL
schmerl Dec 31, 2019
2114bcb
merge
schmerl Dec 31, 2019
636f28f
Changed targetProbeType and targetProbeList to be special gauge attrs
schmerl Dec 31, 2019
03b44ce
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 31, 2019
2303ff2
Fixed bug in generation of analysis
schmerl Dec 31, 2019
f13b124
NL
schmerl Dec 31, 2019
38c8340
Fixed problem with beaconPeriod
schmerl Dec 31, 2019
6b37ad0
Merge
schmerl Dec 31, 2019
57d6848
Changed root of grammar from ConfigModel to RainbowConfiguration
schmerl Dec 31, 2019
0d154f3
Deal with Integer, Long, etc.
schmerl Dec 31, 2019
8033344
Merge
schmerl Dec 31, 2019
2083312
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Dec 31, 2019
aef0006
Fixed generation of ui.yml
schmerl Dec 31, 2019
cf756a7
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Jan 2, 2020
cd1f1d2
Fixed path for finding effectors
schmerl Jan 2, 2020
6583afe
Redirect stderr to consol log too
schmerl Jan 2, 2020
c6fc92f
nl
schmerl Jan 2, 2020
68bcfc6
merge
schmerl Jan 2, 2020
dc5f31d
Better conversion of Int and Long
schmerl Jan 2, 2020
a412ae4
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Jan 2, 2020
f9ff978
Made typing more robust
schmerl Jan 2, 2020
a921d55
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Jan 2, 2020
c14f662
Made typing more robust
schmerl Jan 2, 2020
e4dfd6e
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Jan 2, 2020
1a11b19
Made typing more robust
schmerl Jan 2, 2020
33d1c30
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Jan 2, 2020
988145a
Fixed bug in generation of utilities
schmerl Jan 2, 2020
6aa12ee
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Jan 2, 2020
ca77894
Fixed error in probe and gauge specification
schmerl Jan 2, 2020
fd37ba9
Added reference to RCL
schmerl Jan 2, 2020
3669c6e
Added stitch and acme to RCL feature
schmerl Jan 2, 2020
41201bf
Added stitch feature
schmerl Jan 2, 2020
217268f
Updated pom to build source package
schmerl Jan 2, 2020
8ac315a
Including stitch and acme
schmerl Jan 2, 2020
b486383
Updating documentation
schmerl Jan 8, 2020
777aa40
Attempt to add guillemet insertion
schmerl Jan 8, 2020
123657f
Update to example properties
schmerl Jan 8, 2020
f210559
force add?
schmerl Jan 8, 2020
6ad0b8c
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Jan 8, 2020
9338b9d
Updated document.
Jan 22, 2020
d6c7a34
Added getParameters for getting parameter lists
schmerl Jan 28, 2020
1178a0f
Added information about gauges.
schmerl Jan 28, 2020
9b51441
Added an easy regular expression gauge for generation
schmerl Jan 28, 2020
fcc023f
Added validation to check regexp command mixture
schmerl Jan 28, 2020
8c34e00
Added code and documentation for generated regular pattern gauges
schmerl Jan 29, 2020
8e858cd
FIxed bug in gauge generation and added spec for rainbow-example
schmerl Jan 29, 2020
03beb3a
Added some documentation for effectors
schmerl Jan 29, 2020
467da05
Added Rainbow project template for New Project...
schmerl Jan 30, 2020
a212f57
Added icons
schmerl Jan 30, 2020
fe4801f
Updated icon for rbw files
schmerl Jan 30, 2020
19e5a83
Added new Rainbow target generation
schmerl Jan 31, 2020
a627243
Change ConfgiModel to Rcl for better meaning
schmerl Feb 3, 2020
13dd560
Added documentation for the RCL project wizard and Maven building.
schmerl Feb 4, 2020
cd8a9b5
Added MIT license
schmerl Feb 4, 2020
54e872c
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 5, 2020
0e98cbb
Hyperlink to imported files.
schmerl Feb 5, 2020
339ad5c
Hyperlink to imported files.
schmerl Feb 5, 2020
cb2da1a
Added code mining annotation to insert values of properties
schmerl Feb 5, 2020
aaca745
Fixed imports
schmerl Feb 5, 2020
e331a85
Fixed error in valdiation using wrong node
schmerl Feb 5, 2020
99a1a41
Added code mining annotation to insert values of properties
schmerl Feb 5, 2020
a2ae29f
Plugin for code mining and some images
schmerl Feb 5, 2020
1ca71cc
Updated with some fixes
schmerl Feb 5, 2020
a932816
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 5, 2020
51c5613
Renamed RCL.xtext to rcl.xtext for cross platform okness
schmerl Feb 5, 2020
d120a43
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 5, 2020
4cfa6e7
Updated manifest version to match plugin version
schmerl Feb 5, 2020
1255752
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 5, 2020
8389008
Updated manifest version to match plugin version
schmerl Feb 5, 2020
ce61a41
Try ignore line endings
schmerl Feb 6, 2020
64680ac
Ay NL
schmerl Feb 6, 2020
bb19374
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 6, 2020
ec95d3c
Updated versions
schmerl Feb 6, 2020
090e7fd
Merge pull request #85 from cmu-able/swim-hybrid
schmerl Feb 6, 2020
e671c7e
Merge pull request #84 from Ashutoshp/swim-hybrid
schmerl Feb 6, 2020
cc23473
Merge pull request #88 from cmu-able/swim-hybrid
schmerl Feb 6, 2020
a9665aa
Updated pom and manifest versions
schmerl Feb 6, 2020
36703a8
Changed log4j dependency
schmerl Feb 6, 2020
050b9a4
Updarted
schmerl Feb 6, 2020
1b8b110
Updarted
schmerl Feb 6, 2020
0dd5508
Updarted
schmerl Feb 6, 2020
4e6b63b
Updarted
schmerl Feb 6, 2020
3997fe9
Merge branch 'feature/stitch-xtext' of
schmerl Feb 6, 2020
a9a4c91
Added validator for filename
schmerl Feb 6, 2020
ebd726a
Auto insert and matching of french quotes, and commands to insert
schmerl Feb 7, 2020
b469f5a
Bug fixes in factory and string validation
schmerl Feb 7, 2020
4ebe26a
Added proposals for model commands and some quick fixes
schmerl Feb 10, 2020
a44d718
Better support for class completion and typechecking properties
schmerl Feb 12, 2020
a02bf77
Fixed problem with french quote insertion and property template
schmerl Feb 12, 2020
8e656b6
Added support for command templates in gauges and effectors
schmerl Feb 12, 2020
806c743
Fixed some reference errors
schmerl Feb 12, 2020
c097407
Updated to build properly
Feb 13, 2020
591a1a8
Hmm
Feb 17, 2020
70ae767
Fixed some minor bugs
Feb 17, 2020
a637a5d
Fixed configuration checking ordering issue
Feb 18, 2020
d4db38c
Refactored [AVG], [MAX], [CALL] up to AcmeModelInstance
Feb 20, 2020
2859a2c
Added documentation for utility models
Feb 20, 2020
8e3790d
Better handling of operation parsing.
Feb 20, 2020
a51facd
Updated pom versioning
Feb 20, 2020
9504f6b
Updated pom versioning
Feb 20, 2020
130484d
Fixed check configuration ordering
Feb 20, 2020
22ec8a2
NL
Feb 20, 2020
a34650c
NL
Feb 20, 2020
d81f04e
Removed extraneous information
Feb 20, 2020
8b0e9b0
Updated pom versioning
Feb 20, 2020
a97e556
NL
Feb 20, 2020
3c174a7
Fixed gauge model factories to be backward compatible with classes.
Feb 20, 2020
6ecdfb1
Updated pom versioning
Feb 20, 2020
c6a1dd4
Merge
schmerl Feb 20, 2020
6dbcfb8
Merge
schmerl Feb 20, 2020
f2a86cc
Updated pom versioning
Feb 20, 2020
0253122
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 20, 2020
10f624d
Forcing new version
Feb 20, 2020
d8d84b5
Trying to fix clean build bug with tycho
Feb 20, 2020
b9121f7
merge
schmerl Feb 20, 2020
96cf494
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 20, 2020
f704b34
Trying to fix clean build bug with tycho
Feb 20, 2020
c376806
merge
schmerl Feb 20, 2020
623b54c
Updated pom versioning
Feb 20, 2020
46551ac
Merge
schmerl Feb 20, 2020
482e089
Merge branch 'feature/stitch-xtext' of https://github.com/cmu-able/ra…
schmerl Feb 20, 2020
673d2d6
Fixed some table formatting
schmerl Feb 21, 2020
516cf92
Added instructions for how to use DOTALL equivalent
Feb 21, 2020
9f7862c
Merge pull request #90 from cmu-able/feature/stitch-xtext
schmerl Feb 21, 2020
38b420a
???
Feb 21, 2020
cde1e63
NL
schmerl Feb 21, 2020
5f3b21f
Merge branch 'develop' of https://github.com/cmu-able/rainbow into de…
schmerl Feb 21, 2020
a040bbd
hmmm
schmerl Feb 21, 2020
40bca8f
Fixed imports.
Feb 21, 2020
ab440ac
Added project stuff and .gitignore
Feb 21, 2020
0ae302f
Fixed up classpath stuff.
Feb 21, 2020
884a2c1
Added licence to Acme
schmerl Feb 24, 2020
1068519
Updated license for Stitch
schmerl Feb 24, 2020
5ea8b36
Fixed error in feature
Feb 24, 2020
e8ca174
Put utility information back in (lost in merge)
Mar 2, 2020
bf95122
Fixed some problems with building SWIM
Mar 2, 2020
a73344e
Merged just the RCL part of feature/xtext-acme
Mar 4, 2020
837194c
Updated for new type reference
Mar 4, 2020
3fbbca6
Updated docker file
Mar 4, 2020
98f62d5
Merge branch 'develop' into temp_merge
schmerl Jul 3, 2020
c88e88e
Merge pull request #98 from cmu-able/temp_merge
schmerl Jul 3, 2020
88371f9
Merge branch 'develop' of https://github.com/cmu-able/rainbow.git int…
schmerl Jul 23, 2020
ea32795
Some updates for logging and changes to the language
schmerl Aug 28, 2020
cafdf2d
Merge branch 'develop' into bug/86
schmerl Sep 14, 2020
d14cc5e
Merge pull request #89 from cmu-able/bug/86
schmerl Sep 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

*.sh text eol=lf
*.bat text eol=crlf
* -crlf
10 changes: 10 additions & 0 deletions README-Swim-Hybrid
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Use ./compile.sh to build Rainbow.
Set the following environment variables

(1) RAINBOW - should point to the Rainbow directory. This path is used to location final_ibl.prism file used to generate Pism specification. The path to this file should be $RAINBOW/pladapt/templates/final_ibl.prism
(2) PRISM - should point to the directory where Prism is installed.

Other potential settings that might need a change.

Path to SWIG installation might depend on a specific machine. SWIG is used to compile pladapt project. Refer to the compilation instruction for pladapt project.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ Research into Rainbow at CMU can be found in quite a few papers, detailed on the
- [Building from Source](#building)
- [New and Noteworthy in Rainbow Yellow](NewAndNoteworthy.md)
- [Rainbow Simple Example Setup](deployments/rainbow-example/docker/INSTRUCTIONS.md)
- [Rainbow Configuration IDE with Eclipse and XText](documents/RCL.md)

## Repository organization
This repository is organized into the following folders:

- **libs**: Contains the source of some in-house libraries used by Rainbow for distributed communication.
- **rainbow**: Contains Rainbow framework code, including definition of general Acme models for use inside the Models Manager, and the source for the adaptation language *Stitch*.
- **deployments**: Contains code to implement various specializations of Rainbow used in research projects
- **ide**: Contains code to implement specialized UIs, IDE integration, etc. that are probably not of general interest but are here for completeness.
- **ide**: Contains code to implement specialized UIs, IDE integration, etc. The Eclipse Rainbow configuration plugins live here, as well as some redundant and old code.
- **documents**: Contains various documentation associated with using Rainbow
- **scripts**: Contains the scripts that are placed in the deployment that is constructed when building Rainbow
- **target-system/znn**: Contains the code for implementing one of the benchmark systems described in papers, ZNN.
Expand Down
41 changes: 24 additions & 17 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,57 +102,64 @@ cd libs/

echo "Doing $target for auxtestlib"
cd auxtestlib
mvn $SKIPTESTS $target || exit 1
mvn $SKIPTESTS $target

echo "Doing $target for incubator"
cd ../incubator
mvn $SKIPTESTS $target || exit 1
mvn $SKIPTESTS $target

echo "Doing $target for parsec"
cd ../parsec
mvn -DskipTests $jcctarget || exit 1
mvn -DskipTests $jcctarget

echo "Doing $target for typelib"
cd ../typelib
mvn $SKIPTESTS $jcctarget || exit 1
mvn $SKIPTESTS $jcctarget

echo "Doing $target for eselib"
cd ../eseblib
mvn -DskipTests $target || exit 1
mvn -DskipTests $target

cd ../../rainbow

echo "Doing $target for rainbow-core"
cd rainbow-core
mvn -DskipTests $target || exit 1
mvn -DskipTests $target

echo "Doing $target for rainbow-gui"
cd ../rainbow-gui
mvn -DskipTests $target || exit 1
mvn -DskipTests $target

echo "Doing $target for rainbow-acme-model"
cd ../rainbow-acme-model
mvn -DskipTests $target || exit 1
mvn -DskipTests $target

echo "Doing $target for rainbow-stitch"
cd ../rainbow-stitch
mvn $SKIPTESTS $target

echo "Doing $target for rainbow-utility-model"
cd ../rainbow-utility-model || exit 1
mvn $target
cd ../rainbow-utility-model
mvn $SKIPTESTS $target

echo "Doing $target for rainbow-stitch"
echo "Doing $target for rainbow-mem-comms"
cd ../rainbow-mem-comms
mvn $SKIPTESTS $target

cd ../rainbow-stitch
mvn $SKIPTESTS $target || exit 1
cd ../../ide/org.acme.xtext.parent
mvn $SKIPTESTS $target

echo "Doing $target for rainbow-gui"
cd ../../ide/org.sa.rainbow.stitch.parent
mvn $SKIPTESTS $target

cd ../rainbow-gui
mvn $SKIPTESTS $target || exit 1
cd ../../ide/org.sa.rainbow.configuration.parent
mvn $SKIPTESTS $target

cd ../..
BUILDDIR=`pwd`
cd $DEPLOYMENT
echo "Doing $target in $(pwd)"
mvn $SKIPTESTS $target || exit 1
mvn $SKIPTESTS $target

if [[ "$target" == "install" ]]; then
mkdir -p $BUILDDIR/bin/lib
Expand Down
5 changes: 5 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
./build.sh -s -d rainbow-swim-hybrid -t swim-hybrid
cp rainbow-swim.properties Rainbow-build/targets/swim-hybrid/
cp -rf pladapt/ Rainbow-build/

6 changes: 3 additions & 3 deletions deployments/rainbow-brass/brass-p3-cp1/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/log/
/prism/
log/
prism/

!/prism/mapbotp2cp1.props
!mapbotp2cp1.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
R{"time"}min=? [ F goal ]

R{"energy"}max=? [ F end ]


170 changes: 85 additions & 85 deletions deployments/rainbow-brass/brass-p3-cp1/rainbow-cp1_ta.properties
Original file line number Diff line number Diff line change
@@ -1,86 +1,86 @@
logging.level = INFO
event.log.path = log
logging.path = ${event.log.path}/rainbow.out
monitoring.log.path = ${event.log.path}/rainbow-data.log
rainbow.deployment.location=cp1_ta
rainbow.master.location.host = cp1_ta
rainbow.master.location.port = 1100
rainbow.deployment.environment = linux
rainbow.event.service = eseb
rainbow.port.timeout=120000
rainbow.delegate.beaconperiod = 10000
rainbow.deployment.factory.class = org.sa.rainbow.core.ports.eseb.ESEBRainbowPortFactory
rainbow.model.number = 7
# Rainbow instruction graph model
#/home/vagrant/catkin_ws/src/cp1_gazebo/instructions/newnav.ig
rainbow.model.load.class_3 = org.sa.rainbow.brass.model.instructions.InstructionGraphCommandFactory
rainbow.model.name_3 = ExecutingInstructionGraph
#
rainbow.model.load.class_4 = org.sa.rainbow.brass.model.p2_cp3.mission.MissionCommandFactory
rainbow.model.name_4 = MissionState
rainbow.model.saveOnClose_4=true
rainbow.model.saveLocation_4=model/state-post.txt
rainbow.model.load.class_5 = org.sa.rainbow.brass.model.map.EnvMapCommandFactory
rainbow.model.name_5 = Map
rainbow.model.load.class_0=org.sa.rainbow.brass.model.p2_cp3.rainbowState.RainbowStateCommandFactory
rainbow.model.name_0=RainbowState
rainbow.model.load.class_2 =org.sa.rainbow.brass.model.p2_cp1.robot.CP1RobotStateCommandFactory
rainbow.model.name_2 = Robot
rainbow.model.saveOnClose_2=true
rainbow.model.saveLocation_2=model/robot-post.txt
rainbow.model.load.class_1 = org.sa.rainbow.brass.model.p2_cp3.clock.ClockCommandFactory
rainbow.model.name_1 = Clock
rainbow.model.load.class_6 = org.sa.rainbow.brass.p3_cp1.model.power.PowerModelCommandFactory
rainbow.model.name_6 = Power
rainbow.model.path_6 = /home/mars/cp1/config_list.json
rainbow.analyses.size = 4
rainbow.analyses_0 = org.sa.rainbow.brass.analyses.p2_cp3.UpdateClockModel
rainbow.analyses_1 = org.sa.rainbow.brass.analyses.p2_cp1.BRASSMissionAnalyzer
rainbow.analyses_2 = org.sa.rainbow.brass.analyses.p2_cp1.EnergyConsumptionAnalyzer
rainbow.analyses_3 = org.sa.rainbow.brass.analyses.IGWaypointAnalyzer
rainbow.adaptation.manager.size = 1
rainbow.adaptation.manager.class_0 = org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner
rainbow.adaptation.manager.model_0 = RainbowState:RainbowState
rainbow.adaptation.executor.size = 1
rainbow.adaptation.executor.class_0 = org.sa.rainbow.brass.adaptation.PlanExecutor
rainbow.adaptation.executor.model_0 = RainbowState:RainbowState
rainbow.effector.manager.size = 1
rainbow.effector.manager.class_0 = org.sa.rainbow.brass.effectors.BRASSEffectorManager
rainbow.gui = org.sa.rainbow.gui.RainbowWindow
# PRISM properties - not relative to target
prism.bin = ~/das/prism-4.3.1-linux64/bin/prism
prism.model = ${rainbow.path}/prism/prismtmp.prism
prism.properties = ${rainbow.path}/prism/mapbotp2cp1.props
prism.parameters = INITIAL_BATTERY=5000
prism.adv.export = ${rainbow.path}/prism/botpolicy.adv
prism.tmpdir = "${rainbow.path}/prism/"
customize.map.json = ~/catkin_ws/src/cp1_base/maps/cp1_map.json
customize.model.evaluate.period = 2000
customize.gauges.path = model/gauges.yml
customize.probes.path = system/probes.yml
customize.effectors.path = system/effectors.yml
customize.scripts.path = stitch
customize.system.target.master = ${rainbow.master.location.host}
customize.system.target.ros = ${rainbow.master.location.host}
brass.challenge = 3
configsource = ~/cp1/config_list.json
logging.level = INFO
event.log.path = log
logging.path = ${event.log.path}/rainbow.out
monitoring.log.path = ${event.log.path}/rainbow-data.log

rainbow.master.location.host = 127.0.0.1
rainbow.master.location.port = 1100
rainbow.deployment.environment = linux
rainbow.event.service = local

rainbow.delegate.beaconperiod = 10000
rainbow.deployment.factory.class = org.sa.rainbow.core.ports.guava.GuavaRainbowPortFactory

rainbow.model.number = 7

# Rainbow instruction graph model
#/home/vagrant/catkin_ws/src/cp1_gazebo/instructions/newnav.ig
rainbow.model.load.class_3 = org.sa.rainbow.brass.model.instructions.InstructionGraphCommandFactory
rainbow.model.name_3 = ExecutingInstructionGraph
#
rainbow.model.load.class_4 = org.sa.rainbow.brass.model.p2_cp3.mission.MissionCommandFactory
rainbow.model.name_4 = MissionState
rainbow.model.saveOnClose_4=true
rainbow.model.saveLocation_4=model/state-post.txt

rainbow.model.load.class_5 = org.sa.rainbow.brass.model.map.EnvMapCommandFactory
rainbow.model.name_5 = Map

rainbow.model.load.class_0=org.sa.rainbow.brass.model.p2_cp3.rainbowState.RainbowStateCommandFactory
rainbow.model.name_0=RainbowState


rainbow.model.load.class_2 =org.sa.rainbow.brass.p3_cp1.model.robot.CP1RobotStateCommandFactory
rainbow.model.name_2 = Robot
rainbow.model.saveOnClose_2=true
rainbow.model.saveLocation_2=model/robot-post.txt

rainbow.model.load.class_1 = org.sa.rainbow.brass.model.p2_cp3.clock.ClockCommandFactory
rainbow.model.name_1 = Clock

rainbow.model.load.class_6 = org.sa.rainbow.brass.p3_cp1.model.power.PowerModelCommandFactory
rainbow.model.name_6 = Power
rainbow.model.path_6 = /home/mars/cp1/config_list.json


rainbow.analyses.size = 5
rainbow.analyses_0 = org.sa.rainbow.brass.analyses.p2_cp3.UpdateClockModel
rainbow.analyses_1 = org.sa.rainbow.brass.p3_cp1.analysis.BRASSMissionAnalyzer
rainbow.analyses_2 = org.sa.rainbow.brass.p3_cp1.analysis.EnergyConsumptionAnalyzer
rainbow.analyses_3 = org.sa.rainbow.brass.analyses.IGWaypointAnalyzer
rainbow.analyses_4 = org.sa.rainbow.brass.p3_cp1.analysis.MapResetter

rainbow.adaptation.manager.size = 1
rainbow.adaptation.manager.class_0 = org.sa.rainbow.brass.p3_cp1.adaptation.CP1BRASSAdaptationPlanner
rainbow.adaptation.manager.model_0 = RainbowState:RainbowState

rainbow.adaptation.executor.size = 1
rainbow.adaptation.executor.class_0 = org.sa.rainbow.brass.adaptation.PlanExecutor
rainbow.adaptation.executor.model_0 = RainbowState:RainbowState

rainbow.effector.manager.size = 1
rainbow.effector.manager.class_0 = org.sa.rainbow.brass.effectors.BRASSEffectorManager

rainbow.gui = org.sa.rainbow.gui.RainbowWindow

# PRISM properties - not relative to target
prism.bin = ~/das/prism-4.3.1-linux64/bin/prism
prism.model = ${rainbow.path}/prism/prismtmp.prism
prism.properties = ${rainbow.path}/prism/mapbotp2cp1.props
prism.parameters = INITIAL_BATTERY=5000
prism.adv.export = ${rainbow.path}/prism/botpolicy.adv
prism.tmpdir = "/home/mars/logs/prism/"
customize.map.json = ~/catkin_ws/src/cp1_base/maps/cp1_map.json

customize.model.evaluate.period = 2000
customize.gauges.path = model/gauges.yml
customize.probes.path = system/probes.yml
customize.effectors.path = system/effectors.yml
customize.scripts.path = stitch

customize.system.target.master = ${rainbow.master.location.host}
customize.system.target.ros = ${rainbow.master.location.host}
brass.challenge = 3

configsource = ~/cp1/config_list.json
batteryconfigsource = ~/cp1/config.json
Loading