èšäºãMathematicaïŒNBïŒããã¥ã¡ã³ã ã CDFãã¡ã€ã«ããŸãã¯PDFãšããŠããŠã³ããŒãããŸã ã
NXTã¯ãã¢ãŒã¿ãŒãšã»ã³ãµãŒã®å¶åŸ¡ã«äœ¿çšãããæ±çšããã»ããµãŒã§ãã èªåŸåããããã®äœæã«æé©ã§ãã Bluetoothãä»ããŠãããé«åºŠãªã³ã³ãã¥ãŒã¿ãŒãœãããŠã§ã¢ãšéä¿¡ããããšãã§ããŸãã ãã®èšäºã§ã¯ã Wolframèšèª ïŒ Mathematica ïŒãä»ããŠNXTãšé©åã«ããåãããæ£ããä¿¡å·ãéä¿¡ããæ¹æ³ã瀺ããŸãã ãŸããé¢æ°éã®ãã¹ãŠã®çžäºäœçšã管çããããã±ãŒãžãå°å ¥ããŸãã ãããã®æ©èœããã€ãããã¯ã»ã«ãšçµã¿åãããŠäœ¿çšââããŠãããããã®ç¶æ ã衚瀺ãããã®ãšã³ãžã³ãå¶åŸ¡ã§ããŸãã
ã¯ããã«
ããããã¯ããã¬ãŒãã³ã°ãé©å¿ãªã©ã®èªç¥çè«ã®ãã¹ããããã³ç°å¢ã®åœ±é¿ã®åé¡ã«çæ³çãªãªããžã§ã¯ãã§ãã ã»ãšãã©ã®ããããã®éèŠãªèŠçŽ ã¯äžå€®åŠçè£ çœ®ã§ãããã»ã³ãµãŒãä»ããŠç°å¢ããŒã¿ãåãåããã¢ãŒã¿ãŒã䜿çšããŠç°å¢ã«äœçšããŸãã ãã®ç®çã®ããã«ãLEGOã¯2006幎ã«ãæ°ããããã°ã©ã å¯èœãªãã¶ã€ããŒãLEGO MINDSTORMS NXTãå°å ¥ããŸããã ãã®èšèšè ã¯ã4ã€ã®ã»ã³ãµãŒãš3ã€ã®ã¢ãŒã¿ãŒãåããŠãããããŒã¿ãä¿åããããã®256 KBã®ãã©ãã·ã¥ã¡ã¢ãªãåããŠããŸãã ãã®ã³ã³ã¹ãã©ã¯ã¿å°çšã«ã³ã³ãã€ã«ãããããã°ã©ã ïŒLEGO LabVIEWãŸãã¯NBCãNXCãªã©ã®ãµãŒãããŒãã£ã³ã³ãã€ã©ã«ãã£ãŠã³ã³ãã€ã«ããã.rxeæ¡åŒµåãæã€ãã¡ã€ã«ïŒãå®è¡ã§ããŸãã ãã®ãã¶ã€ããŒã®æ±çšæ§ãšäœã³ã¹ãã¯ãããããéçºãããžã§ã¯ãã«ãšã£ãŠçæ³çãªãªããžã§ã¯ãã§ãã
NXTã¯ãç¥èœãå«ãèªåŸåããããã®éçºã«é©ããŠããŸãã åŠç¿ã¢ã«ãŽãªãºã ã調ã¹ãããšãã§ããŸãã ããšãã°ãéåžžã®è©Šè¡é¯èª€æ³ããããè¿·è·¯ããæãåºãæ¹æ³ãèŠã€ããåé¡ã解決ããããã®ããæé©ãªæ¹æ³ãèŠã€ããããšãã§ããŸãã æåŸã«ãNXTã¯ãã°ã«ãŒãã®çåçãé«ããããã«è€æ°ã®ãããããçžäºäœçšããå¿ èŠããã瀟äŒçèªç¥ã¢ãã«ã®ç 究ã«ã䜿çšã§ããŸãã
ãã®èšäºã§ã¯ãBluetoothãä»ããŠãã¶ã€ããŒãå¶åŸ¡ããæ¹æ³ã瀺ããŸãã ãŸããå€ãã®ã¿ã¹ã¯ã容æã«ããMath4NXTããã±ãŒãžã玹ä»ããŸãã Mathematicaã®çµã¿èŸŒã¿ã®åçæ©èœãšçµã¿åããããšãLEGOããããã®å¶åŸ¡ã¯éåžžã«ç°¡åã§ãã
ãªã³ã¯äœæ
NXTãåããŠèµ·åãããšãã¯ãã³ã³ãã¥ãŒã¿ãŒã§Bluetoothã䜿çšããŠããããèŠã€ããŠæ¥ç¶ãäœæããŸãã åããŠäœ¿çšããå Žåã¯ããã¶ã€ããŒïŒããã©ã«ãã§ã¯ã1234ãïŒãšã³ã³ãã¥ãŒã¿ãŒã§ãã¹ã¯ãŒããå ¥åããå¿ èŠããããŸãã 次ã«ãã³ã³ã¹ãã©ã¯ã¿ãŒã§å©çšå¯èœãªãDevããµãŒãã¹ãéžæããå¿ èŠããããŸãã ãããã£ãŠãCOMããŒãã¯ã³ã³ãã¥ãŒã¿ãŒãšèšèšè ã®éã®éä¿¡åç·ãšããŠå²ãåœãŠãããŸãã COMããŒãåã¯å€æ°ïŒããšãã°ãCOM11ïŒãšããŠèšå®ãããŸãããç¹å®ã®ã³ã³ãã¥ãŒã¿ãŒãšNXTã®ãã¢ã«å¯ŸããŠã¯äžå®ã®ãŸãŸã§ãïŒãã¢ãäœæããããã®è©³çŽ°ãªæé ã¯[1]ã«ãããŸãïŒã ç¹å®ã®COMããŒããæå®ããåŸããã®ããã»ã¹ãç¹°ãè¿ãå¿ èŠã¯ãªããªããŸãã
NXTã³ã³ã¹ãã©ã¯ã¿ãŒã«ã¯ãCOMããŒãããåä¿¡ããèŠæ±ãããã«åŠçãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ïŒãã¡ãŒã ãŠã§ã¢ïŒããããŸãã ããã°ã©ã ãçŸåšãã¶ã€ããŒã§å®è¡ãããŠããå Žåã§ãã圌ã¯ãããè¡ããŸãã LEGOããã¥ã¡ã³ã[2]ã®ãããã®ã³ãã³ãã¯directãšåŒã°ããŸãã çŽæ¥ã³ãã³ãã«ã¯ããã¡ã€ã«æäœãã¢ãŒã¿ãŒå¶åŸ¡ãã»ã³ãµãŒã®ã»ããã¢ãããšã»ã³ãµãŒããã®ããŒã¿ã®èªã¿åããç°ãªããã¶ã€ããŒéã®çžäºäœçšãå«ãŸããŸãã ã³ãã³ãã¯ãäžé£ã®ãã€ãïŒ0ã255ã®æ°åïŒãè¡šãã¡ãã»ãŒãžã䜿çšããŠCOMããŒãçµç±ã§éä¿¡ãããŸãã äžéšã®ã³ãã³ãã¯ãã¡ãã»ãŒãžãšããŠéä¿¡ãããã³ã³ã¹ãã©ã¯ã¿ãŒå¿çãæé»çã«ç€ºããŸãã åã¡ãã»ãŒãžã®åã«ã2ãã€ããå²ãåœãŠããããã®ã¡ãã»ãŒãžã®é·ãã«é¢ããæ å ±ãéä¿¡ãããŸãã ãããã£ãŠãNXTã³ã³ã¹ãã©ã¯ã¿ãŒã®ç®¡çã¯ãã·ãªã¢ã«ããŒããä»ããŠç¹å®ã®ãã€ããç¹å®ã®é åºã§éä¿¡ããŠããŸãã
ã·ãªã¢ã«COMããŒãã䜿çšããã«ã¯ãSerialIO [3]ãšåŒã°ããMathematicaã®ããã±ãŒãžã䜿çšããå¿ èŠããããŸãã ãã®ããã±ãŒãžã¯2ã€ã®éšåã§æ§æãããŠããŸãã 1ã€ç®ã¯ãã³ã³ãã¥ãŒã¿ãŒãšãªãã¬ãŒãã£ã³ã°ã·ã¹ãã çšã«èšèšãããå®è¡å¯èœããã°ã©ã ã§ãã SerialIOã¯ãLinuxãWindowsïŒ32ãããããã³64ãããïŒãããã³OS Xåãã®ããã°ã©ã ãæäŸããŸãã2çªç®ã®éšåã«ã¯ããããžã§ã¯ãã§äœ¿çšã§ããMathematicaé¢æ°ãå«ãŸããŠããŸãã ãã®COMããŒãã®éä¿¡ãã£ãã«ãéãããéãããããããã®ã³ãã³ãSerialOpenãšSerialCloseãå«ãŸãã SerialWriteãšSerialReadã¯COMããŒãããããŒã¿ãèªã¿æžãããŸãã 次ã®å³ã¯ãNXTãšã³ã³ãã¥ãŒã¿ãŒéã®éä¿¡äžã«æ å ±ãæµããããŸããŸãªã¬ãã«ã瀺ããŠããŸãã
å³1. NXTããã³ã³ã³ãã¥ãŒã¿ãŒãšéä¿¡ãããœãããŠã§ã¢ã¢ãŒããã¯ãã£ã å³åŽã®æåŸã®3ã€ã®ãŠã£ã³ããŠã¯Mathematicaããã°ã©ã ãè¡šããä»ã®2ã€ã®ãŠã£ã³ããŠã¯Math4NXTããã±ãŒãžã«ãã£ãŠæäŸãããŸããããã«ã€ããŠã¯åŸã§èª¬æããŸãã
Wolfram Library ArchiveããSerialIOããã±ãŒãžãããŠã³ããŒãããéžæãããã©ã«ããŒã«ã€ã³ã¹ããŒã«ããŸãïŒExtraPackagesãã©ã«ããŒã«ããAddOns Mathematicaã«æé©ïŒã 䟿å®äžããã®ã¢ãã¬ã¹ã«äœæ¥ãã©ã«ããŒãé 眮ããããšãã§ããŸãããã®çµæãMathLinkäºæããã°ã©ã ãèªåçã«ä¿åãããŸãã
次ã«ã Needsã䜿çšããŠããã±ãŒãžãããŠã³ããŒãããŸãã
ã³ãã³ããæ£åžžã«å®è¡ããããšãã³ã³ãã¥ãŒã¿ãŒã®ããã¯ã°ã©ãŠã³ãã§å®è¡ãããŠããSeriallOããã»ã¹ã確èªã§ããŸãã 次ã®ã³ãã³ãã¯ãCOMããŒããéãããã¶ã€ããŒãšã®éä¿¡ãã£ãã«ã確ç«ããŸãïŒæå¹ã«ããå¿ èŠããããŸãïŒã
NXTã³ã³ã¹ãã©ã¯ã¿ãŒãããããã®èšäºã«èšèŒãããŠããã³ãŒãã»ã«ãèšç®ããå Žåã¯ãAltããŒãæŒããªããã»ã«ãéžæããå¿ èŠããããŸãããã®ããããã¹ãŠã®ã»ã«ãéžæãããŸãã 次ã«ã Mathematicaã¡ã€ã³ã¡ãã¥ãŒãããCell Cell Properties EvaluatableãéžæããŸãã NXTãæ¥ç¶ãããŠããªãå Žåããããã®ã³ãã³ããå®è¡ãããšããšã©ãŒã¡ãã»ãŒãžãšæªèšç®ã®ã»ã«ãè¿ãããŸãã
æ¥ç¶ãéããŠããããšã確èªããã«ã¯ãå·Šäžé ã«ãããã¶ã€ããŒã®ãã£ã¹ãã¬ã€ãèŠãŠãã ããã èŠãã <ã®å Žåãããã¯æ¥ç¶ã確ç«ãããŠããªãããšãæå³ããŸãã A <>ã¯ãæ¥ç¶ã確ç«ãããããšãæå³ããŸãã å€æ°mybrickã«ã¯ãCOMããŒãããã®ããŒã¿ã¹ããªãŒã ãžã®ãã³ãã«ãå«ãŸããåŸç¶ã®ãã¹ãŠã®ã¡ãã»ãŒãžã§äœ¿çšãããŸãã COMããŒããéããã«ã¯ã次ã®ã³ãã³ãã䜿çšããŸãã
MathematicaãçµäºïŒãŸãã¯ã«ãŒãã«ãã·ã£ããããŠã³ïŒãããšãCOMããŒããéããããããã¯ã°ã©ãŠã³ãã§å®è¡ãããSeriallOããã»ã¹ãçµäºããŸãã
ã¡ãã»ãŒãžã®éä¿¡ãšå¿çã®åä¿¡
SerialIOããã±ãŒãžã¯ãCOMããŒãïŒãŸãã¯åã ã®æå/ããã¹ãè¡ïŒãä»ããŠããã¹ããéä¿¡ããããã«äœæãããŸããã ãã ããNXTã³ã³ãããŒã«ã«é¢ããŠã¯ãçªå·ãçŽæ¥éä¿¡ããæ¹ãçã«ããªã£ãŠããŸãã ãããã£ãŠãéä¿¡ããåã«ãæ°å€ãASCIIã³ãŒãã®å¯Ÿå¿ããæåã«å€æããå¿ èŠããããŸãã ããã¯å°ãäžäŸ¿ã§ãããåŸã§ããæ£ç¢ºãªãœãªã¥ãŒã·ã§ã³ãæäŸããŸãã
ã¡ãã»ãŒãžã¯åžžã«ãNXTãå¿çããå¿ èŠããããã©ããã瀺ããã€ãã§å§ãŸããŸãã ããã§ã¯èª°ã«ãšã£ãŠã䟿å©ã§ãããã³ã³ã¹ãã©ã¯ã¿ã«éä¿¡ãããå€ãã®ã³ãã³ãã¯ã¹ããŒã¿ã¹ãã€ãïŒ0-å®è¡æåããã以å€-ãšã©ãŒã¡ãã»ãŒãžïŒã®ã¿ãè¿ããŸãã ã¹ããŒã¿ã¹ãã€ãã®åœ¢åŒã®å¿çã¡ãã»ãŒãžã®å Žåãå¿çã¯ã»ãšãã©åœ¹ã«ç«ã¡ãŸããã å¿çãèŠæ±ããã«ã¯ãæåã®ãã€ãã¯0ã§ãªããã°ãªããŸããã 128ã¯ãNXTãå¿çããªãããšãæå³ããŸãã
ã¡ãã»ãŒãžã®2çªç®ã®ãã€ãã¯åžžã«ã³ãã³ãçªå·ã§ãã ãããã¯ãã¹ãŠãã¬ãŽã°ã«ãŒãã®ããã¥ã¡ã³ãã«èšèŒãããŠããŸã[2]ã åŸç¶ã®ãã€ãã¯ãéä¿¡ãããã³ãã³ãã«ãã£ãŠç°ãªããŸãã
ããšãã°ããµãŠã³ããåçããããã®NXTãžã®èŠæ±ã¯ãçŽæ¥ã®PlayToneã³ãã³ãã«ãã£ãŠæäŸãããŸãã ãã®ã³ãã³ãã®æ°ã¯3ã§ãã次ã«ã2ã€ã®ãã©ã¡ãŒã¿ãŒãèšå®ããå¿ èŠããããŸããããŒã³åšæ³¢æ°ïŒ200ã14000ã®æ°ïŒãšããŒã³æç¶æéïŒããªç§ã0ã65535ã®æ°ïŒã ãããã®2ã€ã®ãã©ã¡ãŒã¿ãŒã¯UWORDïŒç¬Šå·ãªãã¯ãŒã-WORDïŒãšããŠãšã³ã³ãŒããããŸããã€ãŸãã2ãã€ã以äžãå²ãåœãŠãããæäžäœãã€ããæåã«èšå®ãããŸãã 䟿å®äžã toUWORDå€æé¢æ°ãäœæããŸã ã
ãããã£ãŠã480 Hzã®ããŒã³åšæ³¢æ°ãš2ç§ã®æç¶æéã¯ã次ã®ãã€ãã·ãŒã±ã³ã¹ã«å¯Ÿå¿ããŸãã
ã¡ãã»ãŒãžå šäœã¯æ¬¡ã®ããã«ãªããŸãã
ã¡ãã»ãŒãžèªäœã®åã«ããã®é·ãã瀺ãå¿ èŠããããŸããããã¯ã次ã®ã³ãã³ãã䜿çšããŠååŸã§ããŸãã
2ã€ã®éšåãæ¥ç¶ããŠãå®å šãªã¡ãã»ãŒãžãååŸãããã®ã³ãŒãè¡ã§çªå·ã«å¯Ÿå¿ããæåã®ãªã¹ãïŒãã®ãããªæåã¯ã³ã³ãã¥ãŒã¿ãŒã§è¡šç€ºã§ããªãå ŽåããããŸãïŒãååŸããŸãã
ãããã®æåã1ã€ãã€NXTã³ã³ã¹ãã©ã¯ã¿ãŒã«éä¿¡ããŸãããã
ããŒãé³ãèãããããã«ãªããŸããã åçãèŠæ±ããããïŒæåã®ãã€ãã¯ãŒãã§ããïŒããããèªã¿åãå¿ èŠããããŸãã
ç¹°ãè¿ããŸãããçãã¯ããã¹ãã§æ§æãããŠããŸãïŒæåã衚瀺ã§ããªãå ŽåããããŸãïŒã ããããæ°åã®ãªã¹ãã«å€æããŸãããã
ãã€ãã¯æ¬¡ã®é åºã§è¿ãããŸããUWORDã§2ãã€ã以äžã§ãšã³ã³ãŒããããè¿ãããã¡ãã»ãŒãžã®é·ãïŒãã®å Žå3ã0ã¯ã¡ãã»ãŒãžã®é·ãã¯3æåïŒã2çªç®ã®ãã€ãã¯ãããå¿çã¡ãã»ãŒãžã§ããããšã瀺ããŸãã 3çªç®ã®ãã€ãã¯ãå¿çãçºè¡ããããŒã ã®çªå·ïŒãã®å Žåã¯Playtoneã³ãã³ãïŒã瀺ããæåŸã«ããŒã ã®ã¹ããŒã¿ã¹ïŒ0ã¯æåã瀺ããŸãïŒã瀺ããŸãã PlayToneã³ãã³ãã¯ä»ã®æ å ±ãè¿ããŸããã äžéšã®çŽæ¥ã³ãã³ãã¯ãããè€éãªã¡ãã»ãŒãžãè¿ãå ŽåããããŸãã
äŸãšããŠãGetBatteryLevelã³ãã³ããéä¿¡ããŸãã ãã®ã³ãã³ãã®çªå·ã¯11ã§ããããã©ã¡ãŒã¿ãŒãè¿œå æ å ±ã¯å¿ èŠãããŸããã åçãèŠæ±ãããå ŽåïŒãã ãããã®ã³ãã³ããéä¿¡ããåçãæ±ããªãããšã¯ç¡æå³ã§ãïŒãã³ãã³ãã®ã¹ããŒã¿ã¹ïŒæåã®å Žåã¯0ïŒãè¿ãããã®åŸã«2ãã€ããããªãã«ãåäœã§NXTã®ããããªãŒé»å§ã瀺ããŸãã é»å§ã解èªããã«ã¯ãå¥ã®å€æé¢æ°fromUWORDãäœæããŸãããã
ã¡ãã»ãŒãžå šäœãåéããé·ããšçµã¿åãããŠãæåã®ãªã¹ãã«å€æããŠéä¿¡ããŸãããã
ããã§ã¯ãçããèªãã§æ°å€ã«å€æããŸãããã
æåã®2ãã€ãã¯ãå¿çã®é·ãïŒ5ãã€ãïŒã瀺ããŸãã 2ããã³11ã¯ããããGetBatteryLevelã³ãã³ããžã®å¿çã§ããããšã瀺ããŠããŸãã 0ã¯ãã³ãã³ããæåããããšã瀺ããŸãã æåŸã«ã247ãš27ã¯ããããªãŒã®é»å§ã瀺ããŠããŸãããããäžèšã®fromUWORDã³ãã³ãã§æ°å€ã«å€æããŸãã
ãããã£ãŠãããããªãŒã®é»å§ã¯7.16ãã«ãã§ãããããã¯æ°åã®ããããªãŒã§äºæ³ããã9ãã«ããããã¯ããã«äœãå€ã§ãã
SerialWriteããªãŒããŒã©ã€ãããŠãæŽæ°ãŸãã¯ãããã®ãªã¹ããéä¿¡ããŸã
ã³ã³ã¹ãã©ã¯ã¿ãŒã«éä¿¡ãããæåã§ã¯ãªãæ°åãè¡šãæ¹ã䟿å©ãªã®ã§ãSerialIOããã±ãŒãžã«å«ãŸããSerialWriteã³ãã³ããæ¡åŒµããŠã0ãã255ïŒãã€ãïŒãŸã§ã®åã ã®æŽæ°ãšãã®ãªã¹ãã®äž¡æ¹ãéä¿¡ã§ããããã«ããŸãã
ãã®æ¡åŒµæ©èœã䜿çšãããšãïŒãã€ãã§æ§æãããïŒã¡ãã»ãŒãžå šäœãSerialWriteãžã®1åã®åŒã³åºãã§éä¿¡ã§ããŸãã ããšãã°ã次ã®æé ã¯PlayToneã³ãã³ããåæ§æããŸãïŒä»åã¯åçãªãïŒã
ã¡ãã»ãŒãžå šäœãåäžã®ã³ãã³ãã䜿çšããŠéä¿¡ãããŸããã
Math4NXTã§æäŸããããã€ã¬ã¯ãã³ãã³ã
äžèšã¯ãã³ãã³ããNXTã³ã³ã¹ãã©ã¯ã¿ãŒã«éä¿¡ãããã®å¿çãèªã¿åãæ¹æ³ã瀺ããŠããŸãã 次ã«ãã¡ãã»ãŒãžãæ£ããé åºã§å¿ èŠãªæ å ±ãšãšãã«çµã¿ç«ãŠãå¿ èŠã«å¿ããŠå¿çãèªã¿åã£ãŠè§£éããã ãã§ãã ãããã®ç®çã®ããã«ãLEGO Groupã«ãã£ãŠæäŸãããããã¥ã¡ã³ãïŒç¹ã«[2]ã®ä»é²2ïŒã¯ããªãå æ¬çãªãã®ã§ãã
ç°¡åã«ããããã«ããã¹ãŠã®ãã€ã¬ã¯ãã³ãã³ããMath4NXTãšããããã±ãŒãžã«ãšã³ã³ãŒãããŸãã ã æåã«Math4NXTããã±ãŒãžãå ¥æããå¿ èŠããããŸãã ããã¯ã°ã©ãŠã³ãã§SerialIOããã±ãŒãžã䜿çšããããã Mathematicaãæ€çŽ¢ãããã£ã¬ã¯ããªã«ãã€ã³ã¹ããŒã«ããŸãïŒããšãã°ã FileNameJoin [{$ InstallationDirectoryã "AddOns"ã "ExtraPackages"ã "SerialIO"}] ïŒã 次ã«ã次ã®ã³ãã³ãã䜿çšããŠMath4NXTãããŠã³ããŒãããŸãã
Mathematicaãæ€çŽ¢ãããã©ã«ãã®1ã€ã«Math4NXTããã±ãŒãžãå ¥ããªãã£ãã®ã§ã Needsã³ãã³ãã䜿çšããŠãã¹ãèšå®ããå¿ èŠããããŸãã 次ã«ãåè¿°ã®ããã«ãã·ãªã¢ã«ããŒããéãå¿ èŠããããŸãïŒãŸã è¡ã£ãŠããªãå ŽåïŒã
ãã¹ãŠã®çŽæ¥ã³ãã³ãã¯ãæåNXTã§å§ãŸããŸãã ãããã£ãŠãããã±ãŒãžå ã®ããããªãŒã¬ãã«ãèªã¿åãã³ãã³ãã¯NXTGetBatteryLevelãšåŒã°ããŸã ã
ããã©ã«ãã§ã¯ãã³ãã³ãã¯ååä»ãæååïŒããšãã°ã ãStatusã ïŒã䜿çšããŠå¿çãè¿ããŸãã éåžžã®æ¹æ³ã§æ å ±ã®äžéšãæœåºã§ããŸãã
ãã®åœ¢åŒã¯ã ResultFormatãªãã·ã§ã³ã䜿çšããŠãããšãã°rawïŒåã®2ã€ã®ã»ã¯ã·ã§ã³ã®ããã«ãã€ãåäœã®åºåïŒã«å€æŽã§ããŸãã
äžæ¹ãéä¿¡ããã³åä¿¡ãããã€ãã¯ããªãã·ã§ã³ã䜿çšããŠå¥ã®ãŠã£ã³ããŠã«è¡šç€ºã§ããŸã ã
ãã®ãªãã·ã§ã³ã¯ãã¡ãã»ãŒãžããã¯ã¹ãéããŸã ã
å³2.ãªãã·ã§ã³ãéžæãããšãã¡ãã»ãŒãžããã¯ã¹ãèªåçã«éããŸã 䜿çšãããŸãã
ãã¹ãŠã®ãã€ã¬ã¯ãã³ãã³ããå©çšå¯èœã§ãã
çŽæ¥ã³ãã³ãå±é
ãã€ã¬ã¯ãã³ãã³ãã«ã¯å€ãã®å¶éããããŸãã ãŸããCOMããŒãã®æ§è³ªã«ãããã¡ãã»ãŒãžã¯253ãã€ããè¶ ããããšã¯ã§ããŸããã ããã¯ããã¡ã€ã«ãæ±ãéã®å€§ããªå¶éã§ãããã¯ããã«å€§ãããªãå¯èœæ§ããããŸãã ããã«ãLEGOã»ã³ãµãŒã®åäœã¯å€§ããç°ãªããŸãã I2Cã»ã³ãµãŒã®ããã«ãäžéšã®ã»ã³ãµãŒã¯é»åãå¿ èŠãšããªãååçã§ãä»ã®ã»ã³ãµãŒã¯ã¢ã¯ãã£ãã§ãä»ã®ã»ã³ãµãŒã¯ããã°ã©ããã«ã§ãã ã³ãã³ããäžè²«ããæ¹æ³ã§äœ¿çšããé·ãã®å¶éãåé¿ããããã«ããããã®åé¡ã解決ããé«ã¬ãã«ã®ã³ãã³ããèšå®ããŸãã
ããããã¹ãŠã®ã³ãã³ãã®ååã¯M4Nã§å§ãŸããŸãã
1ã€ã®äŸã¯ã ã³ã³ã¹ãã©ã¯ã¿ãŒã«ååšãããã¹ãŠã®ãã¡ã€ã«ããªã¹ãããM4NFileNamesã³ãã³ãã§ãïŒãªãã·ã§ã³ã§ãã¡ã€ã«ãµã€ãºãæå®ïŒã
ãã®ã³ãã³ãã¯ãããã°ã©ã 1ã«ç€ºãããŠããã¢ã«ãŽãªãºã ã䜿çšããŠã NXTFindFirst ïŒã³ãã³ãçªå·134ïŒã NXTFindNext ïŒ135ïŒã NXTClose ïŒ132ïŒã®ãã€ã¬ã¯ãã³ãã³ããåŒã³åºãããšã§æ©èœããŸããNXTã³ãã³ãã®åŒã³åºããããã€ã衚瀺ããã«ã¯ã M4NFileNames㧠ã
res=NXTFindFirst[mybrick,"*.*"]; While [("Status"/.res)=0, res=NXTFindNext[mybrick,"Handle"/.res] ] NXTClose[mybrick];
ããã°ã©ã 1. M4NFileNamesã¯ãäžè¬çãªã¢ã«ãŽãªãºã ã䜿çšããŠãNXTã«ååšãããã¹ãŠã®ãã¡ã€ã«åãååŸããŸãã ãã®ã¢ã«ãŽãªãºã ã¯ããã¡ã€ã«åïŒ resã«ãã€ããšããŠå«ãŸããïŒããªã¹ãã«åéããæ¹æ³ã瀺ããŠããŸããã
åæ§ã«ãã»ã³ãµãŒã®äœ¿çšã容æã«ããããã«ãæ¥ç¶ãããŠããã»ã³ãµãŒã®ã¿ã€ãã«é¢ããã¡ãã»ãŒãžãMathematicaã«éä¿¡ããã³ãã³ãããããŸãã ã»ã³ãµãŒããã®èªã¿åãã¯ããã®åŸããã®ã¿ã€ãã«åŸã£ãŠå®è¡ãããŸãã ã»ã³ãµãŒã®ã¿ã€ããèšå®ããã«ã¯ã M4NSetSensorã䜿çšããŸã ã
ãã®åŸãã»ã³ãµãŒããã®èªã¿åãã¯ãæ±çšã³ãã³ãM4NReadSensorã«ãã£ãŠå®è¡ãããŸãã ãã€ã¬ã¯ãã³ãã³ãã®ã¹ã¿ã€ã«ã«åãããŠãæåã®ã»ã³ãµãŒã¯NXTå ¥åã®ããŒã0ã«é 眮ãããŸãã
çµæã¯ããæŒããããç¶æ ã®å Žåã¯1 ããæŒãããŠããªããç¶æ ã®å Žåã¯0ãšããŠè¡šç€ºãããŸãã ãã®ã³ãã³ãã¯ãæ¥ç¶ãããŠããã»ã³ãµãŒã®ã¿ã€ãã«é¢ä¿ãªãåãããã«æ©èœããŸãã ãããã£ãŠãè¶ é³æ³¢ã»ã³ãµãŒã3çªç®ã®å ¥åã«æ¥ç¶ãããšã次ã®2ã€ã®ã³ãã³ããå®è¡ã§ããŸãã
è¶ é³æ³¢ã»ã³ãµãŒã¯ããã®åã«ããé害ç©ãŸã§ã®è·é¢ïŒcmïŒãæ€åºããããã«èšèšãããé«åºŠãªã»ã³ãµãŒã§ãã I2Cãããã³ã«ã§å®è¡ããããã€ã¯ãããã»ããµãŒãæèŒãããŠããŸãã æåã«ãªã³ã«ããå¿ èŠããããŸããããŠã³ããŒãããåŸãããŒã¿ã®èªã¿åããéå§ã§ããŸãã ãªãã·ã§ã³ãäœ¿çš è¶ é³æ³¢ã»ã³ãµãŒã®åæåã«ã¯ãã»ã³ãµãŒã®åæåãããã¯ããã«å€ãã®æ å ±äº€æãå¿ èŠã§ããããšãããããŸãã ãã ãããã®æ å ±äº€æå šäœã¯ã M4NããŒã ã§ã¯å®å šã«èŠããŸãã ã
ã¢ãŒã¿ãŒã§äœæ¥ãã
çŽæ¥NXTãã¡ãŒã ãŠã§ã¢ã³ãã³ãã®ãã1ã€ã®å¶éã¯ããšã³ãžã³å¶åŸ¡ã§ãã æ°ããLEGOã¢ãŒã¿ãŒã«ã¯ãå転éåã®éã远跡ããå転ã«ãŠã³ã¿ãŒãçµã¿èŸŒãŸããŠããŸãã ãã ããçŽæ¥ã³ãã³ãã§ã¯ãç¹å®ã®è§åºŠã«éãããšãã«ã®ã¿ãšã³ãžã³ãåæ¢ã§ããŸãããã®åŸãã¢ãŒã¿ãŒã¯å転æ¹åãå€æŽããŸãã
PIDã¢ãŒã¿ãŒå¶åŸ¡ã¯ãå転ãå¶åŸ¡ããããã®ããå¹ççãªæ¹æ³ã§ãã 床æ°ãèšå®ããç®æšã«ã»ãŒå°éãããšãã«æžéããããã«ãšã³ãžã³åºåã調æŽããŸãïŒç©åãšåŸ®åã䜿çšã[4ã5]ãåç §ïŒã
[5]ã®èè ã¯ãNXTçšã®PIDã³ã³ãããŒã©ãŒãéçºããŸããã ãã®ã³ã³ãããŒã©ãŒã¯NXTã«ãããŸãã ã³ã³ãã¥ãŒã¿ãŒã¯æå®ãããåããéä¿¡ãããã®åŸã³ã³ãããŒã©ãŒããšã³ãžã³ãå¶åŸ¡ããå転æ°ã«éãããŸã§åã調æŽããŸãã ã³ã³ãããŒã©ããã°ã©ã ã¯ãããŒãžã§ã³2.2ã®MotorControl22.rxeãšåŒã°ããŸãã
ããã°ã©ã MotorControl22.rxeãåããã³ã³ã¹ãã©ã¯ã¿ãŒã«éä¿¡ããŸãã ãããè¡ãã«ã¯ããã¡ã€ã«ã®å 容ãMathematicaã«ã€ã³ããŒãããNXTã«ããŒãããŸãã ã€ã³ã¹ããŒã«åŸïŒBluetoothçµç±ã§éä¿¡ããå Žåããã®ã¹ãããã«ã¯æ°åãããããšããããŸã-ãã¡ã€ã«ã®ééã¯37ãããã€ãã§ãïŒãã³ã³ãããŒã©ãŒãéå§ã§ããŸãã ãããå®çŸããã³ãã³ãã¯æ¬¡ã®ãšããã§ãã æåã®éšåã§ã¯ããã¡ã€ã«ããŸã ã³ã³ã¹ãã©ã¯ã¿ãŒã«ãªãããšã確èªããŸãã
æåŸã«ã M4NSetMotorã䜿çšããŠãããã°ã©ã ã«äœ¿çšããŠãããšã³ãžã³ã®çš®é¡ãšæ¥ç¶ãããŠããããŒããäŒããŸãã
ãšããã§ã M4NSetMotorã¯ãã³ã³ã¹ãã©ã¯ã¿ãŒã«ååšããªãå Žåã¯MotorControl22.rxeãããŒããããŸã å®è¡ãããŠããªãå Žåã¯ãã®ããã°ã©ã ãå®è¡ããŸãã ãããã£ãŠããããã®è©³çŽ°ã«ã€ããŠå¿é ããããšã¯ã§ããã M4NSetMotorã®ã¿ã«äŸåã§ããŸãã
ã³ã³ãããŒã©ãŒã皌åããŠããã®ã§ãã¢ãŒã¿ãŒã«é¢é£ããã³ãã³ãã䜿çšããŠæ瀺ãéä¿¡ã§ããŸãã
M4NRunMotor ã M4NStopMotorããã³M4NBrakeMotorã¯ãåŸæ¥ã®ãšã³ãžã³ãšå転æ°ã«ãŠã³ã¿ãŒïŒã¿ã³ã¡ãŒã¿ãŒïŒãåãããšã³ãžã³ã®äž¡æ¹ã§äœ¿çšã§ããŸãã ãã ãã M4NRunMotorForã¯ãã¿ã³ã¡ãŒã¿ãŒãšPIDã³ã³ãããŒã©ãŒãåããã¢ãŒã¿ãŒã§ã®ã¿äœ¿çšã§ããŸãã ãšã³ãžã³ãPIDã³ã³ãããŒã©ãŒã«ãã£ãŠå¶åŸ¡ãããŠããå Žåãä»ã®æ瀺ãéä¿¡ããªãã§ãã ããã ãããã£ãŠã M4NRunMotorFreeQã䜿çšããŠã³ã³ãããŒã©ãŒããã¹ãã§ããŸãã
次ã®äžé£ã®ã³ãã³ãã¯ã2ã€ã®ã¢ãŒã¿ãŒãèµ·åããŸãã
ã¢ãŒã¿ãŒã¯2ã€ã®ç°ãªãã¢ãŒãã䜿çšããŠåæ¢ã§ããŸãïŒ M4NBrakeMotorã¯ãšã³ãžã³ããããã¯ãã M4NStopMotorã¯ãšã³ãžã³ã®äŸçµŠãåæ¢ããŸã ïŒã
次ã®ã³ãã³ãã¯ã MOTORAã¢ãŒã¿ãŒã空ããŠããããšã確èªããŸã-移ååã移åäžïŒ10å転ïŒãããã³ç§»åéå§åŸ6ç§ã
ããããã®ã»ããã¢ãã
ããã°ã©ã ã¬ãã«ã§ã¯ãããããã«ã¯ç¹å®ã®æ§æããããã©ã®ã»ã³ãµãŒãå ¥åã«æ¥ç¶ããã©ã®ã¢ãŒã¿ãŒãåºåã§äœ¿çšã§ãããã決å®ããŸãã 以åã¯ãã»ã³ãµãŒãšã¢ãŒã¿ãŒãèå¥ããããã«äœ¿çšã§ãã2ã€ã®ã³ãã³ãã瀺ããŸããã
äžè¬åãããã³ãã³ãM4NInitializeãäœæããŸããããã®ç®çã¯ãããããã¹ãŠã®èŠçŽ ã1ã€ã®ã³ãã³ãã«ã€ã³ã¹ããŒã«ããããšã§ãã ããã«ãããªã¥ãŒã ã¬ãã«ã®èšå®ãšã³ã³ã¹ãã©ã¯ã¿ãŒãžã®ååã®å²ãåœãŠã«ã䜿çšã§ããŸãïŒããããå€æ°ããå Žåã¯ãååã§æ¥ç¶ãããŠããCOMããŒãã®ååãå€æŽãããšäŸ¿å©ã§ãïŒã
ããã«ã M4NInitializeã¯ãNXTã®ãã¡ãŒã ãŠã§ã¢ããŒãžã§ã³ããã®ããã±ãŒãžãšäºææ§ããããã©ãããããã³ããããªãŒã®å é»ã¬ãã«ãååãã©ããã確èªããŸãïŒããã§ãªãå Žåã¯èŠåãè¿ããŸãïŒã ãŸã NXTã«ãªãå Žåã¯ã MotorControlPathãªãã·ã§ã³ã䜿çšããŠãMotorControl22.rxeã³ã³ãããŒã©ãŒãå«ããã©ã«ããŒãžã®ãã¹ãèšå®ããããšãã§ããŸãã
åçããããå¶åŸ¡
M4Nããã³NXTã³ãã³ãã¯åçã«äœ¿çšã§ããŸãã ããšãã°ãã¿ããã»ã³ãµãŒã®çŸåšã®ç¶æ ãååŸããã«ã¯ã次ã®æé ãå®è¡ããå¿ èŠããããŸãã
ãŸãã M4NInitializeãŸãã¯M4NSetSensorã䜿çšããŠã»ã³ãµãŒãåæåããŸãã
ShowSensoré¢æ°ã¯ãã»ã³ãµãŒå€ã«å¿ããŠèšå®ãããOnèŠçŽ ãšOffèŠçŽ ãæã€ããã«ãäœæããŸãã ãã®æ©èœã§ã¯ã䟿å®äžãç¹å®ã®ãªãã·ã§ã³ã®ã¿ã䜿çšãããŸãã
ãã®åŸã ShowSensorãé£ç¶ããŠ4å䜿çšããŠãã€ã³ãžã±ãŒã¿ãŒä»ãã®è¡ãååŸã§ããŸãã
UpdateIntervalãªãã·ã§ã³ã¯ãã»ã³ãµãŒãšéä¿¡ããæéã決å®ããŸãã
æåŸã®äŸãšããŠã2ã€ã®ã¢ãŒã¿ãŒãå¶åŸ¡ãããžã§ã€ã¹ãã£ãã¯ãäœæããŸãã ã¢ãŒã¿ãŒã®å転éåºŠïŒ MotorPowerãªãã·ã§ã³ã§èª¿æŽïŒã¯ããžã§ã€ã¹ãã£ãã¯ã®äœçœ®ïŒåçŽè»žïŒã«äŸåããŸãã ããã«ããžã§ã€ã¹ãã£ãã¯ã氎平軞ã®äžå¿ã«ããå Žåãã¢ãŒã¿ãŒã¯åæããŠåããŸãã
æåã«ãéåžžã®ClickPaneé¢æ°ãããå€ãã®ã€ãã³ãã§æ©èœããé«åºŠãªClickPaneé¢æ°ãå®çŸ©ããŸãã
ã¢ãŒã¿ãŒãåæåããããšãå¿ããªãã§ãã ããïŒPIDã³ã³ãããŒã©ãŒããªã³ã«ãªãããã«ïŒã
以äžã§ãã 次ã®äŸã§ã¯ãèµ€ãç¹ïŒãžã§ã€ã¹ãã£ãã¯ã®äžéšïŒã®ããããã«ã衚瀺ããŸãã ãããã£ãŠããžã§ã€ã¹ãã£ãã¯ã®äœçœ®ã«æ¯äŸããããã«ãšã³ãžã³åºåãåžžã«èšå®ããŸãã ããã«ããžã§ã€ã¹ãã£ãã¯ãæŸããš ã multå€æ°ã§è¡šãããææ°é¢æ°ãšãšãã«ãžã§ã€ã¹ãã£ãã¯ãäžå€®ã«æ»ããŸãã æåŸã«ãä»»æã®å Žæã§ããã«ãã¯ãªãã¯ãããšããžã§ã€ã¹ãã£ãã¯ãããŒãé³ã§ããã«äžå€®ã«æ»ããŸãã
äžããããè»éã«æ²¿ã£ãŠç§»åãããããã
èªåŸåããããã®ç°¡åãªäŸã瀺ãããã«ãç¹å®ã®è»éã«æ²¿ã£ãŠç§»åãããããããäœæããŸãã ãã®ããããã®ç®çã¯ãç¹å®ã®ç·ã®ç«¯ã远跡ããããšã§ãã ç·ã¯æããèæ¯ã«å¯ŸããŠæãã¯ãã§ãïŒãŸãã¯ãã®éïŒã åœå¢ã§ã®ã³ã³ãã©ã¹ãã¯éèŠãªèŠçŽ ã§ãã ãããå®çŸããã«ã¯ãããã³ãã©ã€ãã»ã³ãµãŒãåãããããããå¿ èŠã§ãïŒããšãã°ãçµã¿ç«ãŠèª¬ææžãMINDSTORMSãã¬ãŒãã³ã°ããã¯ã¬ãã[2]ã®33ããŒãžã®ããŒã¿ãåç §ïŒã
ãã®ãããžã§ã¯ãã«ã¯ãåæåããå ã»ã³ãµãŒãš2ã€ã®ã¢ãŒã¿ãŒãå¿ èŠã§ãã
æåã®æ®µéã§ã¯ãæããé¢ãšæãé¢ã®èªã¿åãå€ãåŸãããããã«ã»ã³ãµãŒãèŒæ£ããå¿ èŠããããŸãã 以äžã®ã³ãŒãã䜿çšããŠããããããæããé¢ã移åããŠãããšãã«100ã®èªã¿åãå€ãååŸããŸãã
次ã«ãæãè¡šé¢ã§ããããã移åãããšãã«ãã®ã³ãŒãã䜿çšããŸãã
äžèšã®2ã€ã®å€ã®å¹³åã¯éèŠãªå€ã§ãã æãç·ã®å·Šç«¯ããã©ããããããå¹³åå€ãããæããé åã芳å¯ããå Žåãå³åŽã«ç§»åããå¿ èŠããããŸãïŒéãåæ§ã§ãïŒã
次ã®çãããã°ã©ã ã¯ããããããäžçšåºŠã®é床ïŒããŒã¹é床å€æ°ã®å€ã¯20ïŒã§ç§»åããçŸåšã®èªã¿åãå€ãšå¹³åå€ã®å·®ã«å¿ããŠããŒã¹é床ã調æŽããŸãã
ãã«ãå®æ°ã¯ ãã¹ãã¢ãªã³ã°ä¿æ°ãå¶åŸ¡ããããã«äœ¿çšãããŸãã å€ã倧ãããããšãããããã¯æ¹åãæ¥æ¿ã«å€æŽããŸãã ãã®å€ã¯ãã¹ã ãŒãºã«ç§»åããããã«å°ããããå¿ èŠããããŸãã ãã ããè»éã«æ¥ãªæ²ããè§ãããå Žåãå°ããªèŠå ã«ãããããããããšããžãå床èŠã€ããã®ã«ååãªè§åºŠãå転ãããããšã¯ã§ããŸããã 調æ»çµæã¯ããã€ãã®è©³çŽ°ãæäŸããŸãã
æè¡çãªå¶é
ãã®ããã±ãŒãžã«å®è£ ããªãããšã«ããããã€ãã®çŽæ¥ã³ãã³ãããããŸãã NXTã®åèµ·åããã¡ãŒã ãŠã§ã¢ã®å€æŽããã©ãã·ã¥ã¡ã¢ãªã®æ¶å»ããªã»ããã®å®è¡ã«é¢é£ããŠããŸãã æ¬è³ªçã«ããããã®ããŒã ã¯ãããããç Žå£ããŸãã
M4Nããã³NXTããŒã ã䜿çšãããšããããããéåžžã«å¹ççãã€ç°¡åã«å¶åŸ¡ã§ããŸãã ãã ããCOMããŒãã¯éââåžžã«é«éã§ã¯ãããŸããã ããŒãä¿¡å·ã®éä¿¡æ¹åãåãæ¿ãããã³ã«6ããªç§ãããããšã«æ³šæããŠãã ããã ããããåçãæ¬åœã«å¿ èŠã§ãªãå Žåã«åçãé¿ããã¹ãçç±ã§ãã äžéšã®ã¢ããªã±ãŒã·ã§ã³ã§ã¯ããããã®é 延ãéåžžã«éèŠãªå Žåããããããããã°ã©ã ã®å šäœãŸãã¯äžéšãã³ã³ã¹ãã©ã¯ã¿ãŒã«ç§»åããå¿ èŠããããŸãã MotorControl22.rxe PIDã³ã³ãããŒã©ãŒã¯ãããã°ã©ã ã2å°ã®ãã·ã³ã«åæ£ãããŠããäŸã§ããã³ã³ãã¥ãŒã¿ãŒãå¿ èŠãªåããèšå®ããèšèšè ãç®æšãéæããããã«ããªç§åŸã«æ±ºå®ãå®è¡ããŸãã
çµè«
èªç¥ç§åŠã«ã¯ãå身ã®çè«ãšããæ°ããçè«ããããŸãã 圌女ã¯ãäžçã®æå³ã®ããèŠæ¹ãçºå±ãããããã«ãèªç¥ã·ã¹ãã ã¯å€ã®äžçãšã®å¯Ÿè©±çãªã³ãã¥ãã±ãŒã·ã§ã³ã§ãªããã°ãªããªãããšäž»åŒµããŸãã ãã®èŠæ¹ã¯ã人工ç¥èœïŒAIïŒã®å€å žçãªèŠæ¹ãšççŸããŸãã人工ç¥èœïŒAIïŒã¯ãèªç¥ãšãŒãžã§ã³ãããå€ã®äžçã®åŽé¢ã«é¢é£ããªãå¯èœæ§ã®ããèšå·ãŸãã¯èšå·ãæäœãããšè¿°ã¹ãŠããŸãã ãããã£ãŠãAIã®èŠ³ç¹ããèŠããšãã»ã³ãµãŒãšã¢ã¯ãã¥ãšãŒã¿ãŒã¯èªç¥æ©èœããç¬ç«ããŠãããåå¥ã«æ§ç¯ã§ããŸãã ãã®ãã¥ãŒã¯ãä»®æ³äžçã§èªç¥ã·ã¹ãã ãéçºãããšãã«æå¹ã§ãïŒããšãã°ãã³ã³ãã¥ãŒã¿ãŒã¢ããªã³ã°ã«åºã¥ããŠïŒã ãããããããããç©ççã«å ·äœåããããšããã®äœçœ®ãç¶æããããšãã©ãã»ã©é£ããããããããŸãã
ç°¡åãªè»éããã°ã©ã ãããã瀺ããŠããŸãã ä»®æ³ç°å¢ã§ã¯ãè»éããã©ãããããã¯å šéåã§åäœã§ããæ £æ§ããªããããããã転åãããªã¹ã¯ããªããããæåãæ¥ã«ãªãå¯èœæ§ããããŸãã ãããããç©ççãªå ·äœåãååŸãããšããããã®åŽé¢ã¯éåžžã«æ·±å»ãªåé¡ã«ãªããŸãã ãã¡ãããããã°ã©ããŒã¯ããããã®ãªã¹ã¯ãèæ ®ããŠããã°ã©ã ã調æŽããŸãïŒé床ã®äœäžãšã²ã€ã³ãã¡ã¯ã¿ãŒã®äœäžïŒã ããã«ãæããé åãšæãé åã®ããŒã¿ã¯ãéåžžã«ç°¡åãªæ¹æ³ã§ããã°ã©ããŒã«ãã£ãŠèª¿æŽãããŸãã ãã ããç°å¢å ãå€åããå Žåã¯ããã£ãªãã¬ãŒã·ã§ã³ãå床å®è¡ããå¿ èŠããããŸãã ããã«ãåè¿°ã®ããã«ã ãã«ããã¡ã¯ã¿ãŒãå°ãããããšãããããã¯éãæ²ç·ã®åšããååã«éã移åã§ããªãå ŽåããããŸãã æåŸã«ãããããã¯ãè»éã«åŸã£ãŠè»èŒªã䜿çšããŸãã 代ããã«èã䜿çšãããšãæè»æ§ãšçèã®å¶éãæå¹ã«ãªããŸãã
äžèšã®åé¡ã¯ãã¹ãŠãææªã®å Žåã¯äžäŸ¿ã§ãããæè¯ã®å Žåã¯ããã°ã©ããŒã®èª²é¡ãšèŠãªãããšãã§ããŸãã ãã ããæãåçŽãªåç©ã¯ããããã®ãã¹ãŠã®åé¡ã®åœ±é¿ãåããŸããã å身ã®çè«ã¯ãçç©ã¯ãããšçžäºäœçšããããšã«ãã£ãŠäžçã®é©åãªè¡šçŸãäœæãããããã®è¡šçŸã¯èª€åäœã®ãã¹ãŠã®å¯èœãªãœãŒã¹ã«é¢é£ããŠä¿¡é Œã§ããããã«ãªã£ããšäž»åŒµããŸãã äžæ¹ãããã°ã©ããŒã«ãã£ãŠå®çŸ©ãããè¡šçŸãšã¢ã«ãŽãªãºã ã¯ãã©ãã»ã©åçŽã§æŽç·ŽãããŠããŠããå®äžçã®èŠä»¶ãæºãããªãå ŽåããããŸãã
NXTã¯ãå®éã®ããããããã¹ãããããã®ã·ã³ãã«ã ãå®å šãªãã©ãããã©ãŒã ã§ãã Mathematicaã·ã¹ãã ã®èšç®èœåãšçµã¿åãããããšã§ããã¥ãŒã©ã«ãããã¯ãŒã¯ãªã©ã®é©å¿ã¢ã«ãŽãªãºã ãç°¡åã«éçºããäžçãããããã«ã€ããŠã©ã®ãããªã¢ã€ãã¢ãåŸããã芳å¯ã§ããŸãã ããããã®æãåçŽãªé©å¿ããã°ã©ã ãã©ã®ããã«èŠããã®ãã¯ãŸã åããããäžããããè»éããã©ããŸãã
è¬èŸ
èè ã¯ã Math4NXTããã±ãŒãžã®éçºã«ãããæ¯æŽã«ã€ããŠãCONECç 究æïŒãªã¿ã¯å€§åŠïŒã®Vincent BraultãDominic Langloisãããã³Sylvain Chartierã«æè¬ããŸãã
äžå€æåŠ
[1] MathWorksã ãBluetoothæ¥ç¶ãèšå®ããŸãããïŒ2013幎2æ4æ¥ïŒ www.mathworks.com/help/simulink/ug/bluetooth-communications.html
[2] LEGOã°ã«ãŒãã ãLEGO MINDSTORMS NXT Bluetoothéçºè ããããïŒ2013幎1æ7æ¥ïŒ mindstorms.LEGO.com/en-us/support/files/default.aspx
[3] R. Raguet-Schofieldã ãSerialIOããWolframLibrary Archiveã ïŒ2013幎1æ7æ¥ïŒ library.wolfram.com/infocenter/MathSource/5726
[4] J.ã¹ã«ã«ã ãã¬ãŽãã€ã³ãã¹ããŒã ããããçšã®PIDã³ã³ãããŒã©ãŒããïŒ2013幎1æ7æ¥ïŒ www.inpharmix.com/jps/PID_Controller_For _Lego _Mindstorms _Robots.html
[5]ã€ã¡ãŒãžã³ã°ããã³ã³ã³ãã¥ãŒã¿ãŒããžã§ã³ç 究æã ãRWTH â MINDSTORMS NXTããŒã«ããã¯ã¹ãïŒ2013幎1æ7æ¥ïŒ www.mindstorms.rwth-aachen.de/trac/wiki/MotorControl
D. CousineauããLEGO MINDSTORMS NXTãããã¯ã§æ§ç¯ãããããããã®å¶åŸ¡ãã The Mathematica Journal ã2013幎ãdx.doi.org/ doiïŒ10.3888 / tmj.15-3ã
èè ã«ã€ããŠ
Denis Cousineauã¯ããªã¿ã¯å€§åŠã®èªç¥å¿çåŠã®ææã§ãã 圌ã¯ã人工ç¥èœã®åéããã³äººã«ãããªããžã§ã¯ãã®åé¡ããã»ã¹ã®ç 究ãè¡ã£ãŠããŸãã
é£çµ¡å ã®è©³çŽ°ïŒÃcolede psychologieãUniversitéd'Ottawaã136ãrue Jââean-Jacques LussierãOttawaïŒONïŒãK1N 6N5ãCANADAãé»åã¡ãŒã«ïŒDenis.Cousineau@UOttawa.ca