1 / 1

Team Nidaros Norway

Team Nidaros Norway. Hadrware: We use robots built from LEGO Mindstorms / ROBOLAB with plastic base. Each robot is controlled by two RCXs (the pictures show our earlier prototypes) Sensors: RoboBall IR sensors, 2 types (Wiltronics) Compass Sensor (Hitechnic.com)

jafari
Télécharger la présentation

Team Nidaros Norway

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Team Nidaros Norway Hadrware: We use robots built from LEGO Mindstorms / ROBOLAB with plastic base. Each robot is controlled by two RCXs (the pictures show our earlier prototypes) Sensors: RoboBall IR sensors, 2 types (Wiltronics) Compass Sensor (Hitechnic.com) Standard LEGO rotation sensor Standard LEGO light sensor Motors: Standard LEGO 9V motors Dribblers: On one or both sides, controlled by two motors, using standard rubber tires from LEGO Software: NQC program Communication & distributed architecture: Master/Slave architecture. Slave is sending information from sensors to master perpetually: compass, floor (light sensor), and ball-near sensors. Slave operates dribblers in order to distribute the power consumption of motors on both RCXs Communication: //slave sends data to the master void send_to_master() { SendMessage(17); //header Wait(1); SendMessage(COMPASS); Wait(1); SendMessage(FLOOR); Wait(1); SendMessage(ball_fwd); Wait(1); SendMessage(ball_bwd); } //master receives from the 2nd RCX task receiver() { int state = 0; int m; while (true) { m = Message(); if (m) { switch (state) { case 0: if (m == 17) state = 1; break; case 1: compass = m; state = 2; break; case 2: floor = m; state = 3; break; case 3: ball_near_fwd = m; state = 4; break; case 4: ball_near_bwd = m; state = 0; break; } } } } Kontakt: Trondheim Katedralskole, Munkegt. 8, 7013 Trondheim, Norway, e-mail: robocup@idi.ntnu.no

More Related