Ka-la-Mar

RoboCup Junior Rescue 2005 - robot  Ka-la-Mar

OSAKA
Primary Rescue
SEQ 221
Team name CHLEBNICE
Affiliation SSE
Country Slovak Republic

Authors of robot Ka-la-Mar

Club of young programmers near ZS with MS Chlebnice in composition:

Preparation to competition RoboCup Junior Rescue 2005

Istrobot 2003

Istrobot 2004

RoboCup Junior Rescue 2004

Istrobot 2005

RoboCup Junior Rescue 2005


HW implementation of robot Ka-la-Mar

Much of construction was from Lego, belts cleaners and bumpers are from new sponge to wash plates (in order to don't have dirty belts by passing the ramp and in order to so dont't push debris). In place under RCX brick is box with additional batteries,9V battery and simple electric circuit with IR LED. Switch witch is closing IR LED circuit is taked out in rear part of robot.

SW implementation of robot Ka-la-Mar


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




Photos of robot Ka-la-Mar

Photos will be on page http://www.ja.karolko.szm.sk at early time.

Thanks to

Our great supervision and head of Club of young programmers, PaedDr. Karol Pauchly for time, technical help, valuable advices and informations about the rules change.


Naspäť