MDETools2018

This page contains links to two solutions of the follower rover challenge problem of the MDETools 2018 workshop, which we submitted to the workshop along with the paper titled Modeling and Programming a Leader-Follower Challenge Problem with Scenario-Based Tools.

We present two solutions, one based on a framework for Inter-Object Scenario Modeling in Kotlin (IOSM-K), and one based on a framework for Behavioral Programming in JavaScript (BPjs).

In the following, you find links to the sources and executable JARs of the solutions:

BPjs Solution

Find sources, JAR and further instructions on https://github.com/bThink-BGU/BPjsLeaderFollower.

See also the BPjs repository under https://github.com/bThink-BGU/BPjs.

IOSM-K solution

Sources

The IOSM-K framework builds on the Behavioral Programming for Kotlin (BPK) framework. Check out the sources from the master branches of the two repositories below:

  1. BPK: https://bitbucket.org/jgreenyer/behavioral-programming-for-kotlin/
  2. IOSM-K (including solution to the challenge problem): https://bitbucket.org/jgreenyer/scenario-based-programming-for-kotlin/

The scenario program for the rover follower challenge is located in /src/test/kotlin/org/scenariotools/sbp/examples/rovercontroller/.

Building the sources requires Gradle, and the code of both repositories to be cloned locally in the same directory. The main executable for the solution is org/scenariotools/sbp/examples/rovercontroller/RobotControllerScenarioProgram.kt. To build the jar, execute the Gradle task customCompileExecutableFatJarFollowerRoverController.

Binaries

  • JAR:
  • complete setup (Windows):
    • Download and unzip this archive file.
    • In order to run the follower rover simulation with the IOSM-K solution, perform the following three steps:
      1. Execute FIRST-run-simulator.bat and start the simulation by pressing ‘Play!’
      2. Execute SECOND-run-Unity-Observer.bat
      3. Execute THIRD-run-IOSM-K-Rover-Controller.bat
      4.  …The rover should start moving.