4 #if defined(ARDUINO) && ARDUINO >= 100
int _pause
the pause in milliseconds for 90º fixed turnings
Definition: Robot.h:74
Definition: NonLinearControl.h:18
MoveType
Admissible movements.
Definition: Path.h:11
unsigned int EEPROMReadInt(int p_address)
Reads an integer from the EEPROM.
Definition: Robot.cpp:108
void Menu()
Launches the Menu for User Interface.
Definition: Robot.cpp:134
int _leftWheelSpeed
the left wheel speed
Definition: Robot.h:71
int _speed
the reference speed of the robot
Definition: Robot.h:70
BnrOneA _one
the interface to the Bot'n Roll One A
Definition: Robot.h:69
bool areThereObstacles()
Reads IR obstacles sensors and sends commands to motors avoiding obstacles.
Definition: Robot.cpp:30
NonLinearControl _nonLinearControl
Non-linear control values.
Definition: Robot.h:75
void readQTR8A(unsigned int *line)
Read the calibrated line Sensor.
Definition: Robot.cpp:213
void writeEEPROM()
Reads all the saved values from the EEPROM (e.g. speed and other parameters)
Definition: Robot.cpp:116
void readEEPROM()
Stores all the relevant values on the EEPROM (e.g. speed and other parameters)
Definition: Robot.cpp:125
Robot()
creates an instance of the class Robot
Definition: Robot.cpp:10
int readLineSensors(unsigned int *sensor_values)
Read the line Sensor.
Definition: Robot.cpp:221
void init()
Configures the robot to be used with Bot'n Roll One.
Definition: Robot.cpp:15
void EEPROMWriteInt(int p_address, int p_value)
Writes an integer to the EEPROM.
Definition: Robot.cpp:99
int _rightWheelSpeed
the right wheel speed
Definition: Robot.h:72
bool _debug
when true sends debug messages to LCD/Serial interface
Definition: Robot.h:73
void sendToMotors(MoveType robotMove, char lineSignature)
Sends commands to motors.
Definition: Robot.cpp:54