Smart Minotaur
 Alle Klassen Dateien Funktionen Variablen Seiten
minotaur::BugZeroAlgorithm Klassenreferenz

Implements the bug 0 algorithm. Mehr ...

#include <BugZeroAlgorithm.hpp>

Klassendiagramm für minotaur::BugZeroAlgorithm:
minotaur::MovementAlgorithmSensor

Öffentliche Methoden

virtual RobotPosition getNextPosition (const RobotPosition pos)
 Calculates the next target position, to which the robot should move.
- Öffentliche Methoden geerbt von minotaur::MovementAlgorithmSensor
void setSensorValue (const int p_sensor, const int p_distance)
bool checkFrontObstacle ()
RobotPosition calculateNewPosition (float x, float y, float theta)

Ausführliche Beschreibung

Implements the bug 0 algorithm.

This class is an implementation of MovementAlgorithmSensor and realizes a bug 0 behaviour.

Dokumentation der Elementfunktionen

RobotPosition minotaur::BugZeroAlgorithm::getNextPosition ( const RobotPosition  pos)
virtual

Calculates the next target position, to which the robot should move.

Parameter
poscurrent position of the robot
Rückgabe
next target position of the robot

Implementiert minotaur::MovementAlgorithmSensor.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: