ã¯ããã« ãã®è¨äºã¯ãEV3ã«ev3devãã¤ã³ã¹ãã¼ã«ããSSHæ¥ç¶ã§ãã¦ããç¶æ ã§ãããã¨ãåæã«ãã¦ãã¾ããç°å¢æ§ç¯ãã§ãã¦ããªãæ¹ã¯ãã¡ãã®è¨äºãåèã«ãã¦ãã ããã mindstorm-EV3ãLinuxã§å¶å¾¡ããã! ev3dev OSã®ã¤ã³ã¹ãã¼ã«ã¨SSHæ¥ç¶ æ¦è¦ RPyC (Remote Python Call) ã¯ãªã¢ã¼ãããPythonãå¼ã³åºããããã³ã«ã§ãã RPyCã使ãã°EV3ã«ã¤ã³ã¹ãã¼ã«ãããPythonããæå ã®ãã¹ã¯ãããPCä¸ï¼ã¯ã©ã¤ã¢ã³ãå´ï¼ã®Pythonããã°ã©ã ããç°¡åã«å¼ã³åºãã¦ä½¿ããã¨ãå¯è½ã«ãªãã¾ãã ããã¾ã§ã¯SSHæ¥ç¶ãã¦ãªã¢ã¼ãä¸ã§Pythonããã°ã©ã ãç·¨éãå®è¡ããå¿ è¦ãããã¾ããããRPyCã使ãã°ãEV3ä¸ã§RPyCãµã¼ãã¼ãç«ã¦ã¦ããã ãã§ãã¯ã©ã¤ã¢ã³ãä¸ã§èªç±ã«éçºãããã¨ãã§ããã®ã§ãã ç°å¢æ§ç¯ RPyCã®ã¤ã³ã¹ãã¼
ã¬ã´ãããã¯ã§ãããããä½ãã¨ããªã©ã«ä½¿ãããã³ã³ãã¥ã¼ã¿Mindstorms EV3ã é常ã¯ã製åã«ä»å±ãããã¼ã«ã使ã£ã¦ããã°ã©ãã³ã°ãããã®ã§ãããEV3ç¨ã®Linux OS(http://www.ev3dev.org/)ã使ãã¨ãPythonçã®è¨èªã§ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå¶å¾¡ã§ããããã«ãªãã¾ãã ããã§ã以ä¸ãµã¤ãã§ä½æãããããã使ã£ã¦Webãã©ã¦ã¶ããEV3ãå¶å¾¡ã§ãããµã¼ããä½ã£ã¦ã¿ã¾ããã http://decode.red/ed/archives/369 from __future__ import print_function import socket import select import re import ev3dev.ev3 as ev3 def main(): host = '0.0.0.0' port = 8000 backlog = 10 bufsi
Widowsã¹ãã¢ã¢ããªã§Leap Motionããã¸ã§ã¹ãã£ãåå¾ãã¦MindStorm EV3ãã³ã³ããã¼ã«ãã試ä½åãã¢ã®åç»ã§ãã éããªãå®æã§ãã
ç±³LeapMotion社ããçºå£²ããã¦ããLeapMotionã§èªèã§ããæã®åããã¸ã§ã¹ãã£ã¼ãç¨ãã¦ãããããæä½ãã¾ããLeapMotionã¯USBã±ã¼ãã«ã§ãããããã¯Bluetoothéä¿¡ã§ããããPCã«æ¥ç¶ãã¦ãã¾ãã使ç¨ãã¦ããããããã¯ã¬ã´ç¤¾ãçºå£²ãã¦ããæè²ç¨ããããâLegoMindstormEV3âã§ãã â ã·ã¹ãã æ§æ éçºè¨èªã»ã»ã»C# OSãã  ã»ã»ã»Windows7 ã¢ããªã±ã¼ã·ã§ã³éçºç°å¢ã»ã»ã»Visual Studio Professional 2013 ã»ã³ãµãã»ã»ã»LeapMotionController ããããã»ã»ã»LegoMindstormEV3 LeapMotionSDK 2.1.6+23110 LEGO MINDSTORMS EV3 API v1.0 (https://legoev3.codeplex.com/) â ã·ã¹ãã æ¦è¦ LeapM
LEGOã¨ããã°åä¾ã®é ã誰ããéãã§å¤¢ä¸ã«ãªã£ããã®ãããã¯ã§ãããã®LEGOã§æ¥½ãã¿ãªãããµã¤ã¨ã³ã¹ããã¯ããã¸ã¼ãã¨ã³ã¸ãã¢ãªã³ã°ãæ°å¦ã®ç¥èãä½é¨çã«å¦ç¿ãããã¨ãã§ããæè²ç¨ããããããã°ã©ãã³ã°ææãã¬ã´ ãã¤ã³ãã¹ãã¼ã ãããåãã§ããããã LEGO社ã¨ããµãã¥ã¼ã»ããå·¥ç§å¤§å¦(MIT)ã®å ±åéçºã«ãããã¬ã´ ãã¤ã³ãã¹ãã¼ã ãã®èªçã¯15å¹´åã«ããã®ã¼ããçºå£²ãã15å¹´ãã¬ã´ ãã¤ã³ãã¹ãã¼ã RCXãNXTã¨ç¶ã2013å¹´9æã«æ°ãã«ãã¯ã¼ã¢ããããã¢ãã«EV3ãçºå£²ããã¾ããã ä»åã¯å®¶åºã§ã楽ãã¿ãªããããã°ã©ãã³ã°ã®å¦ç¿ããããã¨ã®ã§ããããEV3 ãã¹ã¯ãããããã¥ã¼ã»ããããæè²çã¬ã´ ãã¤ã³ãã¹ãã¼ã ã®æ¥æ¬ã§ã®è²©å£²ä»£çåºã§ããæ ªå¼ä¼ç¤¾ã¢ãã¬ã«æ§ãããåãããæ©ä¼ã«æµã¾ãã¾ããã®ã§ã触ã£ã¦ã¿ããã¨æãã¾ãï¼ èªå·±ç´¹ä»ãé ãã¾ãããã®ã¼ã¯ãæãããã¶ã¤ãã¼ãã³ã¨ãª
段ãã¼ã«è¿·è·¯ãè¨è¨ã»è£½ä½ãã¾ãã 段ãã¼ã«è¿·è·¯ãè¨è¨ï¼ ã©ããªè¿·è·¯ã«ãããèãã¾ããããæã家ã®é¨å±ã®ãµã¤ãºãå°ããã®ã¨æ±ã段ãã¼ã«ã¥ããã大å¤ã«ãªãããè«ããã£ãã®ã§ãã¨ããããä¸è¨ãããã®è¿·è·¯(7Ã7ãµã¤ãº)ã«ãã¾ããã è²ããªãé¨åãèµ°ããé¨åãè²ãã¤ãã¦ããé¨åãèµ°ããªãé¨å(段ãã¼ã«é¨å)ã§ãããã¾ããã ãã®ãããã§ããã°ãç¡çãªãè¿·è·¯ãä½ãããã§ãï¼ã§ã¯ããã£ãã段ãã¼ã«è¿·è·¯è£½ä½ã«ç§»ãã¾ãï½ æ®µãã¼ã«è¿·è·¯ã製ä½ï¼ 段ãã¼ã«ãã®ãã®ã¯æã家ã«ãããããã£ãã®ã§ãã¯ãã¿ã§ãã§ããã§ãã£ã¨ãä½ãã¾ããããªãã ããã ã§1æéç¨åº¦ãããã£ã¦ãã¾ãã¾ããâ¦ãæã®ç®å¥ãã¡ãã£ã¦çãâ¦æ¶ã ããã¦å®æï¼ãã®æ§åã¯ä¸è¨ã®åçã®éãã§ããã¨ããã©ããéã段ãã¼ã«ããã£ãããé«ãããµã¤ãºãããã£ã¦ããªãã£ãããè¡£è£ ã±ã¼ã¹ããã£ããâ¦æ±ã â¦çæ´»æåºãã£ã±ãªããããï¼ ã¾ãã身è¿ã«ãããã®ãã¡ããã¨
ããã°ã©ã ã¸ãããã¯ã追å ãã¿ããã¥ã¼æ©è½ã使ãã¾ãã ååã®ããã°ã©ã ã«ããããã¯ã追å ããå½¢ã«ãªãã¾ãã ããããã«ã¼ããããã¯ã®ä¸ã«ã¹ã¤ãããããã¯ãå ¥ãã¦ãããã¨ãããã¨ã¾ã§ã¯æç§æ¸ã§ããã£ããã®ã®ãæ²è¼ããã¦ããå³ã¨ãªããéãâ¦ï¼ãã¨ãæ°ã«ãªã£ã¦ããã¾ããã ãã®ã¹ã¤ãããããã¯ãå³å´ã«äºã¤ã®ç·ããã£ã¦ããããããâã(æ¡ä»¶æºè¶³)ããÃã(æ¡ä»¶ä¸æºè¶³)ã®ã©ã¡ããã«åå²ããããã«ãã¦ãã¾ãã ããã£ã¦ã¿ãã¨ãããªãã¨ããã¿ããã¥ã¼ããªãæ©è½ã使ã£ã¦è¦ãæ¹ãã·ã³ãã«ã«ã§ããã§ã¯ãããã¾ãããã ä½ç½®ã¯ããããã¯å·¦ä¸ã®ãâ¡â ãçãªã¨ãã(ãã¾ã表ç¾ã§ãããã¿ã¾ããæ±)ãã¯ãªãã¯ããã ãã§ãããã¾ãããæ¼ãã¦ã¿ãã¨â¦ ãããè¦ãæ¹ãããã¶ãã¹ãããªãã¾ããããâãããÃãã®ã¿ããæ¼ããã¨ã§ã表示ããããããã¯ãåãæ¿ãããã¨ãã§ãã¾ãã便å©ï¼ ããã°ã©ã å®æï¼è§ããã¾ãå転ã§ããã§ããã
ã©ã¤ã³ãã£ã¼ã«ããä½ã ããããããã°ã©ãã³ã°ã§ããããããã°ã©ã â¦ããã¯ã©ã¤ã³ãã¬ã¼ã¹ï¼ç·ã®è¿½å¾ï¼ã§ãããï¼ã©ã¤ã³ãã¬ã¼ã¹ã«ç¹åããæè²ç¨ææããããããã§ããããã ã§ã¯ã¾ãã¯ãããããèµ°è¡ç¨ã®é»ãã©ã¤ã³ããåºã«ä½ã£ã¦ããã¾ãã æç§æ¸ã«ã¯ã3cm以ä¸ããé»ãã©ã¤ã³ãæ¨å¥¨ã¨ããã¾ãããã¡ããã©ããå¹ ã®ãã®ããªãã£ãã®ã§ãã¹ã¼ãã¼ã§é»ã®ããã¼ã«ãã¼ã(å¹ 1.8cm)ãè³¼å ¥ãã¾ããã å½¢ã«ã¤ãã¦ã¯ã©ãããå½¢ã«ãã¦ãããã£ãã®ã§ãããã¨ãããããå è§å½¢ã«ãã¦ã¿ã¾ããã â¦å®æï¼ã§ãããã¾ãã絨毯ã®ä¸ã§åä½ãããã¨ãTribotã®å¾è¼ªã¨ãã¼ããåã¿ããã§ãã¾ãåä½ããªãã®ã§ãã§ããã ããã£ããããåºæã®ä¸ã§åä½ãããã¨ããã§ããã è¦ãã«ããã§ããã絨毯ã®ä¸ã«éæã®ç¡¬ãã·ã¼ã(åºãæ¤ åã§å·ã¤ããªãããã«ããã·ã¼ãï¼ãæ·ãã¦ããã®ä¸ã«ãããã¼ã«ãã¼ããå¼µãã¾ããã ãããããã¨ã§ããã¾ããããã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}