/eduMorse

Primary LanguageCGNU General Public License v3.0GPL-3.0

Morse simulator environment

The aim of this project is to enhance the existing educational tool for the robotics course based on Morse.

features to implement

  • Simplify the installation through an installer script
  • Configure and start a simulation from a conf file
  • Detect collisions
  • Scoring
  • Simulate energy losses
  • Robot2robot communication with bandwidth limits
  • Possibility to use different machines for environment and robots

Installation

Bash script installer.sh installs Morse simulator and all dependencies useful to the project.
To run the script open a terminal and type:
$ chmod +x installer.sh
$ ./installer.sh
The installer needs an Internet connection and apt-get command, it was tested on Xubuntu 14.04.4 and Xubuntu 16.04.1.
Check your system requirements and find other informations about Morse simulator here.

Dependencies list:

  • cmake
  • cmake-data
  • pkg-config
  • g++
  • scons
  • openjdk-8-jre-headless
  • openjdk-8-jdk
  • blender
  • git
  • python3
  • python3-dev
  • python3-numpy
  • python3-pip
  • pytoml

Directory diagram

After the installation new files are added in /opt. At the top of directory hierarchy there is eduMorse folder, it contains:

  • games -> blend files for maps and objects, conf files for games and robots
  • libraries -> C and Java libraries to support programming in these languages
  • score -> scripts to count score and collisions, a layer manages communication between them
  • socket -> client-server communication
  • project_template -> configuration files (TOML format) to set a simulation, main function in C and Java, example of Python script to control a robot

See directory diagram.