*Ìܼ¡ [#g158bac4] #contents *²ÝÂê¤Ë¤Ä¤¤¤Æ [#la48239b] ²ÝÂ꣱¤Ï´Êñ¤Ê¿Þ·Á¤òÉÁ¤¯¥í¥Ü¥Ã¥È¤ÎÀ½ºî¡£ º£Ç¯Å٤ϼ«Ê¬¤Î̾Á°¤Ë»È¤ï¤ì¤Æ¤¤¤ë¼·²è°Ê¾å¤Îʸ»ú¡¢¤Ê¤¤¾ì¹ç¤ÏÁȤ߹ç¤ï¤»¤Æ¼·²è°Ê¾å¤Ë¤Ê¤ëʸ»ú¤òA4ÍÑ»æ°ìËç¤ÎÃæ¤Ë½ñ¤¯½ñÆ»¥í¥Ü¥Ã¥È¤òÌܻؤ¹¡£¤¿¤À¤·¡¢É®½ç¤Ï̵»ë¤·¤Æ¤è¤¤¡£¥Ú¥ó°Ê³°¤Ï¥¥Ã¥È¤ÎÉôÉʤò»È¤¦¤³¤È¡£¥×¥í¥°¥é¥à¤ÏÆÉ¤ß¼ê¤ï¤«¤ê¤ä¤¹¤¯¡¢¤«¤Ä´Ê·é¤Ë½ñ¤¯¤³¤È¡£ * ¥í¥Ü¥Ã¥ÈËÜÂΤˤĤ¤¤Æ [#jb85d4d2] ¥í¥Ü¥Ã¥È¤ÏÆó¤Ä¤Î¥â¡¼¥¿¡¼(B,C)¤ò°Üư¤ËÍѤ¤¤¿¡£º¸±¦¤Ë¶Ê¤¬¤ë¤³¤È¤¬¤Ç¤¤ë¡£¤â¤Ã¤È¤â½é¤á¤ËÁȤßΩ¤Æ¤¿¥í¥Ü¥Ã¥È¤ò´ðËܤȤ¹¤ë¡£ ¥Ú¥ó¤Î¾å¤²²¼¤²¤Ï¤â¤¦°ì¤Ä¤Î¥â¡¼¥¿¡¼(A)¤Ç¹Ô¤¦¡£¥â¡¼¥¿¡¼¤Ë¥¢¡¼¥à¤ò¼è¤êÉÕ¤±¡¢¤½¤Î¥¢¡¼¥à¤Ë¥Ú¥ó¤ò¼è¤êÉÕ¤±¤¿¡£¥â¡¼¥¿¡¼¤Î²óžÊý¸þ¤ò»õ¼Ö¤ÇÊѤ¨¡¢¥Ú¥ó¤Ï¥í¥Ü¥Ã¥ÈËÜÂΤαվ½Â¦¤ÇÄ·¤Í¾å¤¬¤ë¤è¤¦¤Ê·Á¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ ¥Ú¥ó¤ÏÉ®¥Ú¥ó¤òÍѤ¤¤¿¡£¤³¤ì¤òÎØ¥´¥à¤ÇËÜÂΤËα¤á¤¿¤¬¡¢¼è¤êÉÕ¤±Êý¤Î´Ø·¸¤Ç¥Ú¥ó¤Ï¼Ð¤á¤Ë¼è¤êÉÕ¤±¤é¤ì¤Æ¤¤¤ë¡£¤Þ¤¿¡¢¥Ú¥ó¤ò¼è¤êÉÕ¤±¤ëºÝ¡¢¥Ú¥óÀ褬»æ¤ËÅö¤¿¤ë¤Þ¤Ç¤ÎŤµ¤òÄ´Àᤷ¤Æ¤Ç¤¤ë¤À¤±Æó¤Ä¤Î¥¿¥¤¥ä¤ÎÃæ¿´¤Ë¤Ê¤ë¤è¤¦¤Ë¤·¤¿¡£ #ref(./¥í¥Ü22.jpg,30%) * ¥×¥í¥°¥é¥à¤Ë¤Ä¤¤¤Æ [#y87a9378] ¤Þ¤º¡¢¥×¥í¥°¥é¥à¤ò½ñ¤¯ºÝ¤Ëµ¤¤òÉÕ¤±¤¿¤Î¤¬¡¢ÊÑ¿ô¤ÎÊѹ¹¤ò¹Ô¤¤¤ä¤¹¤¯¤¹¤ë¤³¤È¤Ç¤¢¤ë¡£¤½¤ÎÁ°¤Î»°³Ñ·Á¤ä»Í³Ñ·Á¡¢À±¤òÉÁ¤¯¥×¥í¥°¥é¥à¤ò½ñ¤¯ºÝ¤Ë¤â¡¢ÅÅÃӤξÃÌפ䥿¥¤¥ä¤È¾²Ì̤ȤÎË໤¤ÎÂ礤µ¤Ë¤è¤Ã¤Æ½ÐÎϤ¬ÊѲ½¤¹¤ë¤³¤È¤¬¤ï¤«¤Ã¤Æ¤¤¤¿¤«¤é¤Ç¤¢¤ë¡£ ¤Þ¤¿¡¢½ñ¤³¤¦¤È¤·¤Æ¤¤¤¿Ê¸»ú¤Î²è¿ô¤¬Â¿¤«¤Ã¤¿¤¿¤á¡¢ºÇ½é¤«¤é»°¤Ä¤Î¥°¥ë¡¼¥×¤Ëʬ¤±¤Æ¾¯¤·¤º¤ÄÄ´À°¤·¤Ê¤¬¤é½ñ¤¯¤³¤È¤Ë¤·¤¿¡£¤½¤·¤Æ¡¢¤½¤ì¤é¤ò¤Ä¤Ê¤°¤¿¤á»ØÉ¸¤È¤Ê¤ë¥×¥í¥°¥é¥à¤ò¤Ï¤¸¤á¤Ë½ñ¤¤¤¿¡£ ¤µ¤é¤Ë¡¢¥Ú¥ó¤¬¼Ð¤á¤Ë¤Ä¤¤¤Æ¤¤¤ë¤Î¤Ç¡¢¤Ê¤ë¤Ù¤¯Éé²Ù¤¬¤«¤«¤é¤Ê¤¤¤è¤¦¤Ëư¤«¤¹¤è¤¦¤Ë¤·¤¿¡£(¤³¤Î¸å¤ÎËÜʸ¤Ç¤Ï¡¢Àþ¤òÉÁ¤¯ºÝ¤Ë back ¤ä turn_right ¤¬Â¿¤¯¤Ê¤Ã¤Æ¤¤¤ë) **À߷׿ޤȥ°¥ë¡¼¥×ʬ¤± [#dd2fa9f0] #ref(./¥í¥Ü11.gif,30%) ÀÖ¤ò°ìÈÖÌܤΥ°¥ë¡¼¥×¡¢¶â¿§¤òÆóÈÖÌܤΥ°¥ë¡¼¥×¡¢²«ÎФò»°ÈÖÌܤΥ°¥ë¡¼¥×¤È¤·¤¿¡£¥°¥ë¡¼¥×¤Ï¤Ê¤ë¤Ù¤¯¥×¥í¥°¥é¥à¤¬Ã±½ã¤Ç¤ï¤«¤ê¤ä¤¹¤¯¤Ê¤ë¤è¤¦¤Ê°Üư¤Î»ÅÊý¤ò¹Í¤¨¤ÆÊ¬¤±¤¿¡£ ʸ»ú¤Ï¤È¤³¤í¤É¤³¤í¥í¥Ü¥Ã¥È¤ò²óž¤µ¤»¤ë¤Ê¤É¤·¤Æ´Êά²½¤·¤¿¡£ **½ÐÎÏÄ´À° [#m83f227c] ²óž¤¹¤ë³ÑÅÙ¤ò¤¢¤ï¤»¤ë task main() { OnFwd(OUT_C,-40); Wait(); Off(OUT_BC);¡¡¡¡¡¡¡¡¡¡//¤À¤¤¤¿¤¤°ì²óž¤¹¤ë¤è¤¦¤Ë»þ´Ö¤ÎŤµ¤òÄ´À° Wait(3000); OnFwd(OUT_B,); OnFwd(OUT_C,); Wait(600); Off(OUT_BC);¡¡¡¡¡¡¡¡¡¡//90ÅÙ¤¯¤é¤¤²ó¤ë¤è¤¦¤Ë¥â¡¼¥¿¡¼¤Î½ÐÎϤÇÄ´À° } ¿Ê¤àµ÷Î¥¤ò¹ç¤ï¤»¤ë task main() { OnFwdSync(OUT_BC,,0); Wait(1600);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//Ťá¤Ë¿Ê¤à Off(OUT_BC);Wait(3000);¡¡¡¡¡¡¡¡¡¡//µÏ¿¤Î¤¿¤á¤Î»þ´Ö OnFwdSync(OUT_BC,,0); Wait(800);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ //¾¯¤·Ä¹¤á¤Ë¿Ê¤à Off(OUT_BC);Wait(3000);¡¡¡¡¡¡¡¡¡¡//µÏ¿¤Î¤¿¤á¤Î»þ´Ö OnFwdSync(OUT_BC,,0); Wait(400);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ //û¤á¤Ë¿Ê¤à Off(OUT_BC); } ¾¯¤·Ä¹¤á¤Ë¿Ê¤ó¤Àµ÷Î¥¤ä¡¢Ã»¤á¤Ë¿Ê¤ó¤Àµ÷Î¥¤Ï½ñ¤¯Ê¸»ú¤Î¤Ê¤«¤Ç»È¤ï¤ì¤ë¡£¤Þ¤¿¡¢¤³¤ì¤é¤ò¤Ê¤ë¤Ù¤¯»È¤¦¤è¤¦¤Ë¤â¤·¤¿¡£ **ÄêµÁ [#he6007e9] #ref(./¥í¥Ü33.gif,30%) #define go(s) OnFwdSync(OUT_BC,,0);Wait(s);sofa; #define back(t) OnRevSync(OUT_BC,,0);Wait(t);sofa; #define turn_left(u) OnFwd(OUT_B,SPEED);OnRev(OUT_C,SPEED);Wait(u);sofa; #define turn_right(v) OnRev(OUT_B,SPEED);OnFwd(OUT_C,SPEED);Wait(v);sofa; #define SPEED ¥í¥Ü¥Ã¥È¤Î±Õ¾½Â¦¤òÀµÌ̤Ȳ¾Äꤷ¤ÆÁ°¸åº¸±¦¤ò·è¤á¤¿¡£ go ¤È back ¤ÏÆó¤«½ê¤Ë¥â¡¼¥¿¡¼¤Î½ÐÎϤòÆþ¤ì¤ë¡£turn_left¤Èturn_left¤ÏSPEED¤Î¸å¤í¤Ë°ì¤«½ê¥â¡¼¥¿¡¼¤Î½ÐÎϤòÆþ¤ì¤ë¡£¤³¤Î¤è¤¦¤Ë¤¹¤ë¤È¥í¥Ü¥Ã¥È¤òư¤«¤¹»þ´Ö¤À¤±¤¬É¬Íפˤʤ롣 #define up OnFwd(OUT_A,30);Wait(200);sofa; #define down OnFwd(OUT_A,-10);Wait(300);sofa; ¥Ú¥ó¤Î¾å¤²²¼¤²¤ò¹Ô¤¦¡£¤³¤Î¿ôÃͤÎÄ´À°¤Ï¥°¥ë¡¼¥×¤Î¿Í¤Î¤ò¼Ú¤ê¤¿¡£ #define sofa Off(OUT_ABC);Wait(1000); ¤¹¤¹¤àµ÷Î¥¤ä²óž¤ÎÄ´À°¤ò¤è¤ê¹Ô¤¤¤ä¤¹¤¯¤¹¤ë¤¿¤á¤Ë½ñ¤¤¤¿¡£ËÜÅö¤Ï¥¯¥Ã¥·¥ç¥ó¤È¤¤¤¦Ì¾Á°¤Ë¤·¤è¤¦¤È»×¤Ã¤¿¤Î¤À¤¬¡¢Ä¹¤¤¤Î¤ÈÄ֤꤬¤ï¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¤Ç¡¢¥½¥Õ¥¡¤È¤¤¤¦Ì¾Á°¤Ë¤·¤¿¡£ **ËÜʸ [#b5ae7d7a] °ì¤Ä¤Ë¤Þ¤È¤á¤¿¤â¤Î¤¬¤É¤³¤«¤Ø¹Ô¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¡¢ÅÓÃæ¤ÇÀÚ¤ì¤Æ¤¤¤ë¡£¤¿¤À¤·¡¢¤³¤ì¤é¤ÏÊÑ¿ô¤ò¾¯¤·ÊѤ¨¤ì¤Ð¤Þ¤È¤Þ¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤¿¤Ï¤º¤Ç¤¢¤ë¡£ ÆóÈÖÌܤȻ°ÈÖÌܤ˽ñ¤¤¤¿¥×¥í¥°¥é¥à¤ÏÅÅÃÓ¤ÎÄ´Àá¤ò¤·¤Ê¤¯¤Æ¤â¤è¤«¤Ã¤¿¤Î¤Ç¡¢ºî¤Ã¤¿¸å¤¹¤°¤Ë¤Þ¤È¤á¤Æ¤ª¤¤¤¿¡£ ¤Þ¤¿¡¢//°Ê¹ß¤Î¾å²¼º¸±¦¤Ï¡¢¥í¥Ü¥Ã¥È¤Ç¤Ï¤Ê¤¯¡¢Ê¸»ú¤òÉáÄÌ¤ËÆÉ¤à¸þ¤¤«¤é¸«¤¿¿Í¤Ë¤È¤Ã¤Æ¤Î¤â¤Î¤Ç¤¢¤ë task main() { down; OnFwd(OUT_C,-45);Wait(300);sofa;¡¡¡¡¡¡//¡º¸¤«¤é±¦¤Ø up; turn_left(750); back(1400); turn_left(450); back(1700); down; back(400);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¢¾å¤«¤é²¼¤Ø up; turn_right(480); go(570); turn_left(500); down; back(400);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//£¾å¤«¤é²¼¤Ø up; turn_right(350); go(400); turn_left(350); down; back(400);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¤¾å¤«¤é²¼¤Ø up; } #ref(./¥í¥Ü44.gif,30%) task main() { go(1250); turn_right(1100); down; turn_right(250);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¥±¦¤«¤éº¸¤Ø up; go(600); turn_right(230); back(1380); down; back(400);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¦²¼¤«¤é¾å¤Ø up; go(1250); turn_left(580); down; turn_right(750);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//§±¦¤«¤éº¸¤Ø up; turn_left(460); back(380); down; back(590);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¨²¼¤«¤é¾å¤Ø up; turn_left(600); back(850); turn_left(600); back(1950); down; back(600);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//©¾å¤«¤é²¼¤Ø up; go(1570); turn_right(600); down; back(800);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//ª±¦¤«¤éº¸¤Ø up; back(450); down; back(400);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//«±¦¤«¤éº¸¤Ø up; turn_left(600); back(300); turn_right(600); go(1600); down; back(800);¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡//¬º¸¤«¤é±¦¤Ø } #ref(./¥í¥Ü55.gif,30%) *´¶ÁÛ [#k6c79e1a] ¤³¤Î¥í¥Ü¥Ã¥È¤Ï»ú¤ò½ñ¤¯¤Ë¤Ï¸þ¤¤¤Æ¤¤¤Ê¤¤¡£ ¥Ú¥óÀ褬¥¿¥¤¥ä¤«¤é±ó¤¯¡¢Æó¤Ä¤Î¥¿¥¤¥ä¤ÎÃæ¿´¤«¤éÈù̯¤Ë¤º¤ì¤Æ¤¤¤Æ¡¢Í¶Æ³¤¬ÂçÊѤÀ¤Ã¤¿¡£¤Þ¤¿¡¢¥Ú¥ó¤Î¾å¤²²¼¤²¤Î»ÅÊý¤¬°¤¯¡¢Àþ¤Î¤Ï¤¸¤á¤È½ª¤ï¤ê¤Ë;·×¤ÊÀþ¤¬½ñ¤«¤ì¡¢»ú¤¬±ø¤¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¡£¥â¡¼¥¿¡¼¤Î²óž¿ô¤âÍî¤È¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢¤³¤Î¥í¥Ü¥Ã¥È¤Çʸ»ú¤ò¾®¤µ¤¯½ñ¤¯¤Î¤ÏÂçÊѤÀ¤È»×¤¦¡£ ¼¡²ó¤ÏËÜÂΤ⹩Éפò¤·¤¿¤¤