2017년 3월 23일 목요일

intel realsense with faceshift studio

faceshift stduio
https://docs.google.com/uc?id=0B10zXV570eMgTEhQa01uOWhhX3c&export=download

intel realsense sdk 2014
https://communities.intel.com/thread/111793
본문:

Intel RealSense Installation

  • Download the SDK and the DCM (Depth Camera Manager).
  • Install the SDK first. Note that for using the Intel RealSense camera with faceshift studio, you don’t need all the modules selected for installation by default, but only those selected in the screenshot below.
SR300 DCM은 최신 인스톨 상관없음.
http://faceshift.com/studio/2015.2/introduction.html


2017년 3월 8일 수요일

install pm2 on dawinop (ubuntu 12.04)

robotis@robotis:~$ npm i pm2 -g
npm http GET https://registry.npmjs.org/pm2

npm ERR! Error: failed to fetch from registry: pm2
npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR!     at Request. (/usr/lib/nodejs/request/main.js:212:58)
npm ERR!     at Request.emit (events.js:88:20)
npm ERR!     at ClientRequest. (/usr/lib/nodejs/request/main.js:412:12)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)
npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)
npm ERR! You may report this log at:
npm ERR!     
npm ERR! or use
npm ERR!     reportbug --attach /home/robotis/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.2.66-op2
npm ERR! command "node" "/usr/bin/npm" "i" "pm2" "-g"
npm ERR! cwd /home/robotis
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: pm2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/robotis/npm-debug.log
npm not ok

sudo add-apt-repository ppa:chris-lea/node.js  
sudo apt-get update  
sudo apt-get install nodejs
node -v
npm -v
npm install pm2 -g
robotis@robotis:~$ npm install pm2 -g
npm ERR! Error: EACCES, mkdir '/usr/lib/node_modules/pm2'
npm ERR!  { [Error: EACCES, mkdir '/usr/lib/node_modules/pm2']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/usr/lib/node_modules/pm2',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/usr/lib/node_modules/pm2',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack:
npm ERR!    [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR!      '/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53',
npm ERR!      'Object.oncomplete (fs.js:108:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.2.66-op2
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "pm2" "-g"
npm ERR! cwd /home/robotis
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR! path /usr/lib/node_modules/pm2
npm ERR! fstream_path /usr/lib/node_modules/pm2
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/usr/lib/node_modules/pm2'
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53
npm ERR! fstream_stack Object.oncomplete (fs.js:108:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/robotis/npm-debug.log
npm ERR! not ok code 0


sudo npm install pm2 -g

pm2 -v