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

The RobotController calculates the correct velocity for each motor. Mehr ...

#include <RobotController.hpp>

Öffentliche Methoden

 RobotController (nxt::Motor &p_leftMotor, nxt::Motor &p_rightMotor)
const nav_msgs::Odometry & getOdometry ()
PIDControllergetPIDController ()
void setVelocity (const geometry_msgs::Twist &p_velocity)
void setPose (const geometry_msgs::PoseWithCovariance &p_pose)
void step (const int p_samplingIntervalMSec)
 Tells the PIDController to keep the correct velocity.

Ausführliche Beschreibung

The RobotController calculates the correct velocity for each motor.

This class receives linear and angular velocity and calculates the velocity for each motor. A PIDController is used to keep the correct velocity on each motor.

Dokumentation der Elementfunktionen

void minotaur::RobotController::step ( const int  p_samplingIntervalMSec)

Tells the PIDController to keep the correct velocity.

Parameter
p_samplingIntervalMSecduration of one sampling interval in MSec

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