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

The MotorVelocity class stores the velocities of a robot with differential drive for its left and right wheel. Mehr ...

#include <MotorVelocity.hpp>

Öffentliche Methoden

 MotorVelocity (const MotorVelocity &p_velocity)
 MotorVelocity (const float p_leftMPS, const float p_rightMPS)
void set (const float p_leftMPS, const float p_rightMPS)
void zero ()
MotorVelocityoperator+= (MotorVelocity const &motorVel)
MotorVelocityoperator-= (MotorVelocity const &motorVel)
MotorVelocityoperator*= (const float factor)
MotorVelocityoperator/= (const float divisor)

Öffentliche Attribute

float leftMPS
float rightMPS

Ausführliche Beschreibung

The MotorVelocity class stores the velocities of a robot with differential drive for its left and right wheel.

The velocities are stored as meter per second. Mathematical operators provide a simpler usage of its values.


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