Direction

Contents

Direction#

Possibly the simplest non trivial task: move towards a direction.

Example#

The video has been recorded using

$ navground_py record_video direction.yaml direction.mp4 --factor 5

with the following configuration

steps: 100
time_step: 0.0333
scenario:
  groups:
    - type: thymio
      color: darkcyan
      number: 1
      radius: 0.1
      control_period: 0.1
      orientation: 1
      kinematics:
        type: 2WDiff
        max_speed: 1
        max_angular_speed: 3.14
        wheel_axis: 0.2
      behavior:
        type: Dummy
      task:
        type: Direction
        direction: [1, 0]