#include <vector>
#include <string>
#include <map>
#include <time.h>
#include <sys/time.h>
#include "module.h"
#include "module_conf.h"
#include "protocol.h"
Klassen | |
struct | robot_data |
class | robot_path |
struct | map_info |
class | module_map |
Aufzählungen | |
enum | terrain_types { TERRAIN_UNKNOWN = 0, TERRAIN_BLOCKED_UNKNOWN, TERRAIN_VISITED } |
Abkürzungen für die einzelnen Terraintypen der Karte. Mehr ... | |
Variablen | |
const double | PI = 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679 |
const double | DIFF_VOLTAGE_WARN = 0.4 |
enum terrain_types |
const double DIFF_VOLTAGE_WARN = 0.4 |
Wenn sich die Batteriespannung des Roboters um mehr als diesen Wert von der Spannung unterscheidet, die beim Kompilierzeitpunkt vorlag, so schlägt das GUI Alarm.
const double PI = 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679 |
The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change. -- FORTRAN manual for Xerox Computers