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

The MazeNavigator class provides an interface for the navigation of a robot in a maze by a MapSolver object. Mehr ...

#include <MazeNavigator.hpp>

Klassendiagramm für minotaur::MazeNavigator:
minotaur::MazeMapUser minotaur::MinotaurControlNodeUser minotaur::StayInMidNavigator

Öffentliche Methoden

virtual void receivedOdometry (const nav_msgs::Odometry &p_odometry)=0
 This method is called when an Odometry message is recieved.
virtual void receivedUltrasonicData (const minotaur_common::UltrasonicData &p_sensorData)=0
 This method is called when an UltrasonicData message is recieved.
virtual void moveToNextNode (const Direction p_currentDirection)=0
 Moves the robot straight forward to the next node in the maze.
virtual void turnRobotTo (const Direction p_currentDirection, const Direction p_newDirection)=0
 Turns the robot to the given direction.
virtual void shutdown ()=0
 Interrupts the MazeNavigator and shuts it down.
- Öffentliche Methoden geerbt von minotaur::MazeMapUser
void setMazeMap (MazeMap *p_map)
- Öffentliche Methoden geerbt von minotaur::MinotaurControlNodeUser
void setMinotaurControlNode (MinotaurControlNode *p_controlNode)

Weitere Geerbte Elemente

- Geschützte Attribute geerbt von minotaur::MazeMapUser
MazeMapmap
- Geschützte Attribute geerbt von minotaur::MinotaurControlNodeUser
MinotaurControlNodecontrolNode
std::vector< SensorSettingsensorSettings

Ausführliche Beschreibung

The MazeNavigator class provides an interface for the navigation of a robot in a maze by a MapSolver object.

It is able to move the robot to another node or turn it in a certain direction. These actions represent pure translation / pure rotation.

Dokumentation der Elementfunktionen

virtual void minotaur::MazeNavigator::moveToNextNode ( const Direction  p_currentDirection)
pure virtual

Moves the robot straight forward to the next node in the maze.

Parameter
p_currentDirectioncurrent direction of the robot

Implementiert in minotaur::StayInMidNavigator.

virtual void minotaur::MazeNavigator::receivedOdometry ( const nav_msgs::Odometry &  p_odometry)
pure virtual

This method is called when an Odometry message is recieved.

Processing the message is done here.

Parameter
p_odometrythe Odometry message

Implementiert in minotaur::StayInMidNavigator.

virtual void minotaur::MazeNavigator::receivedUltrasonicData ( const minotaur_common::UltrasonicData &  p_sensorData)
pure virtual

This method is called when an UltrasonicData message is recieved.

Processing the message is done here.

Parameter
p_sensorDatathe UltrasonicData message

Implementiert in minotaur::StayInMidNavigator.

virtual void minotaur::MazeNavigator::shutdown ( )
pure virtual

Interrupts the MazeNavigator and shuts it down.

If the robot is moving the movement is stopped immediatly.

Implementiert in minotaur::StayInMidNavigator.

virtual void minotaur::MazeNavigator::turnRobotTo ( const Direction  p_currentDirection,
const Direction  p_newDirection 
)
pure virtual

Turns the robot to the given direction.

Parameter
p_currentDirectioncurrent direction of the robot
p_newDirectiontarget direction to which the robot is turned

Implementiert in minotaur::StayInMidNavigator.


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