Programming language: | NQC |
Programing IDE enviroment: | Bricx Command Center 3.3 (OS
Windows XP) |
Algorithm: | taked over and adjusted from competitions Istrobot 2003 to 2005 and RoboCup Junior Rescue 2004 |
constants:
(#define): |
CIERNA_MAX_S1,
CIERNA_MAX_S2, CIERNA_MAX_S3, ZELENA_MIN_S2, ZELENA_MAX_S2,
BIELA_MIN_S1, BIELA_MIN_S2, BIELA_MIN_S3, BIELA_MAX_S1, BIELA_MAX_S2,
BIELA_MAX_S3, ALOBAL_MIN_S2, T_REV_TROSKA, T_TURN_TROSKA_1, T_TURN_TROSKA_2, T_TURN_TROSKA_3, T_MOVE_TROSKA_1, T_MOVE_TROSKA_2, T_MOVE_TROSKA_3, T_PRERUSENIE, T_MOVE_OBET, T_TURN_OBET, T_WAIT_START, T_WAIT_OBET, SPEED, SPEED_OBET, SPEED_TROSKA, S1_JE_CIERNA, S2_JE_CIERNA, S3_JE_CIERNA, SX_JE_CIERNA, S2_JE_ZELENA, S2_JE_ALOBAL, JE_NA_OBETI_S2, S1_JE_BIELA, S2_JE_BIELA, S3_JE_BIELA, JE_MIMO_CIARY, JE_TROSKA_LEFT, JE_TROSKA_RIGHT, JE_TROSKA |
global variables (int): | p last_dark t0 dt s |
local
variables (int): |
temp |
functions (void): | Init() ObidTrosku(n) OznacObet(gap) |
tasks
(task): |
main lava_strana prava_strana hladaj _prerusenie _toc_sa |
Progrmovací jazyk: | NQC |
Programovacie IDE prostredie: | Bricx Command Center 3.3 (OS
Windows XP) |
Algoritmus: | prevzatý a upravený zo súťaží Istrobot 2003 až 2005 a RoboCup Junior Rescue 2004 |
konštanty
(#define): |
CIERNA_MAX_S1,
CIERNA_MAX_S2, CIERNA_MAX_S3, ZELENA_MIN_S2, ZELENA_MAX_S2,
BIELA_MIN_S1, BIELA_MIN_S2, BIELA_MIN_S3, BIELA_MAX_S1, BIELA_MAX_S2,
BIELA_MAX_S3, ALOBAL_MIN_S2, T_REV_TROSKA, T_TURN_TROSKA_1, T_TURN_TROSKA_2, T_TURN_TROSKA_3, T_MOVE_TROSKA_1, T_MOVE_TROSKA_2, T_MOVE_TROSKA_3, T_PRERUSENIE, T_MOVE_OBET, T_TURN_OBET, T_WAIT_START, T_WAIT_OBET, SPEED, SPEED_OBET, SPEED_TROSKA, S1_JE_CIERNA, S2_JE_CIERNA, S3_JE_CIERNA, SX_JE_CIERNA, S2_JE_ZELENA, S2_JE_ALOBAL, JE_NA_OBETI_S2, S1_JE_BIELA, S2_JE_BIELA, S3_JE_BIELA, JE_MIMO_CIARY, JE_TROSKA_LEFT, JE_TROSKA_RIGHT, JE_TROSKA |
globálne premenné (int): | p last_dark t0 dt s |
lokálne
premenné (int): |
temp |
funkcie (void): | Init() ObidTrosku(n) OznacObet(gap) |
úlohy
(task): |
main lava_strana prava_strana hladaj _prerusenie _toc_sa |