Ardumower software design ru: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Further links)
Zeile 20: Zeile 20:
  
  
=Further links=
+
=Ссылки=

Version vom 23. August 2015, 14:41 Uhr

Эта страница описывает некоторые внутренние архитектуры программного обеспечения Ardumower.

Finite state machine

Main component of the software is a so called 'finite state machine', that means there exists a set of states ("OFF", "FORWARD", "ROLL", etc.) that the robot can be in. Depending on events (sensor is triggering etc.), the robot will enter a new state.

State diagram (Note: The drawing has been created using draw.io)

Implemented updates:

  • If obstacle during reverse => roll
  • If obstacle during roll => forward

C++ classes/interfaces


Ссылки