A robotic simulator.
More...
#include <Simlink.h>
|
| | Simlink () |
| |
| | ~Simlink () |
| |
| void | closeWindow () |
| |
| void | setLED (int r, int g, int b, int i) |
| |
| int | getMicrophone () |
| |
| int | getIR () |
| |
| int | getVis () |
| |
| void | chirp (int volume, int frequency) |
| |
| void | setMotors (int motorOne, int motorTwo, double speed, double deltaTime) |
| |
| void | stop () |
| |
| int | getBattery () |
| |
| TDVect | getAccel () |
| |
| TDVect | getCompass () |
| |
| TDVect | getGyro () |
| |
| bool | isLeftOfLine () |
| |
| void | getBallDisplacement (double *x, double *z) |
| |
| double | distanceFromLine () |
| |
| int | getTemperature () |
| |
| void | placeRobotInRandomPosition () |
| |
| void | placeEmitterInRandomPosition () |
| |
| double | getDistanceOfRobotFromEmitter () |
| |
| void | getRobotDisplacementFromEmitter (double *x, double *y) |
| |
| void | placeLine (sf::Vector2f p1, sf::Vector2f p2) |
| |
| void Simlink::chirp |
( |
int |
volume, |
|
|
int |
frequency |
|
) |
| |
| void Simlink::closeWindow |
( |
| ) |
|
| double Simlink::distanceFromLine |
( |
| ) |
|
| void Simlink::getBallDisplacement |
( |
double * |
x, |
|
|
double * |
z |
|
) |
| |
| int Simlink::getBattery |
( |
| ) |
|
| TDVect Simlink::getCompass |
( |
| ) |
|
| double Simlink::getDistanceOfRobotFromEmitter |
( |
| ) |
|
| int Simlink::getMicrophone |
( |
| ) |
|
| void Simlink::getRobotDisplacementFromEmitter |
( |
double * |
x, |
|
|
double * |
y |
|
) |
| |
| int Simlink::getTemperature |
( |
| ) |
|
| bool Simlink::isLeftOfLine |
( |
| ) |
|
| void Simlink::placeEmitterInRandomPosition |
( |
| ) |
|
| void Simlink::placeLine |
( |
sf::Vector2f |
p1, |
|
|
sf::Vector2f |
p2 |
|
) |
| |
| void Simlink::placeRobotInRandomPosition |
( |
| ) |
|
| void Simlink::setLED |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
i |
|
) |
| |
| void Simlink::setMotors |
( |
int |
motorOne, |
|
|
int |
motorTwo, |
|
|
double |
speed, |
|
|
double |
deltaTime |
|
) |
| |
| sf::CircleShape Simlink::ball |
The documentation for this class was generated from the following files:
- /home/truell20/Documents/Fido/Fido/include/Simulator/Simlink.h
- /home/truell20/Documents/Fido/Fido/src/Simulator/Simlink.cpp