Fido
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Robby Class Reference

#include <Robby.h>

Inherits RectangleShape.

Public Member Functions

 Robby (float x, float y, float width, float height)
 
double go (int motLeft, int motRight, double speed, double deltaTime)
 Creds to http://chess.eecs.berkeley.edu/eecs149/documentation/differentialDrive.pdf. More...
 
double goAccel (int motLeft, int motRight)
 
void inverseGoKiwi (int x, int y, int r, double deltaT)
 
void goKiwi (int i, int j, int k, double deltaT)
 

Protected Member Functions

void displace (double x, double y, double r, double deltaT)
 

Protected Attributes

sf::Clock moveClock
 
int m1Last
 
int m2Last
 
int m1Target
 
int m2Target
 
double speed
 

Constructor & Destructor Documentation

Robby::Robby ( float  x,
float  y,
float  width,
float  height 
)

Member Function Documentation

void Robby::displace ( double  x,
double  y,
double  r,
double  deltaT 
)
protected
double Robby::go ( int  motLeft,
int  motRight,
double  speed,
double  deltaTime 
)
double Robby::goAccel ( int  motLeft,
int  motRight 
)
void Robby::goKiwi ( int  i,
int  j,
int  k,
double  deltaT 
)
void Robby::inverseGoKiwi ( int  x,
int  y,
int  r,
double  deltaT 
)

Member Data Documentation

int Robby::m1Last
protected
int Robby::m1Target
protected
int Robby::m2Last
protected
int Robby::m2Target
protected
sf::Clock Robby::moveClock
protected
double Robby::speed
protected

The documentation for this class was generated from the following files: