![]() |
Smart Minotaur
|
Implements the bug 0 algorithm. Mehr ...
#include <BugZeroAlgorithm.hpp>
Öffentliche Methoden | |
virtual RobotPosition | getNextPosition (const RobotPosition pos) |
Calculates the next target position, to which the robot should move. | |
![]() | |
void | setSensorValue (const int p_sensor, const int p_distance) |
bool | checkFrontObstacle () |
RobotPosition | calculateNewPosition (float x, float y, float theta) |
Implements the bug 0 algorithm.
This class is an implementation of MovementAlgorithmSensor and realizes a bug 0 behaviour.
|
virtual |
Calculates the next target position, to which the robot should move.
pos | current position of the robot |
Implementiert minotaur::MovementAlgorithmSensor.