#author("2019-11-19T19:09:56+09:00","Nakakoo","Nakakoo") #author("2019-11-19T19:10:30+09:00","Nakakoo","Nakakoo") Ìܼ¡ #contents *²ÝÂêµ [#b17ef25c] ¥Ñ¡¼¥È¥Ê¡¼¤Î»÷´é³¨¤òÉÁ¤¯ *¥í¥Ü¥Ã¥È¤ÎÀâÌÀ [#o8c55748] º£²óºîÀ®¤·¤¿¥í¥Ü¥Ã¥È¤Ï¼ÖÂμ«ÂΤ¬°Üư¤· ~¥¢¡¼¥à¤Îµ¡¹½¤Ë¤è¤ê¥Ú¥ó¤ò¾å¤²²¼¤²¤¹¤ë¼«Áö¼°¥í¥Ü¥Ã¥È¤òºîÀ®¤·¤¿¡£ #ref(./IMG_5891s.JPG,75%,¼ÖÂΤβèÁü) ËÜÍè¤ÏX¼´¤ÈY¼´¤Î¤½¤ì¤¾¤ì¤¬ÊÌ¡¹¤Ëư¤¯¥í¥Ü¥Ã¥È¤òºîÀ®¤·¤¿¤«¤Ã¤¿¤¬ ~»þ´Ö¤¬Â¤ê¤Ê¤«¤Ã¤¿¤¿¤á¤Ë¡¢µÞî±¼«Áö¼°¥í¥Ü¥Ã¥È¤ËÊѹ¹¤·¤¿¡£ **¥Ú¥ó¼þ¤ê¤Î¹½Â¤ [#f189bc8d] °ì¤Ä¤Î¥â¡¼¥¿¤ò»È¤¤¥¢¡¼¥à¤Î¾å¤²²¼¤²¤ò¹Ô¤¦¡£ ~¥Ú¥ó¤ÎÂÀ¤µ¤Ë±è¤Ã¤ÆÆóËܤΥ¬¥¤¥É¥é¥¤¥ó¤òÆþ¤ì¡¢ ~¤½¤Î¸å¤í¤Ë¥Ú¥ó¤ò»Ù¤¨¤ëËÀ¤òÆóËÜÃÖ¤¤¤¿¡£ ~¤³¤ÎËÀ¤ò2ËÜÆþ¤ì¤Æ¤ª¤¯¤³¤È¤Ç¡¢Á°¤Ë¿Ê¤ó¤À¤È¤¤Ë¥Ú¥ó¤¬¤º¤ì¤Ê¤¤¤è¤¦¤Ë¤·¤¿¡£ ~¤·¤«¤·¡¢¤³¤ì¤À¤È¸å¤í¤Ë¿Ê¤ó¤À¤È¤¤Ë¤ÏÎØ¥´¥à¤À¤±¤Ç»Ù¤¨¤ë¤³¤È¤Ë¤Ê¤ë¤Î¤Ç°ÂÄê´¶¤¬Ä㤫¤Ã¤¿¡£ #ref(.IMG_5895s.JPG,75%,¥Ú¥óÀè¤Î²èÁü) #ref(./IMG_5895s.JPG,75%,¥Ú¥óÀè¤Î²èÁü) ËÜÅö¤Ï¥Ú¥ó¤ò¼ÖÂÎ¤ÎÆâ¦¤ËÆþ¤ì¤ÆÁ°Îؤδ֤ËÃÖ¤¯¤³¤È¤Ç¶Ê¤¬¤Ã¤¿»þ¤Î¤º¤ì¤ò̵¤¯¤·¤¿¤«¤Ã¤¿¤¬ ~¼Ö¹â¤¬Ä㤹¤®¤¿¤¿¤á¤Ë¥Ú¥ó¤¬Æâ¦¤ËÆþ¤é¤ºÃÇǰ¤·¤¿¡£ **¸åÎØ¤Î¹½Â¤ [#o3ff8dc4] ²óž¼´¤ò¥¿¥¤¥ä¤ÎÃæ¿´¤«¤éÊ¿¹Ô¤Ë¤º¤é¤·¡¢¼«Í³¤Ë²óž¤Ç¤¤ë¤è¤¦¤Ë¤·¤¿¡£ #ref(./IMG_5890s.JPG,75%,¸åÎØ¤Î²èÁü); ~¤·¤«¤·¡¢¸åÎØ¤¬ºÙ¤¹¤®¤¿¤ê¡¢½Å¿´¤¬¸å¤í¤Ë¤«¤«¤ê²á¤®¤Æ¤¤¤¿¤Î¤Ç ~¥Ð¥Ã¥¯¤¹¤ë¤È¤¤Ë¸åÎØ¤¬¤Þ¤Ã¤¹¤°¤ÎÊý¸þ¤ËÌá¤ê¤¤é¤º ~¶Ê¤¬¤Ã¤¿¤Þ¤Þ¥Ð¥Ã¥¯¤¹¤ë¤Î¤Çľ¿Ê¤·¤Ê¤¤¤È¤¤¤¦ÉÔ¶ñ¹ç¤¬À¸¤¸¤¿¡£ *¥×¥í¥°¥é¥ß¥ó¥°¤ÎÀâÌÀ [#oee9b5a9] **º£²ó»ÈÍѤ·¤¿¥×¥í¥°¥é¥à [#tbb869e5] #define SPEED 20 #define hidari(t) OnFwd(OUT_B,SPEED);OnRev(OUT_C,SPEED);Wait(t);Off(OUT_BC) #define migi(t) OnFwd(OUT_C,SPEED);OnRev(OUT_B,SPEED);Wait(t);Off(OUT_BC) #define mae(t) OnFwd(OUT_BC,SPEED);Wait(t);Off(OUT_BC) #define usiro(t) OnRev(OUT_BC,SPEED);Wait(t);Off(OUT_BC) #define enn(t) OnFwd(OUT_B,30);Wait(t);Off(OUT_B) #define pd OnFwd(OUT_A,SPEED);Wait(170);Off(OUT_A) #define pu OnRev(OUT_A,SPEED);Wait(170);Off(OUT_A) task main() { Wait(2500); pd; mae(1800); enn(1100); pu; mae(2100); hidari(2500); usiro(2200); pd; mae(1600); enn(1150); pu; mae(1700); hidari(800); usiro(3300); pd; mae(400); pu; mae(400); pd; mae(400); pu; mae(1600); hidari(1400); usiro(1800); pd; mae(350); enn(150); pu; mae(400); hidari(250); pd; migi(500); pu; } **¥Ú¥ó¤Î¾å¤²²¼¤² [#b716814f] ¥Þ¥¯¥í¤ò»ØÄꤷ¡¡pu=pen up, pd=pen down¡¡¤È»ØÄꤷ¤¿¡£ #define SPEED 20¡¡ #define pd OnFwd(OUT_A,SPEED);Wait(170);Off(OUT_A)¡¡¡¡// ¥Ú¥ó¤ò²¼¤²¤ë #define pu OnRev(OUT_A,SPEED);Wait(170);Off(OUT_A)¡¡¡¡// ¥Ú¥ó¤ò¾å¤²¤ë ¥Ú¥óÀè¤È»æ¤ÎË໤¤ò¹Í¤¨¡¢¥µ¥¤¥ó¥Ú¥ó¤Ç¤Ï¤Ê¤¯¥Ü¡¼¥ë¥Ú¥ó¤ò»ÈÍѤ·¤¿¡£ ~¥Ü¡¼¥ë¥Ú¥ó¤ò»È¤¦¤³¤È¤ÇË໤¤¬·Ú¸º¤µ¤ì¡¢¾¯¤·Â¿¤á¤Ë¥Ú¥ó¤ò²¼¤²¤Æ¤â¥í¥Ü¥Ã¥È¤Îưºî¤Ë»Ù¾ã¤Ï½Ð¤Ê¤«¤Ã¤¿¡£ **ÎØ³Ô [#l0c2376c] ¥Þ¥¯¥í¤Çư¤¤È®¤µ¤ò¤¹¤Ù¤Æ»ØÄꤷ¡¢»þ´Ö¡á£ô¡¡¤È¤¤¤¦ÊÑ¿ô¤òÍѤ¤¤ë¤³¤È¤Ç ~¹¥¤¤Ê»þ´Ö¤À¤±Æ°¤«¤»¤ë¤è¤¦¤Ë¤·¤¿¡£ #define SPEED 20 #define hidari(t) OnFwd(OUT_B,SPEED);OnRev(OUT_C,SPEED);Wait(t);Off(OUT_BC) // º¸¤Ë¶Ê¤¬¤ë #define mae(t) OnFwd(OUT_BC,SPEED);Wait(t);Off(OUT_BC) // Á°¤Ë¿Ê¤à #define usiro(t) OnRev(OUT_BC,SPEED);Wait(t);Off(OUT_BC) // ¸å¤í¤Ë¿Ê¤à #define enn(t) OnFwd(OUT_B,30);Wait(t);Off(OUT_B) // ±ß¤òÉÁ¤¯ Wait(2500); pd; mae(1800); // º¸Â¦¤ÎÎØ³Ô enn(1100); // ¤¢¤´¤Î·Á pu; mae(2100); // Êý¸þž´¹¤Î¤¿¤á¤ÎÄ´Àá hidari(2500); // º¸¤Ë¶Ê¤¬¤ë usiro(2200); // ²¼¤¬¤Ã¤Æ¥Ú¥óÀè¤òÄ´À° pd; mae(1600); // ±¦Â¦¤ÎÎØ³Ô¡¡ enn(1150); // Ƭ¤Î·Á pu; ¥Þ¥¯¥í¤Ç»ØÄꤷ¤¿¥¹¥Ô¡¼¥É¤¬Â®¤¹¤®¤¿¤Î¤Ç¡¢¤â¤¦¾¯¤·¤æ¤Ã¤¯¤ê¤·¤¿Êý¤¬¤¤ì¤¤¤Ë½ñ¤±¤ë¤Î¤Ç¤Ï¤Ê¤¤¤«¤È»×¤Ã¤¿¡£ ~¥Ú¥óÀ褬¥¿¥¤¥ä¤ÎÃæ¿´¤Ë¤Ê¤¤¤Î¤ÇåºÎï¤ÊȾ±ß¤òÉÁ¤¯¤³¤È¤¬¤Ç¤¤º ~¤¢¤´¤Î·Á¤¬ÂÀ¤¯¤Ê¤ê¤¹¤®¤Æ¤·¤Þ¤Ã¤¿¡£ ~¤µ¤é¤Ë¡¢Êý¸þž´¹¤Î¤¿¤á¤Ëº¸¤Ë¶Ê¤¬¤ë¤È¥Ú¥óÀ褬Àþ¤Î½ª¤ï¤ê¤«¤éÂ礤¯¤º¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç ~Á°¿Ê¤ä¸åÂà¤òÍѤ¤¤ÆÀþ¤Î¤º¤ì¤ò̵¤¯¤¹¤³¤È¤Ë¶ìÏ«¤·¤¿¡£ **´é¤Î¥Ñ¡¼¥Ä [#d735f3fd] mae(1700); //Êý¸þž´¹¤Î¤¿¤á¤ÎÄ´À° hidari(800); //º¸¤Ë¶Ê¤¬¤ë usiro(3300); //²¼¤¬¤Ã¤Æ¥Ú¥óÀè¤òÄ´À° pd; mae(400); //±¦Â¦¤ÎÌܤòÉÁ¤¯ pu; mae(400); //Èý´Ö¤Î´Ö¤ò¤¢¤±¤ë pd; mae(400); //º¸Â¦¤ÎÌܤòÉÁ¤¯ pu; mae(1600); //Êý¸þž´¹¤Î¤¿¤á¤ÎÄ´À° hidari(1400); //º¸¤Ë¶Ê¤¬¤ë usiro(1800); //²¼¤¬¤Ã¤Æ¥Ú¥óÀè¤òÄ´À° pd; mae(350); //É¡¶Ú¤òÉÁ¤¯ enn(150); //É¡¤Î¤Î¹â¤µ¤òÉÁ¤¯ pu; mae(400); //Êý¸þž´¹¤Î¤¿¤á¤ÎÄ´À° hidari(250); //º¸¤Ë¶Ê¤¬¤ë pd; migi(500); //¸ý¤òÉÁ¤¯ pu ¥Ú¥óÀè¤òÁ°ÎؤÎÃæ¿´¤ËÃÖ¤±¤ÐÀþ¤Î¤º¤ì¤âȯÀ¸¤»¤º¡¢¥×¥í¥°¥é¥à¤â¤è¤ê¥·¥ó¥×¥ë¤Ë¤Ç¤¤¿¤Î¤Ç¤Ï¤Ê¤¤¤«¤È´¶¤¸¤ë¡£ ~Àè¤Ë´é¤Î¥Ñ¡¼¥Ä¤òÉÁ¤¤¤Æ¤«¤éÎØ³Ô¤òÉÁ¤¤¤¿¤Û¤¦¤¬¡¢Â¿¾¯ÎسԤˤº¤ì¤¬¤¢¤Ã¤Æ¤â´é¤Ë¸«¤¨¤ë¤Î¤Ç ~¤½¤ÎÅÀ¤â²þÁ±¤Ç¤¤ë¥Ý¥¤¥ó¥È¤Ç¤¢¤ë¤È»×¤Ã¤¿¡£ *ÉÁ¤±¤¿´é [#q8384d8a] ¤³¤ì¤¬º£²óÉÁ¤¤¤¿´é¤À #ref(./IMG_5888s.JPG,75%,»÷´é³¨¤Î²èÁü) ÎØ³Ô¤¬¤¢¤Þ¤ê¤¦¤Þ¤¯ÉÁ¤±¤Ê¤«¤Ã¤¿¤ê¡¢´é¤Î¥Ñ¡¼¥Ä¤¬¤º¤ì¤Æ¤·¤Þ¤Ã¤¿¤Î¤¬ ~º£²ó¤Î¥í¥Ü¥Ã¥È¤ÎÈ¿¾ÊÅÀ¤Ç¤¢¤ë *¤Þ¤È¤á [#c18c2fbc] **¥í¥Ü¥Ã¥È¤Ë¤Ä¤¤¤Æ¤ÎÈ¿¾Ê [#j4124ad5] Àè¤Û¤É½ñ¤¤¤¿¤è¤¦¤Ë¡¡¸åÎØ¤Ë½Å¿´¤¬ÊФäƤ¤¤¿¤¿¤á¤Ë¤Þ¤Ã¤¹¤°¤Ë¶Ê¤¬¤ì¤Ê¤¤¤È¤¤¤¦¤³¤È¤¬°ìÈÖ¤ÎÈ¿¾ÊÅÀ¤Ç¤¢¤Ã¤¿¡£ ~¤â¤¦¾¯¤·½Å¿´¤Ëµ¤¤òÉÕ¤±¤Æ¡¢½Å¤¿¤¤¥³¥ó¥Ô¥å¡¼¥¿¡¼¤òÁ°¤Î¤Û¤¦¤ËÀßÃÖ¤¹¤ë¤è¤¦¤Ë¼¡²ó¤Ï¿´¤¬¤±¤Æ¤¤¤¤¿¤¤¡£ ~¤µ¤é¤Ë¡¢¥Ú¥óÀ褬¥í¥Ü¥Ã¥È¤ÎÁ°¤Ë½Ð¤Æ¤¤¤¿¤Î¤ÇÀþ¤¬¤º¤ì¤Æ¤·¤Þ¤Ã¤Æ¤¤¤¿¡£ ~Á°Îؤδ֤˥ڥóÀ褬¤¢¤ì¤ÐÀþ¤¬¤º¤ì¤ë¤³¤³¤â¤Ê¤«¤Ã¤¿¤Î¤Ë¡¢¤½¤ì¤ËÁ᤯µ¤¤Å¤±¤Ê¤«¤Ã¤¿¤³¤È¤¬¤È¤Æ¤â²ù¤ä¤Þ¤ì¤ë¡£ ~¤³¤Î¤º¤ì¤¬¤Ê¤«¤Ã¤¿¤é¥×¥í¥°¥é¥ß¥ó¥°¤â¤â¤Ã¤È¥·¥ó¥×¥ë¤Ë¤Ê¤ê¡¢ÉÁ¤±¤ëÀþ¤Î¼«Í³ÅÙ¤¬¹â¤¯¤Ê¤Ã¤¿¤È»×¤Ã¤¿¡£ **¥×¥í¥°¥é¥ß¥ó¥°¤Ë¤Ä¤¤¤Æ¤ÎÈ¿¾Ê [#o00d317a] ¥Þ¥¯¥í¤Ç»ØÄꤷ¤¿Æ°¤¤À¤±¤Ç´é¤òÉÁ¤±¤¿¤Î¤Ï°ìÈÖÎɤ«¤Ã¤¿ÅÀ¤Ç¤¢¤ë¡£ ~¤µ¤é¤ËÊÑ¿ô¤Î¡¡"£ô"¡¡¤òÍѤ¤¤ÆÆ°¤¯»þ´Ö¤ò¼«Í³¤ËÊѹ¹¤Ç¤¤¿¤Î¤â¤è¤«¤Ã¤¿ÅÀ¤Ç¤¢¤ë¡£ ~¤·¤«¤·¸å¤Ç¥×¥í¥°¥é¥ß¥ó¥°¤ò¸«ÊÖ¤·¤Æ¤ß¤ë¤È¡¢Êý¸þž´¹¤Î¤¿¤á¤Ë ~"Á°¤Ë¿Ê¤à"¡¡"º¸¤Ë¶Ê¤¬¤ë"¡¡"¸å¤í¤Ë²¼¤¬¤ë"¡¡¤È¤¤¤¦Æ°¤¤¬²¿ÅÙ¤â½Ð¤Æ¤¤¿¤Î¤Ç ~¥µ¥Ö¥ë¡¼¥Á¥ó¤òÍѤ¤¤Æ¤â¤Ã¤È¥×¥í¥°¥é¥ß¥ó¥°¤¬¥·¥ó¥×¥ë¤Ë¤Ç¤¤¿¤È»×¤Ã¤¿¡£ **Á´ÂΤòÄ̤·¤Æ [#i8c17e5c] ½é¤á¤Æ¥×¥í¥°¥é¥ß¥ó¥°¤òÉÁ¤¡¢¤Û¤Ü°ì¿Í¤Ç¥í¥Ü¥Ã¥È¤òºî¤Ã¤¿¤Ë¤·¤Æ¤Ï¤È¤Æ¤â¤è¤¯¤Ç¤¤Æ¤¤¤¿¤È´¶¤¸¤¿¡£ ~¤â¤¦¾¯¤·¥Ñ¡¼¥È¥Ê¡¼¤È¶¨ÎϤǤ¤ë»þ´Ö¤¬¼è¤ì¤ì¤Ð¡¢¤è¤êÎɤ¤¥í¥Ü¥Ã¥È¤¬ºî¤ì¤ë¤È´¶¤¸¤¿¤Î¤Ç ~¼¡²ó¤«¤é¤Ï¥Ñ¡¼¥È¥Ê¡¼¤È¤â¤Ã¤È¶¨ÎϤ·¤¿¤¤¡£ ~¼¡²ó¤Î²ÝÂê¤Ïº£²ó¤ÎÈ¿¾Ê¤òÀ¸¤«¤·¡¢¤è¤êÎɤ¤¥í¥Ü¥Ã¥È¤È¥×¥í¥°¥é¥à¤òºî¤ê¤¿¤¤¡£