This site shows how to use the AIDE toolset for the development of AAL solutions for people with neurogenerative diseases (NDD).
It first briefly explains what is AIDE, how to install it, and then a set of case studies that illustrate what can be done with it.
This has been developed in the context of the project ColoSAAL (TIN2014-57028-R), whose purpose is to facilitate the co-creation of AAL solutions for people with NDD.
The ColoSAAL project proposes a process that involves different actors: end-users, relatives, care-givers, health experts, sociologists, software engineers, and other relevant stakeholders.
They will co-create AAL solutions in an iterative process, where the interaction artifacts are simulations of scenarios of the solutions in daily activities of the end-users (in this case, the people with NDD).
These simulations can be seen and analysed by the different actors, who can comment on them, and such information is taken to provide a refined solution.
In order to do this, several tools from the AIDE Framework are used, mainly SociAALML Editor and PHAT Simulator.
AIDE stands for Ambient Intelligence Development Environment and is a set of tools to model, simulate and rapid prototype Ambient Intelligence systems. For more information please visit this link.
-
SociAALML Editor is a graphical editor to model the elements for the simulation. The editor is based on INGENME framework.
-
PHAT Framework is a set of tools (coded using Java) to model and simulate activities of daily living. The main components are:
2.1 PHAT Generator is a tool that transforms the model defined with SociAALML into java code which can then be executed to see the simulations in action.
2.2 PHAT Simulator is a simulator developed from scratch using jMonkeyEngine, which makes the entire framework FOSS.
Under GNU/Linux you can install it by typing these into the console:
sudo apt install openjdk-8-jre
sudo apt install openjdk-8-jdk-headless
You can check the java version with:
java -version
javac -version
To change between java versions:
sudo update-alternatives --config java
sudo apt install maven
If you need to set M2 variables add the following lines to your .bashrc or .zshrc or whatever you use:
export M2_HOME="/usr/share/maven"
export M2="$M2_HOME/bin"
export PATH="$M2:$PATH"
sudo apt install ant
- To generate the java code for the editor and simulations:
mvn clean compile
- To open SociAALML Editor you go to a project's folder and type:
ant edit
- To run a simulation
ant runSimName
NOTE: Bash completion for ant is useful when searching for simulations: http://ingenias.sourceforge.net/blog/2012/12/04/a-useful-bashcompletion-extension-for-ant/
Download full repository
git clone git@github.com:Melkoroth/AIDEdevelopment.git
cd AIDEdevelopment
Enter project directory, compile and run a simulation
cd e18interview
mvn clean compile
ant runSimTalkToTV
If you get an error message complaining about encoding you should call maven with the following line:
mvn clean compile -Dfile.encoding=UTF8
This should launch a PHATSIM window with the simulation. It should be similar to this one:
If you are interested in the modelling part:
cd e18interview
mvn clean compile
ant edit
This will laund the SociAALML editor, which is similar to this capture:
This development is part of ColoSAAL project (TIN2014-57028-R) which is funded by Spain's Ministerio de Economía y Competitividad. Developed at GRASIA research group in the Universidad Complutense de Madrid.