Skip to the content.

Usage

To run this sprint, 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 weight sensor mock

    gradlew runWeightSensor
    
  3. Run the sonar mock

    gradlew runSonar   
    
  4. Run the application

    gradlew run
    

Weight Sensor Mock

To update the weight you have to insert an integer:

> 10
Weight updated to 10

Sonar Mock

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