ãDevice Lab by Googleãã³ã³ãã¹ãã®äžç°ãšããŠã®Dmitry Senashenkoã«ããèšäº ã
çããã®å€ãã¯ãã§ã«ãã®ãããžã§ã¯ãã«ã€ããŠèããŠããŠããããäœã§ããããããç¥ã£ãŠãããšæããŸãã èŠããã«ãããã¯ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³åãã®ã³ã³ãã¥ãŒã¿ãŒããžã§ã³ããã³ããŒã«ãªãŒãŒã·ã§ã³ãã©ãããã©ãŒã ã§ãã Google Tangoãããžã§ã¯ãããã€ã¹ã¯ã2å°ã®ã«ã¡ã©ïŒåºè§ããã³åŸæ¥åïŒã深床ã»ã³ãµãŒïŒæ¬è³ªçã«ãããã¥ã¢ã§ã¯KinectïŒãå é床èšããžã£ã€ãã¹ã³ãŒããæ°å§èšã®ããŒã¿ã䜿çšããŠãåšå²ã®3次å 空éãèªèãããã®äžã®äœçœ®ã远跡ã§ããŸãã ATAPã®ãšã³ãžãã¢ã°ã«ãŒãïŒé«åºŠãªæè¡ãšãããžã§ã¯ãïŒã®å€§ããªã¡ãªããã¯ããã®ãã¹ãŠã®æ©åšãã¢ãã€ã«ããã€ã¹ã«çµã¿èŸŒãããšãã§ãããšããã ãã§ãªããéçºè ã«ãšã£ãŠäœ¿ãåæã®è¯ãé«ã¬ãã«ã®SDKãéçºããŠç®¡çããããšã«ããããŸãã»ã³ãµãŒããã®ããŒã¿ãåŠçããå¿ èŠãªå€æãå®è¡ããããšã«ãããéçºè ã䟿å©ãªæœè±¡åã§äœæ¥ã§ããããã«ããŸãã ãŸããGoogleã®æé«ã®äŒçµ±ã§ã¯ãé«å質ã®ããã¥ã¡ã³ããå©çšã§ãããããéçºè ã¯Androidçšã¢ããªã±ãŒã·ã§ã³ã®éçºçµéšããªããŠããããã€ã¹ã«ãã°ããæ £ããããšãã§ããŸãã
ããã€ã¹ã«ã€ããŠ
åäœåç
ãã®ããã€ã¹ã«ã¯ãåºæ¬çã«2ã€ã®äž»èŠãªããŒã«ã©ã€ãºã¢ãŒãããããŸãããšãªã¢ã©ãŒãã³ã°ã䜿çšããå Žåãšäœ¿çšããªãå Žåã§ãã æåã®ã¢ãŒãã§ã¯ãéšå±ãäºåã«ã¹ãã£ã³ããŠããããæ§ç¯ããŸãïŒæ®å¿µãªãããããã¯ãªãã©ã€ã³ã§è¡ãããŸããã€ãŸããæåã«èç©ãããããŒã¿ãåŠçãããã®çµæãADFãã¡ã€ã«-ãšãªã¢èšè¿°ãã¡ã€ã«ãšããŠäœ¿çšããŸãïŒããã®åŸãåŠç¿ããéšå±ã«éåžžã«æ£ç¢ºã«ããŒã«ã©ã€ãºã§ããŸãã ãããªãããè£æ£ããäžæçãªè¿œè·¡ã®æ倱ã®åé¡ã«å¯ŸåŠããŸãã ïŒäŸãã°ãæãè¿ãããç©äœã§ã»ã³ãµãŒãéãããšãïŒ
2çªç®ã®ã¢ãŒãã§ã¯ãäºåã«æºåããããšãªãã空éã«äœçœ®ãç¹å®ããããã€ã¹ã®åãã远跡ã§ããŸãã IMUïŒæ £æ§èšæž¬ãŠãããïŒãåºè§ã«ã¡ã©ã®ç¹å®ã®ç»åãã€ã³ãã§ã®èŠèŠèµ°è¡è·é¢èšã深床ã»ã³ãµãŒãªã©ããã¹ãŠã®ã»ã³ãµãŒããã®ããŒã¿ãçµã¿åãããŠåäœããŸãã ããããä»¥æ¥ ãã£ããã§ãããã€ã³ãã¯ããããŸããããã®ã¢ãŒãã§ã¯ãããã€ã¹ã®åº§æšã¯åžžã«èç©ããããšã©ãŒã®ããã«ããªããããŸãã ïŒå³ãåç §ïŒããã«ããã©ããã³ã°ã倱ããããªã¹ã¯ãããããã®ã¢ãŒãã§ã¯äžè¬ã«å埩ã§ããŸããã
ããŒã«ãªãŒãŒã·ã§ã³ããŒã¿ïŒã€ãŸããéšå±ã«å¯Ÿããããã€ã¹ã®åº§æšãšæ¹åãæ¬è³ªçã«ããçšåºŠç¥ã£ãŠããïŒãšæ·±åºŠã»ã³ãµãŒããã®3次å ãã€ã³ãã¯ã©ãŠãã䜿çšããŠãã¢ãã€ã«ããã€ã¹ã§ã¯ãããŸã§äžå¯èœã ã£ãæ¡åŒµçŸå®ã¢ããªã±ãŒã·ã§ã³ãäœæã§ããŸãã è«ççãªç¶ç¶ã¯ãæ¡åŒµçŸå®çŒé¡ã«Tangoãã€ã³ã¹ããŒã«ããããšã§ãïŒããã¬ã³ãºã®ãããªGoogle Glassã®æ¬¡ã®å埩ïŒïŒããä»ã®ãšããGoogle Cardboardã®åœ¢ã§ersatzã®ä»£æ¿ã䜿çšã§ããŸãã
粟床ã«ã€ããŠå°ã
ãã¡ãããããã€ã¹ã«å¯Ÿããæåã®è³ªåã®1ã€ã¯ãã®ç²ŸåºŠã§ãã ãã¡ãããããã¥ã¡ã³ãã¯ãã®åé¡ãæ±ã£ãŠããŸãããæé©ãªæ¡ä»¶ã§ã®æ°ã»ã³ãã¡ãŒãã«ã®ç²ŸåºŠã«é¢ãã声æã確èªããããšãã欲æ±ãåŠå®ããããšã¯ã§ããŸããã§ããã
ãªããªã æéã¯éåžžã«éãããŠããã®ã§ãæ¢ç¥ã®å¯žæ³ã®è¡šãéå ·ãšããŠäœ¿çšããŠãäžãããã®å Žãã®ãã®è©äŸ¡ãè¡ãããšã«ããŸããã ïŒ2 x 3ã¡ãŒãã«ïŒããŒãã«ãã2ã¡ãŒãã«ãŸã§ã®åå·®ã䌎ãæ²ç·ãã¹ã«æ²¿ã£ãŠããã€ã¹ãããŒãã«ã®1ã€ã®ã³ãŒããŒããå¥ã®ã³ãŒããŒã«ç§»åããåãã€ã³ãã§ã°ããŒãã«åº§æšïŒãšãªã¢åŠç¿ã®æç¡ã«ãããããïŒãèšé²ããåŸããããã®ãã€ã³ãéã®è·é¢ãèšç®ããŠæ¯èŒããŸããäœãèµ·ãã£ãã®ãã çµæã¯æ¬¡ã®ãšããã§ãã
- å¹³ååå·®ã¯2ã3 cmã§ãææªã®å Žåã¯æ倧5ã6 cm
- 15ã20ã¡ãŒãã«ã®è»è·¡ã§ã®ãšãªã¢åŠç¿ãããšãšãªã¢åŠç¿ãªãã®ç²ŸåºŠã¯åºæ¬çã«ã¯ç°ãªããŸãããããã¯ãèŠèŠèµ°è¡è·é¢èšãšIMUã«ããããªãé«ãå質ã®ããŒã«ãªãŒãŒã·ã§ã³ã瀺ããŠããŸã
- ããã€ã¹ã®åãã¯ãæ倧5 cmã®èª€å·®ã§åº§æšã«åœ±é¿ããŸãïŒãšãªã¢åŠç¿ã®äœ¿çšãå«ãïŒã ããã€ã¹ãå
ã®ãã€ã³ãã«æ»ãããå転ããå Žåããã®åº§æšã¯ãããã«ç°ãªããŸã
æãããªçç±ã«ããã粟床ã¯æž¬å®ãè¡ãããéšå±ã«å€§ããäŸåããŸãã ç §æãè¯å¥œã§ïŒçŽå°æ¥å ãåŠçããªãããã€ã¹ïŒãå€æ°ã®ç¹å¥ãªãã€ã³ããããéšå±ã§ã¯ãæ°ã»ã³ãã¡ãŒãã«ã®ç²ŸåºŠãéæããããšãã§ããŸãã ããããå£æªãªç¶æ³ã§ã¯ãããã€ã¹ã¯ããã«ãã©ããã³ã°ã倱ããIMUã¯åœé¢ã®é確å®ã«åœ¹ç«ã¡ãŸããããã®æ©èœã¯éåžžã«éãããŠããŸãã ãã®ããããããããåããéšå±ã¯ãéåžžã®ãéšå±ã®æªãäŸã§ãããããã¿ã³ãŽãç£æ¥çšããããã¢ãŒã ã«åãä»ããŠããã®æ¹æ³ã§ç²ŸåºŠã枬å®ãããšããèããæŸæ£ããŸããã
次ã«ã深床ã»ã³ãµãŒã®ç²ŸåºŠã«ã€ããŠèª¬æããŸãã å¹³é¢ãªããžã§ã¯ãïŒåºãå£ãããŒãã«ïŒã®ç¹çŸ€ãåé€ããç¹ãå¹³é¢ã«ã©ã®çšåºŠé©åããããåæããããšã§ããã®ç²ŸåºŠã確èªããããšã«ããŸããã 0.5ã4 mã®æé©ãªè·é¢ã§ã¯ã粟床ã¯éåžžçŽ0.5 cmã§ããããäžéšã®è¡šé¢ã§ã¯ã粟床ã2ã3åäœäžããŸããã ãã¯ã¹ãã£ã¯ãæ§é åãããIRæŸå°ã«åºã¥ãã深床決å®ã¢ã«ãŽãªãºã ã§ããªãã¯ãæŒããããã«èŠããŸãã
SDKãšAPIã«ã€ããŠ
èŠããã«ãGoogleããããã§ãã Tangoããã€ã¹ãçºå£²ããããšããã«ãããã€ã¹ã®ç¬èªã®æ©èœã ãã§ãªãããã®ããã®ã¢ããªã±ãŒã·ã§ã³ã®ããã°ã©ãã³ã°ãç°¡åã«ãªããããéçºè ã«çµããã¯ãªããªããšæããŸãã å°å ¥éšã®ãã¬ãŒãºã¯ãAndroidã®ããã°ã©ãã³ã°ã®çµéšã®ãªãéçºè ã§ãã£ãŠãããã€ã¹ã«æ £ããããšãã§ãããšããå®éšçã«ç¢ºèªãããäºå®ã§ãã ãã¢ããããå¶åŸ¡ã®Tangoã®ã¡ã€ã³éçºè ã§ããMarco SimikïŒç§ãã¡ã®ç 究宀ã®å€åœäººãã¹ã¿ãŒïŒã¯ãAndroidéçºã®çµéšãã»ãšãã©ãããŸããã§ããããããã§ãæ°æ¥éãç°¡åãªã¢ããªã±ãŒã·ã§ã³ãæžãã®ã«ååãªéã®ããŒã«ãšAPIãåŠã¶ããšãã§ããŸããã
ããããååãªè³è³ã ã¿ã³ãŽãµãŒãã¹ã¯ç¬ç«ããããã»ã¹ãµãŒãã¹ã§ãã ãœãããŠã§ã¢ã¹ã¿ãã¯ã®äžè¬çãªæ§é ãå³ã«ç€ºããŸãã
SDKã¯ãC ++ãJavaãããã³Unityã§åäœããæ©èœãæäŸããŸãã é åºã¯ããããããé«ã¬ãã«ãã«å¯Ÿå¿ããŠããŸãã ãã¡ãããã²ãŒã éçºè ã¯Unityã䜿çšã§ããããšãé«ãè©äŸ¡ããå¯èœæ§ãé«ããäž»ã«ãã®ãªãã·ã§ã³ãéžæããŸãã AIDLïŒAndroid Interface Definition LanguageïŒãŸãã¯ä»ã®Javaã¢ããªã±ãŒã·ã§ã³ãçŽæ¥äœ¿çšããå Žåã¯ã Java APIãæé©ã§ãã Android NDKã䜿çšããŠã¢ããªã±ãŒã·ã§ã³ãéçºããããå®å šã«å¶åŸ¡ãããéçºè ã¯ã C APIãéžæããŸã ã
3ã€ã®ããªã¢ã³ããã¹ãŠã«ãããŠãAPIã¯ã»ãŒåäžã§ãããããã€ã¹ããããŒã¿ãååŸãã管çããããŸããŸãªåº§æšç³»ããå¿ èŠãªå€æãå®è¡ããããã®ããŒã«ãæäŸããŸãã ïŒãã¡6åããã§ã«ãããŸã ïŒ
ããã¥ã¡ã³ããæ¹ããŠèª¬æããããšã¯ã»ãšãã©æå³ããªããšæããŸããããã¥ã¡ã³ãã«æ £ããæ¹ãè¯ãã§ãããã
è»èã§é£ã¶
ããããéçºãããã§ã®ç¶æ³ã¯å®ç§ãšã¯ã»ã©é ããã®ã§ããã æã ãTangoãµãŒãã¹ãã¯ã©ãã·ã¥ããåäœãæåŠããããåºåã§ãã€ãºãçºçããŸããã ãã®ãããªå Žåãåèµ·åã®ã¿ã圹ç«ã¡ãŸããã äžè¬ã«ãããã€ã¹ã®æ¹¿æ°ãããããæããããŸãããããã女ã®åçšãããã®ç¹æ§ã§ãããåžè²©ã®ããã€ã¹ã§ã¯ãããã®åäŸã®çã¿ãä¿®æ£ãããããšãæåŸ ããŸãããã
ããã«ãç¹ã«3D gafikã䜿çšããã¢ããªã±ãŒã·ã§ã³ã§ã¯ãããã€ã¹ãéåžžã«é¡èã«å ç±ãããããšã«æ³šæããŠãã ããã ããã§ã¯ãæ®å¿µãªãããç¶æ³ãæ ¹æ¬çã«å€ããå¯èœæ§ã¯äœãã§ãã ãšã«ããéãèšç®ãè¡ãå¿ èŠããããŸãã ãã®ãããTangoããã€ã¹ãé·æé䜿çšããç©æ¥µçã«äœ¿çšããå¿ èŠã¯ãããŸããã è©äŸ¡ã®ããã«ãæºåž¯é»è©±ãã¿ãã¬ããã䜿ã£ãŠ3Dã²ãŒã ãå®è¡ã§ããŸããããã€ã¹ã®ããããã®å¯¿åœã¯ãã©ã¹ãŸãã¯ãã€ãã¹ã«äžèŽãããšæããŸãã
ããã«ããããã®æ§ç¯ã«å¥è·¡ãèµ·ããããšãæåŸ ããªãã§ãã ããã ãããã®å質ã¯ãããšãã°ãã®ãããªã§èŠãããšãã§ããŸãã
ããã«ããã®ããã€ã¹ã¯éæ³ã®æã§ã¯ãªããæ¶è²»è ã®æ¹æ³ã§äœ¿çšããéã«ææ¢åãšããŠæ©èœããå¯èœæ§ãé«ãç¬èªã®å¶éããããããå¹³åçãªãŠãŒã¶ãŒã¯äœ¿çšãããããŒã«ãªãŒãŒã·ã§ã³ã¢ã«ãŽãªãºã ã®æ©èœãçããªããããéåžžã«äžå¿«ãªé ãããžã£ã³ãããã®ä»ã®äžå®å šãªäœæ¥ã®çŸãã ããšãã°ãããã€ã¹ã«ä»å±ããŠããã²ãŒã ã¯ãéåžžã®ãŠãŒã¶ãŒã®æºåãæŽã£ãŠãããšèšã£ãŠãéèšã§ã¯ãããŸãããã»ãšãã©ã®å ŽåãçŸåšã®ã²ãŒã ã¯åã«ããã®ãŒã§ç解ã§ããªãããšè¡šçŸãããŸãã ããããããã¯åã«ããã€ã¹ã®æ¹¿æ°ã®åãªãçç¶ã§ãã
ãã¢ïŒãããããå¶åŸ¡ããŸã
Google Tangoãæ¯é±ç¥ãåã£ãçµæã®ãããªïŒ
Unityã¹ã¯ãªããã®ãœãŒã¹ã³ãŒãã¯Githubã§å ¬éãããŠããŸãã
ã¢ã€ãã¢
ä»®æ³çŸå®ãå¢å ããåŸåã§ããããšã¯ç§å¯ã§ã¯ãããŸããã ããããéåžžã¯ãããŒãã£ã«ããªã¢ã«ã«è¿œå ããããšãèæ ®ããŠããŸãããããã°ããªã¢ã«ãããŒãã£ã«ã«è¿œå ããããšãæãã§ããŸããã ç§ãã¡ã®æèŠã§ã¯ãçã®ããŒãã£ã«ãªã¢ãªãã£ãå®çŸããã«ã¯ãããŒãã£ã«ãªãŒããŒã¬ã€ãè¿œå ããã ãã§ã¯äžååã§ãããŒãã£ã«ãããªã¢ã«ãžã®ãã£ãŒãããã¯ãå¿ èŠã§ãã ã»ãŒåãæ¹æ³ã§ãç©çãªããžã§ã¯ãçšã®ä»®æ³ã€ã³ã¿ãŒãã§ã€ã¹ã®è¿œå ã«é¢ããMITã®ç 究ãç¶ããŸããã
ç§ãã¡ã®å Žåãéåžžã«ãªã¢ã«ãªç§»åããããçšã®ä»®æ³ã€ã³ã¿ãŒãã§ãŒã¹ãäœæããããšã«ããŸããã ãªããªã æéã¯éåžžã«éãããŠããããããããããå®ç©ºéã移åãããã€ã³ããèšå®ããŠãããããã®å¶åŸ¡ã®ã¿ã«å¶éããããšã«ããŸããã ãã¡ããããã®ã¢ã€ãã¢ã¯ããŸããŸãªæ¹åã«ç¶ç¶ã§ããŸãïŒããããã®ã€ã³ã¿ãŒãã§ã€ã¹ãè¿œå ãïŒããšãã°ãããããã®äžã«ãã人ã®ãããã°ã©ã ããããããéã®ããŒã¿äº€æãèŠèŠåããŸãïŒããã£ãŒãããã¯ãäœæããŸãïŒããšãã°ãããããã®èšç»ããããã¹ã衚瀺ããŸãïŒãçŸå®ãšä»®æ³ãçµã¿åãããã²ãŒã ãäœæããŸãïŒããšãã°ãå®éã®ãã·ã³ã§ä»®æ³ãªããžã§ã¯ããåéããŸãïŒãªã©ã
ããããç®æšç¹ãèšå®ããããšã«ããããããå¶åŸ¡ã®åçŽãªå®è¡ã§ãããç¹ã«ããããããŸããŸãå¢ããŠããæ¥çã§ã¯ãéåžžã«äŸ¿å©ãªæ©èœãšãªããŸã ã
Google Tangoã䜿çšããŠç©çãªããžã§ã¯ããå¶åŸ¡ããããã®ã¢ã€ãã¢ãéçºããå¯èœæ§ã¯èšããŸã§ããããŸããã
å®è¡
ãã®ã¢ã€ãã¢ãå®è£ ããããã«ãUnity APIã䜿çšããããšã決å®ããŸãããUnityAPIã¯ããã®é«ã¬ãã«ãèæ ®ããŠããã¢ã¢ããªã±ãŒã·ã§ã³ãæ§ç¯ããæãç°¡åã§ç°¡åãªæ¹æ³ã§ãã 座æšæ±ºå®ã®ä¿¡é Œæ§ãé«ããããã«ããšãªã¢åŠç¿ã䜿çšããããŒã«ãªãŒãŒã·ã§ã³ã䜿çšããŸããã ïŒå®éã«ã¯ãããããã¯ããç¥ãããéšå±ã§äœ¿çšãããå¯èœæ§ãé«ãããã枬å®ã¯é£ãããããŸããïŒã ãã¡ããããããªãã§ãå®è¡ã§ããŸãããããã«ãã粟床ãšä¿¡é Œæ§ãå€§å¹ ã«äœäžããŸãã
ãã¡ãããã¢ããªã±ãŒã·ã§ã³ãåäœãããããããå®å®ã«ç¬èªã®ããã²ãŒã·ã§ã³ããŒã«ãæã£ãŠããããšãæãŸããã§ããããããã§ãªããã°ããããããããã€ã¹ã®èŠéã«åžžã«å ¥ããŠããå¿ èŠããããããŸã䟿å©ã§ã¯ãããŸããã ç§ãã¡ã®ç§»åããããã¯ã2次å ã¬ãŒã¶ãŒã¹ãã£ããŒHokuyo-04LXãšSLAMïŒåæããŒã«ãªãŒãŒã·ã§ã³ãšãããã³ã°ïŒãå®è£ ãããœãããŠã§ã¢ã䜿çšãããã®åºåã§ãåšå²ã®å æã°ãªãããåãåããŸãããããã䜿çšããŠããã§ã«ããããã®è»éãèšç»ã§ããŸãã ïŒããããã®ãœãããŠã§ã¢ã¯ã»ãšãã©ãèªäœã§ããããROSã§æ¢è£œã®ã¢ãžã¥ãŒã«ã䜿çšããŠåãããšãã§ããŸãïŒã
ããã§ãããã€ã¹ãšããããã®ã°ããŒãã«åº§æšãæ¯èŒããã ãã§ãæåã®åº§æšã¯å é床èšã䜿çšããŠãã§ã«æ°Žå¹³ã«èª¿æŽãããŠãããããããã€ã¹ã®ã°ããŒãã«2次å 空éã§ãããããšãã®åããæ¬è³ªçã«ããŒã«ã©ã€ãºããå¿ èŠããããŸãããã®åŸãã·ã¹ãã ããã¿ãŒã²ãããã€ã³ãã®åº§æšã®å€æãå®è¡ã§ããŸãã¿ãã¬ãããããããã·ã¹ãã ã«æ¿å ¥ããŸãã
ãã®ã¢ã€ãã¢ãå®è£ ããããã«ãã¢ããªã±ãŒã·ã§ã³ã«ã¯ãã¢ãŒã·ã§ã³ãã©ããã³ã°ããšãªã¢ã©ãŒãã³ã°ã深床ãããã®ååŸãšãã3ã€ã®æ©èœãå«ããå¿ èŠããããŸããã ïŒã€ãŸãã3次å ã®ç¹çŸ€ïŒã¢ããªã±ãŒã·ã§ã³ã䜿çšããã«ã¯ã次ã®ãã¹ã«åŸããŸãã
- æžã蟌ã¿é åèšè¿°ãã¡ã€ã«ïŒADFïŒãã€ãŸã ããã°ã©ã ã䜿çšãããæœèšã®ãšãªã¢åŠç¿ãå®æœãã
- çµæã®ADFãããŠã³ããŒãããããã€ã¹ãå°ãåãããŠãããã€ã¹ãç¹ç°ç¹ãèªèããç¬èªã®ããŒã«ã©ã€ãºãè¡ãããã«ããŸã
- ããããã®äœçœ®ãããŒã¯ãã
- ã¿ãŒã²ãããã€ã³ããããŒã¯ããŠãã³ãã³ãå®è¡ãã¿ã³ãæŒããŸã
ããã«ãããããã®äœçœ®ã«æ³šæããŠããã®åº§æšã®ã¿ãåŠç¿ããæ¹åã¯åŠç¿ããªãããšã«æ³šæãã䟡å€ããããŸããããã§ã¯ãå³å¯ã«åŸãã«ç«ã£ãŠåžžã«ãããããéžæãããšããã«ãŒã«ãäœæããããšã«ãããããªãã¯ã«åãçµã¿ãã¿ã¹ã¯ãç°¡çŽ åããŸããã ãã¡ãããäžè¬çãªå Žåãããããã¯ç¹å¥ãªã¿ã°ïŒããšãã°ãç»é¢ã«è¡šç€ºãããã身äœã«è²Œãä»ãããïŒã«ãã£ãŠããŸãã¯TensorFlowã«åºã¥ãããã¥ãŒã©ã«ãããã¯ãŒã¯ã䜿çšããŠæ€åºã§ããŸãã ããããããã³ã¯å¶éæéã®åœ±é¿ãåããŸããã
ã³ãŒã
ãªããžããªå ã®ãœãŒã¹ïŒäžèšã®ãªã³ã¯ïŒã«ã¯ãADFãã¡ã€ã«ã®éžæãADFã®éžæåŸã®ã¹ãã©ãã·ã¥ã¹ã¯ãªãŒã³ã®åæåïŒåããŒã«ãªãŒãŒã·ã§ã³ïŒãã¡ã€ã³ã³ã³ãããŒã«ã¹ã¯ãªãããUIã®3ã€ã®ã¹ã¯ãªããã®ã¿ãå«ãŸããŠããŸãã ãããã®ã¹ã¯ãªããã䜿çšããã«ã¯ãAreaLearningãµã³ãã«ã«è¿œå ããã ãã§ãã
Unityã¹ã¯ãªããã¯ç¹å®ã®æ¹æ³ã§å®è¡ããããã¢ã§äœ¿çšãã3ã€ã®äž»èŠãªã³ãŒã«ããã¯ããããŸãã
- éå§ïŒïŒã¯ãã¢ããªã±ãŒã·ã§ã³ã®éå§æã«éå§ããŸã
- æŽæ°ïŒïŒã¯ããã¬ãŒã ãæŽæ°ããããã³ã«èµ·åãããŸãã
- OnGUIïŒïŒã¯ãã¬ãŒã ããšã«æ°åå®è¡ãããŸã
ãã®çµæã次ã®æ§é ã«ãªããŸãã
- éå§ïŒïŒã¯ãé¢é£ããã€ãã³ãã«ã³ãŒã«ããã¯ãå²ãåœãŠãŸã
- æŽæ°ïŒïŒããã»ã¹ã¯ç»é¢ãžã®ã¿ãããè¡ããå¿
èŠã«å¿ããŠã³ã«ãŒãã³ãèµ·åããŠç»é¢ã®ããŒã座æšã«å¯Ÿå¿ããã°ããŒãã«åº§æšãèŠã€ããããã«æåãããã€ã³ãéžæã«èµ€ãããŒã«ãŒãæç»ããŸã
- OnTangoDepthAvailableãOnTangoPoseAvailableã³ãŒã«ããã¯ã¯ãTangoããã®ã€ãã³ããåŸ
æ©ããèµ·åæã«é©åãªãã©ã°ãèšå®ããŸã
- _WaitForTouchã³ã«ãŒãã³ã¯ããã¿ã³ã®1ã€ãæŒããåŸãç»é¢äžã®ã¿ãã¹ãåŸ
æ©ããŸãããã®åŸãã³ã«ãŒãã³ãåŒã³åºããŠãã¿ãã®äœçœ®ã«å¯Ÿå¿ããã°ããŒãã«åº§æšãèšç®ããŸã
- _WaitForDepthã¯æ·±åºŠãããïŒãã€ã³ãã®3次å
ã¯ã©ãŠãïŒãæ³å®ããç»é¢äžã®ç¹å®ã®åº§æšã«ã€ããŠã°ããŒãã«åç
§ã·ã¹ãã å
ã®ãã€ã³ãã®åº§æšãæ€çŽ¢ããŸã
- _WaitForRequestã¯ããããããžã®ã³ãã³ãã®éä¿¡ãåŠçããŸãããã®äŸã§ã¯ãåçŽãªGETãªã¯ãšã¹ãã§ãã
ããããã®å¶åŸ¡ã³ãŒãã¯ããã®èšäºã®ç¯å²ãè¶ ããŠãããããçŸæç¹ã§ã¯å ¬éãããŠããŸããã
ãããã«
ç§ãã¡ã®ç¥ãåãã®çµæã«åºã¥ããŠãç§ã¯èªä¿¡ãæã£ãŠèšãããšãã§ããŸããGoogleTangoã¯ãä»åŸæ°å¹Žéã§ã¢ãã€ã«ããã€ã¹ãšèãããã®ã«é©åœãããããããšãã§ããéåžžã«ææãªããã€ã¹ã§ãã äžè¬ã«ããã®ãããžã§ã¯ããGlassãšWaveãšããŠçµäºããããšã¯ã»ãšãã©ãããŸããã ãã¡ãããçŸæç¹ã§ã¯ãããã€ã¹ã«ã¯åäŸã®ç æ°ããªãããã§ã¯ãªããä»ã®ãã¯ãããžãŒãšåæ§ã«å¶éãšæ©èœããããŸãããæåã®ããã€ã¹ã¯ä¿®æ£ããã2çªç®ã®ãŠãŒã¶ãŒãšéçºè ã¯åŸã ã«æ £ããŠããŸãã
ãããã£ãŠãç§ãã¡ã¯ãé·å¹Žã®ä»®æ³çŸå®ã®ããŒã ããŸããªãå®å šã«æ©èœããããã«èŠãããšä¿¡ããŠãããGoogle Tangoã¯ãããã°ã©ãã³ã°ã®å®¹æããéçºè ãžã®èŠªãã¿ããããæ¢åã®Androidãšã³ã·ã¹ãã ãããã³Googleã®ç©æ¥µçãªããã¢ãŒã·ã§ã³ãéããŠãæããã«ããããªãŒãããã€ããã§ãã