Ardumower software design: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Finate state machine)
Zeile 1: Zeile 1:
 
This page describes some internals of the Ardumower software architecture.
 
This page describes some internals of the Ardumower software architecture.
  
==Finate state machine==
+
=Finate state machine=
 
Main component of the software is a so called 'finate 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.
 
Main component of the software is a so called 'finate 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.
  
Zeile 13: Zeile 13:
 
*If obstacle during reverse => roll
 
*If obstacle during reverse => roll
 
*If obstacle during roll => forward
 
*If obstacle during roll => forward
 +
 +
 +
=Further links=

Version vom 13. September 2014, 14:54 Uhr

This page describes some internals of the Ardumower software architecture.

Finate state machine

Main component of the software is a so called 'finate 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

Implemented updates:

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


Further links