[[2019a/Member]] Ìܼ¡ #contents *²ÝÂê¤Ë¤Ä¤¤¤Æ [#f2d9f52e] ¾Ü¤·¤¯¤Ï¥ê¥ó¥¯¤ò»²¾È[[2019a/Mission1]] *¥í¥Ü¥Ã¥È¤Ë¤Ä¤¤¤Æ [#p4a42e1a] »äã¤Ï¥×¥í¥°¥é¥à¤Î¤·¤ä¤¹¤µ¤òÍ¥À褷¤Æ¡¤½Ä²£°Üư¤ÎÁȤ߹ç¤ï¤»¤Çʸ»ú¤ò½ñ¤¯¥í¥Ü¥Ã¥È¤òÀ©ºî¤·¤¿¡¥º£²ó»ä㤬·è¤á¤¿Ê¸»ú¤Ï¡Ö¿®½£¡×¤Ç¤¢¤ë¡¥ &ref(2019a/Member/Yuta/Mission1/s_IMG_3308.jpg); ¢¬ËÜÂΤò¸å¤í¤«¤é»£±Æ¤·¤¿¿Þ #ref(./s_IMG_3307.jpg) ¢¬ËÜÂΤòÁ°¤«¤é»£±Æ¤·¤¿¿Þ -½Ä²£°Üư¤ò¼Â¸½¤µ¤»¤ë¤¿¤á¤Ë¡¤¥Ù¡¼¥¹¤È¤Ê¤ë¼ÖÂΤÇÁ°¸å¤Ëư¤¡¤¤½¤Î¥ì¡¼¥ë¾å¤òº¸±¦¤Ëư¤¯µ¡¹½¤ò¼è¤êÉÕ¤±,¤½¤Îµ¡¹½¤Ë¥Ú¥ó¤ò¾º¹ß¤µ¤»¤ë¥Ñ¡¼¥Ä¤ò¼è¤êÉÕ¤±¤¿¡¥ -¥Ú¥ó¤Ï¡¤Àþ¤¬¤«¤±¤ë¹â¤µ¤ÎÈϰϤ¬¹¤¤É®¥Ú¥ó¤ò»ÈÍѤ·¤¿¡¥ -²¼¤ËÍè¤Æ¤¤¤ë¥Ù¡¼¥¹¤Î¼ÖÂΤϡ¤ºàÎÁ¤Î´Ø·¸¾å¤Ò¤È¤Ä¤ÎưÎϤ·¤«»È¤¨¤Ê¤¤¤Î¤Ç¡¤ÊÒ¦¤Ë¤Ä¤±¤¿¥â¡¼¥¿¡¼¤ÎưÎϤòº¸±¦¤Þ¤ó¤Ù¤ó¤Ê¤¯ÅÁ¤¨¤ë¤¿¤á¤Îµ¡¹½¤ò»Ü¤·¤¿ ¡Ê¸å¤í¤«¤é»£±Æ¤·¤¿¿Þ¤ò»²¾È¡Ë -¥Ú¥ó¾º¹ß¤ò°ì¤Ä¤Î¥â¡¼¥¿¡¼¤Ç¥¹¥à¡¼¥º¤Ë¡¤°ÂÄꤷ¤Æ¹Ô¤¨¤ë¤è¤¦¤Ë¡¤Ê¿¹Ô»ÍÊÕ·Á¤Î°ì³Ñ¤ò¥â¡¼¥¿¡¼¤Ç²óž¤µ¤»¤ë¤³¤È¤Ë¤è¤ê¥Ú¥ó¤ò¾º¹ß¤Ç¤¤ëµ¡¹½¤ò¼è¤êÆþ¤ì¤¿¡¥ ¡ÊÁ°¤«¤é»£±Æ¤·¤¿¿Þ¤ò»²¾È¡Ë -NXTËÜÂΤ¬¼ÙËâ¤Ë¤Ê¤é¤Ê¤¤¤è¤¦¥Ù¡¼¥¹¼ÖÂΤȸÇÄꡤËÜÂμ«ÂΤˤâÁ°¸å°Üư¤Ë¤Ä¤¤¤Æ¤¤¤±¤ë¤è¤¦¤Ë¼ÖÎØ¤ò¼è¤êÉÕ¤±¤¿¡¥ ¡Ê¸å¤í¤«¤é»£±Æ¤·¤¿¿Þ¤ò»²¾È¡Ë #ref(./s_IMG_3332.jpg) ¢¬¼ÂºÝ¤³¤Î¥í¥Ü¥Ã¥È¤Ç¤¢¤È¤«¤éµºÜ¤¹¤ë¥×¥í¥°¥é¥à¤ò»ÈÍѤ·½ñ¤¤¤¿¡Ö¿®½£¡×¤Îʸ»ú *¥×¥í¥°¥é¥à¤Ë¤Ä¤¤¤Æ [#ve54d41c] -¥×¥í¥°¥é¥ß¥ó¥°¤ò¤ï¤«¤ê¤ä¤¹¤¯¹Ô¤¦¤¿¤á¤Ë¡¤#define¤ävoid¤Ê¤É¤òÍѤ¤¤¿¥Þ¥¯¥í¤òÄêµÁ¤·¤¿¡¥ penUP,penDWN¤Ï¤½¤ì¤¾¤ìÉ®¥Ú¥ó¤ò¾å²¼¤µ¤»¤ëư¤¡¤ ue,shita,migi,hidari¤Ï»ú¤Î¸þ¤¤Ëµ¡ÂΤò¤½¤ì¤¾¤ì¾å,²¼,±¦,º¸¤µ¤»¤ëư¤¡¤ nanameLD,nanameRD¤Ï»þ¤Î¸þ¤¤Ëµ¡ÂΤò¤½¤ì¤¾¤ì¼Ð¤áº¸²¼(Left&Down),¼Ð¤á±¦²¼(Right&Down)¤Îư¤¤ËÂбþ¤·¤Æ¤¤¤ë¡¥ ¤Þ¤¿¡¤µ¡ÂÎ¤ÎÆ°¤¤ò¡¤¥µ¥Ö¥ë¡¼¥Á¥ó¤Îvoid¤Ëint¤è¤êÂ礤ʿô¤ò°·¤¨¤ëlong¤Î´Ø¿ô¡Ê¤³¤³¤Ç¤Ït¤È¤·¤Æ¤¤¤ë¡Ë¤òÍѤ¤¤ÆÉ½¤·¡¤ ¤½¤Î´Ø¿ô¤òưºî¤Î¤¢¤È¤ÎWait¤ËÁȤ߹þ¤à¤³¤È¤Ç¤½¤Î´Ø¿ô¤Î»þ´Ö¤À¤±¥µ¥Ö¥ë¡¼¥Á¥ó¤¬Æ°¤¯¤è¤¦¤Ë¤¹¤ë¤³¤È¤Ç¡¤ Ʊ¤¸ÄêµÁ¤ÇÍÍ¡¹¤ÊŤµ¤Îư¤¤ËÂбþ¤Ç¤¡¤³ÆÃʳ¬¤Ç¤ÎÈùÄ´À°¤¬²Äǽ¤Ë¤Ê¤Ã¤¿¡¥ ¤¿¤È¤¨¤Ð¡¤ue(1000);¤È¤¹¤ë¤È¾åÊý¸þ¤Ë£±ÉÃ(1/1000ÉÃñ°Ì¤Ê¤Î¤Ç)°Üư¤¹¤ë¡¥ #define penUP OnRev(OUT_A,40);Wait(1000); #define penDWN OnFwd(OUT_A,40);Wait(1000); void shita(long t) { OnFwd(OUT_C,20); Wait(t); Off(OUT_C); } void ue(long t) { OnRev(OUT_C,20); Wait(t); Off(OUT_C); } void migi(long t) { OnRev(OUT_B,20); Wait(t); Off(OUT_B); } void hidari(long t) { OnFwd(OUT_B,20); Wait(t); Off(OUT_B); } void nanameLD(long t) { OnFwd(OUT_B,16); OnFwd(OUT_C,20); Wait(t); Off(OUT_BC); } void nanameRD(long t) { OnRev(OUT_B,20); OnFwd(OUT_C,20); Wait(t); Off(OUT_BC); } task main() { hidari(1379); penDWN; nanameLD(638);//1to2 penUP; shita(2340);//2to3 penDWN; shita(319);//3to4 penUP; shita(638);//4to5 migi(310);//4to5 penDWN; ue(1596);//5to6 penUP; ue(638);//6to7 penDWN; ue(1489);//7to8 penUP; migi(310);//8to9 shita(2965);//8to9 penDWN; shita(319);//9to10 penUP; shita(638);//10to11 migi(310);//10to11 penDWN; ue(1596);//11to12 penUP; migi(510);//12to13 shita(638);//12to13 penDWN; shita(319);//13to14 penUP; shita(738);//14to15 migi(310);//14to15 penDWN; ue(1596);//15to16 penUP; ue(638);//16to17 penDWN; ue(800);//17to18 hidari(941);//18to19 shita(800);//19to20 migi(941);//20to21 penUP; ue(864);//21to22 penDWN; hidari(941);//22to23 penUP; ue(419);//23to24 penDWN; migi(941);//24to25 penUP; ue(419);//25to26 penDWN; hidari(941);//26to27 penUP; ue(419);//27to28 migi(419);//27to28 penDWN; nanameRD(212);//28to29 penUP; Off(OUT_ABC); } -¤è¤¯ÍѤ¤¤ë¥³¥Þ¥ó¥É¤òdefine¤ävoid¤Ê¤É¤Ç¤Ï¤¸¤á¤ËÄêµÁ¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¤¥×¥í¥°¥é¥ß¥ó¥°¤Îºî¶È»þ´Ö¤òÂçÉý¤ËÀáÌ󤹤뤳¤È¤¬¤Ç¤¤¿¡¥ -¥×¥í¥°¥é¥à¤ò½¤Àµ¤¹¤ëºÝ¤Ê¤É¸«¤ä¤¹¤¯¤¹¤ë¤¿¤á¡¤Í½¤áʸ»ú¤Î³Æ¥Ý¥¤¥ó¥È¤´¤È¤ËÈÖ¹æ¤ò¿¶¤ê¡¤¤½¤ì¤ËÂбþ¤¹¤ë¹Ô¤Ë//¤ÇÈÖ¹æ¤òµ½Ò¤·¤¿¡¥ ¡Ê²¼¤Î²èÁü¤ò»²¾È¡Ë #ref(./program.jpg) Î㤨¤Ð¡¤²èÁü¤Î¿å¿§¤Î»ú¤Ç½ñ¤«¤ì¤¿¡¤«¤é¢¤Ë°Üư¤¹¤ë´Ö¤Î¥×¥í¥°¥é¥à¤Ë¤Ï¡¤ ¥×¥í¥°¥é¥à¤Î¸å¤í¤Ë//1to2¤È½ñ¤«¤ì¤Æ¤¤¤ë¡¥ -¼ÂºÝ¤Ëʸ»ú¤ò½ñ¤¯ºÝ¡¤¥¹¥¿¡¼¥È¤Î°ÌÃÖ¤ò¹ç¤ï¤»¤ä¤¹¤¤¤è¤¦¤Ë¤¹¤ë¤¿¤á¡¤¥Ù¡¼¥¹¼ÖÂΤξå¤Îº¸±¦¤Ëư¤¯µ¡¹½¤ò°ìÈÖ±¦¤ËÀßÄꤷ¤Æ ¥¹¥¿¡¼¥È¤¹¤ë¤È¤Á¤ç¤¦¤ÉÎɤ¤°ÌÃÖ¤«¤é½ñ¤»Ï¤á¤ë¤è¤¦¤Ë¡¤¤Ï¤¸¤á¤Ëº¸°Üư¤Î¥×¥í¥°¥é¥à¤òÆþ¤ì¤¿¡¥ -ʸ»ú¤ÎŤµ¤ä´Ö³Ö¤òvoidÆâ¤Îwait¤Ç´ÉÍý¤·¤Æ¤¤¤ë¤Î¤À¤¬¡¤Â¿¤¯¤Î¾ìÌÌ¤ÇÆ±¤¸Ä¹¤µ¡¦´Ö³Ö¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¤ wait»þ´Ö¤Î»»½Ð²ó¿ô¤òÂçÉý¤Ë¸º¤é¤·¤¿¡¥ Î㤨¤Ð¡¤½£¤Î£²¡¤£´¡¤£¶³ÑÌܤÎŤµ¤ò·¤¨¤ë¤Ê¤É¡¥ ¡ÊÅÅÃӤλĤê¶ñ¹ç¤ä¥â¡¼¥¿¡¼¤ÎÀǽº¹¤«¤é¡¤Æ±¤¸Ä¹¤µ¤Îʸ»ú¤Ç¤âɬ¤º¤·¤âƱ¤¸»þ´Ö¤Çư¤¯¤ï¤±¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¤ ÈùÄ´À°¤Î¤¿¤áWait¤ÎÃͤ¬°Û¤Ê¤ëÅÀ¤¬¤¢¤ë¤Î¤ÇÃí°Õ¡Ë -½Ä²£¼´¤ò·¤¨¤ë¤³¤È¤Ç̵ÂÌ¤ÊÆ°¤¤ò¾¯¤Ê¤¯¤·¤¿