Skip to content

Grasia/phatsim

Repository files navigation

PHAT Simulator

Build Status Codacy Badge License: GPL v3 OpenJDK Version Maven Version

Physical Human Activity Tester Simulator is a JAVA platform for the 3d simulation of Ambient Assisted Living Environments.

It is used to model scenarios where simulated humans recreate activities of daily life. Filters can then be added that represent an illness.

Requirements

Java 1.8 at least (set variable JAVA_HOME)

Install it by typing:

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

Maven 3.1.1+ at least (set variable M2_HOME)

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"

Usage

Generating Javadocs

mvn site:site

Output can be found in /target/site/

Installing

mvn clean install

Useful plugins used

Dependencies

To generate dependency graphs you can use the included depgraph-maven-plugin. See https://github.com/ferstl/depgraph-maven-plugin An example:

mvn depgraph:graph -DgraphFormat="text"

Common output formats are "text" "json" or "dot". For viewing dot files in Ubuntu the package "Xdot" is easily found and used.

Cyclomatic complexity analysis

To generate html reports javancss-maven-plugin is used. See http://www.mojohaus.org/javancss-maven-plugin/index.html As for phatsim we have no source but we have child modules it is advised by the developer to use:

mvn clean site
mvn jancss:report

About

phatsim is platform for 3d simulation of Ambient Assisted Living

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages