2009-02-01ãã1ã¶æéã®è¨äºä¸è¦§
http://www.youtube.com/watch?v=Dz23O1fEQnk serialInit(9600); var radio = new Object(); radio.id = 3; radio.channel = 15; radioInit(0xDEAD, radio.id, radio.channel, 31); function onRadioReceive(seq,id,pan,data,rss) { if(data < 0){ pinMode(0â¦
ããã¦å®è¡ééã¯æåã«æå®ããæ¹ã«ãªãããã®å ´åãzanmai(), kazusuke()両æ¹ã¨ã1ç§ééã§å®è¡ãããã6è¡ç®ãsetInterval(zanmai, 5000)ã«ããã¨ä¸¡æ¹5ç§ééã«ãªãã serialInit(9600); var z_id = 0; var k_id = 0; z_id = setInterval(zanmai, 1000); â¦
ç¡åé¢æ°ãé¢æ°å渡ããé¢æ°ãªãã¸ã§ã¯ã渡ã serialInit(9600); setInterval(function(){ serialSend("1sec\r\n"); }, 1000); // 1ç§éé setInterval(putHalf, 500); // 0.5ç§éé setInterval(put2sec, 2000); // 2ç§éé function putHalf(){ serialSendâ¦
http://d.hatena.ne.jp/shokai/20090225/1235575973 ãããã serialInit(9600); setInterval(function(){ serialSend(getTickCount()+"\r\n"); }, 1000); // 1ç§éé while(true){ } ããåã
while(true);ãã¦ãããªãã¨VMãå®è¡çµäºãã¦ãã¾ãã®ã§ãããªãã空ã«ã¼ãã§ããã®ã§å ¥ããã serialInit(9600); putTime(); setInterval(putTime, 1000); // 1ç§éé while(true){ } function putTime(){ serialSend(getTickCount()+"\r\n"); }
firefox使ã£ã¦ãã ãã§ãã£ãã·ã¥ã§å®¹éãç¡ããªã£ã¦ãããããæ¶ããã¨ãããSSDã8GBã«ãã¨ãã°ããã£ããã /home/sho% df Filesystem ãµã¤ãº ä½¿ç¨ æ®ã 使ç¨% ãã¦ã³ãä½ç½® /dev/sda2 3.4G 3.0G 277M 92% / varrun 501M 100K 501M 1% /var/run varlock 5â¦
mkdir ~/local/emacs mkdir ~/tmp cd ~/tmp wget http://core.ring.gr.jp/pub/GNU/emacs/emacs-22.3.tar.gz tar -zxvf emacs-22.3.tar.gz cd emacs-22.3/ ./configure --prefix=$HOME/local/emacs make make install ln -s ~/local/emacs/bin/emacs ~/bin/emâ¦
ruby -e 'for i in 1..900 do num="0"*(3-i.to_s.size)+i.to_s; `wget http://negineesan.fc2web.com/negi#{num}.jpg`; sleep 5; end'ããå§ãã
opencvã¤ã³ã¹ãã¼ã« - æ©æ¬è©³è§£ã¨åãã sudo apt-get install libcv-dev sudo apt-get install libcv1 sudo apt-get install libcvaux-dev sudo apt-get install libcvaux1 sudo apt-get install libhighgui-dev sudo apt-get install libhighgui1 sudo aptâ¦
GUIããè¨å®ã§WiFiæ¥ç¶ããã sudo apt-cache search dell sudo ps aux | grep dellãªã©ãé§ä½¿ãã¦dellã®preã¤ã³ã¹ãã¼ã«ãã¦ãããã®ããä¸è¦ãªç©ãã¢ã³ã¤ã³ã¹ãã¼ã« WiFiã§sshãéããªãããInspiron Mini 9ã§ç¡ç·LANçµç±ã®sshãåããªãåé¡ - lpubsppop0â¦
15000Hzãããã§è³ãã¶ã£å£ãã function onSerialReceive(){ while(serialAvailable()){ // åä¿¡ãã¼ã¿ãããæ var recvData = serialRead(); // èªã¿åºã if(recvData > 0){ pinMode(0, true); soundWrite(0, recvData); // åä¿¡ãã¼ã¿ã§recvData(Hz)åºåâ¦
USBã表è£ã«åºããæ©å¨ãä½ã£ã¦ãã¦ãããã§ããã¨è¯å®ãããï¼æ®çãªã®ã§ããããæµ ãï¼
portsãã sudo port install lua luarockslua 5.1.4_0, luarocks 1.0_0ãå ¥ã£ãluaã£ã¦æã£ãã対話ã¢ã¼ãã«ãªã£ã
libjingle0.4ã®ã½ã¼ã¹ããã®ãã«ãã§ãMakeå¾ã« ../../talk/base/stringutils.h:272: error: extra qualification 'talk_base::Traits<char>::' on member 'empty_str'ã¨ã¨ã©ã¼ãã§ã¦æ¢ã¾ãåé¡ã«ã¤ãã¦ã libjingle compile errors and pcp execution errors (and</char>â¦
sudo apt-get install liblinphone2 liblinphone2-devSupported Examples: call pcp Supported Codecs: Speex: yes iLBC: no MULAW: yesexamplesãpcpã ãã ã£ãã®ãcallãå¢ãã ã§ãmakeããã¨ç¸å¤ããã ../../talk/base/stringutils.h:272: error: extraâ¦
aptã§å ¥ãã®ã¯0.3ã§ã http://code.google.com/p/libjingle/ ã«ããã®ã¯0.4ãªã®ã§å ¥ãç´ããã¨ã«ãã sudo apt-get remove libjinglebase0.3-dev libjinglebase0.3-0 libjinglep2p0.3-0 libjinglep2p0.3-dev libjinglesession0.3-0 libjinglesession0.3-dev â¦
http://ftp.twaren.net/Unix/NonGNU/linphone/stable/sources/linphone-3.0.0.tar.gz tar -zxvf linphone-3.0.0.tar.gz cd linphone-3.0.0/
èæ¯å·®åæ³ã§èæ¯ã¨ç©ä½ãåé¢ããã³ã¼ãã§ãopencv.jp - OpenCV: èæ¯çµ±è¨éã®ç´¯ç©ï¼Accumulation of Background Statisticsï¼ãµã³ãã«ã³ã¼ã -ã大å¤ãã°ãããã£ãã®ã§èªåç¨ã«ä½¿ããããããã«ããããã¾ãããã #include <cv.h> #include <highgui.h> #include <ctype.h> #includ</ctype.h></highgui.h></cv.h>â¦
ä¸éãã¡ã¤ã«ãããããçæãããã®ã§ syntax: glob *.log *.lock *~ *.pdb *.ilk *.ncb *.user */Release */Debug obj/* TestResults/* Thumbs.db *vshost* *vsmdi
sudo apt-get install xubuntu-desktop
0éä¿¡ã§analogWriteæ大åºåã100ã§æä½ã«ãªã serialInit(9600); pinMode(1,true); pinMode(0,true); power = 0.0; function onSerialReceive(){ // ã·ãªã¢ã«åä¿¡ã¤ãã³ã while(serialAvailable()){ // åä¿¡ãã¼ã¿ãããæ var recvData = serialRead(); /â¦
å ´æã¯èªå® ã®ããã ãã©éããããæå¾å»ä¸ã§é¦ãçµãããããå解ãããiPhoneã®ä¸ã«æªç©ããã¦ãã¾ã«æã£ã¦ãããååããã£ããããªãæ°ããããã奴ã ã£ããé»è²ãè»æã®æã®ã²ãã¬ã¯ã¿ãããªã¿ãªã«ãæã£ã¦é¡é¢ãçã£ã¦ãããæå¾ãå°ãã妹ããããã¨â¦
ãµã¹ãã³ã/ã¬ã¸ã¥ã¼ã ããæã«ãã®ã¡ãã»ã¼ã¸ãåºã¦éªéãªã®ã§æ¶ããhttp://matatabi.homeip.net/blog/setomits/1522 ãã sudo toolboxã§VMWare tools propertiesãéãã¦ä¸ã®script eventã§é¸ãã§å ¨ã¤ãã³ãã®Use Scriptã®ãã§ãã¯ãå¤ãã 1ã¶æããããâ¦
sudo apt-cache search jingleãããããããã§ã¦ããã®ã§å ¨é¨å ¥ãã sudo apt-get install libjinglebase0.3-dev libjinglebase0.3-0 libjinglep2p0.3-0 libjinglep2p0.3-dev libjinglesession0.3-0 libjinglesession0.3-dev libjinglexmllite0.3-0 libjingâ¦
OpenCVããã°ã©ãã³ã°ãã㯠p.154ã«2å¤ç»åã®è¼ªéæ½åºãcvFindContourã§ã§ãã¦ãcvDrawContours ã§ç·ã§å²ããã¨æ¸ãã¦ãã£ãã®ã§ãã¡ããã©èµ¤è²é åæ½åºã§ã«ã¡ã©ãã2å¤ç»åãä½ã£ã¦ããã®ã§ã³ã¼ããåä½ãããã 輪éæ½åºåã«å縮ã»è¨å¼µã§ãã¤ãºãæ¸ããã¦â¦
opencvããã°ã©ãã³ã°ããã¯ã®p.61èè²é åã®éå¿ãæ¤åºãã¦ããã®ã§ãåãããã«ãã£ã¦ã¿ãããã®æ¬ã¯èª¬æã¯ãããããããã©ããã°ã©ã ãçç¥ããã¦ã¦èå¿ã®å¤æ°å®£è¨ã®é¨åãå®æ°defineé¨åãæ¸ãã¦ãªãã®ã§å¤§å¤å°ãã ã¾ãããã¥ã¡ã³ãèªãã°ååããããâ¦
cvErode()ã¨cvDilate()ã使ãã¨ç åµãã¤ãºãæ¶ãããå¹æã¯ããããå縮ã¨è¨å¼µã§ãå縮âè¨å¼µã¨ããã¨å°ããªã´ãã¯æ¶ããããè¨å¼µâå縮ã§ã²ã³ããã¯æ¼ãæ½°ãããã ãã2åãããªãã¦ãè¯ãæ°ããã¦ããã ããã ãããªã ããããas3ã®ColorMatrixFilterã¿â¦
åè http://pw137.cs.ie.u-ryukyu.ac.jp/repos/complex_back/OpenCV_sample/tutorial_03.cpp opencvããã°ã©ãã³ã°ãã㯠p.59 ã°ã¬ã¼ã¹ã±ã¼ã«ã§èæ¯å·®ååã£ã¦ããï¼èæ¯å·®å - æ©æ¬è©³è§£ï¼ BGRãHSVã«å¤æãã¦ããHueã®ã¿ãè¦ã¦èè²ã«è¿ãç¯å²ã®ãã¯ã»ã«ã®â¦
åç»ãã¡ã¤ã«ï¼aviãã¡ã¤ã«ï¼ã®èªã¿è¾¼ã¿ - OpenCV@Chihara-Lab. ãããã¦ããã¨ã«ã¡ã©ã®ç¡ããã·ã³ã§ãtest.aviãèªã¿è¾¼ãã§ãã¹ãã§ããã®ã§ä¾¿å© CvCapture *capture = NULL; //capture = cvCreateCameraCapture(0); // ã«ã¡ã©èªã¿è¾¼ã¿ capture = cvCaptureâ¦
Macbookã®WindowsXPã§VMWareã§åããã¦ãUbuntuã§ãåãããã«ã¡ã©ãQV-40ã§æãããã®ã§èªèé¨åã®æ°å¤ããã£ã¦ãã colortrack.cpp #include <stdio.h> #include <highgui.h> #include <cv.h> IplImage *img = NULL; IplImage *imgR, *imgG, *imgB, *imgThreshold_R, *imgThreshold_G</cv.h></highgui.h></stdio.h>â¦