Skip to the content.

Usage

To run this sprint you can use Gradle or Docker

Gradle

Run the following commands each on their own shell:

  1. Run the WEnv and the BasicRobot

    docker-compose -f basicrobotVirtual.yaml up
    
  2. Run the indoorarea

    gradlew indoorarea:run
    
  3. Run the outdoorarea

    gradlew outdoorarea:run
    
  4. Run the parkmanagerservice

    gradlew parkmanagerservice:run
    

Docker

First you have to create a docker image for each subproject:

cd indoorarea
docker build --rm -t indoorarea .

cd outdoorarea
docker build --rm -t outdoorarea .

cd parkmanagerservice
docker build --rm -t parkmanagerservice .

Then you can just run the docker compose file:

docker-compose -f automatedcarparking.yaml up

Indoorarea

To update the weight you have to insert an integer:

> 10
Weight updated to 10

Outdoorarea

To update the sonar state you have to insert true or false:

> true
Sonar engaged: true

REST-API

To send commands throught the REST-API you can use:

To learn about the REST-API commands available in this sprint check out the documentation