rfid 를 이용한 automated textile management
https://www.mathsisfun.com/algebra/vectors.html
vector





https://en.m.wikipedia.org/wiki/Magnitude_(mathematics)
Its magnitude or length is most commonly defined as its Euclidean norm (or Euclidean length)
에 따르면 length 는 magnitude, Euclidean norm 다 같은 의미이다.




https://www.mathsisfun.com/algebra/vectors-dot-product.html
dot product
dot product는 a 벡터를 또 다른 벡터 b위에 procject 했을 때에 만들어지는 그 크기를 b의 크기에 곱한 결과 값과 같다.결과는 벡터가 아닌 실수값이 된다.







https://www.mathsisfun.com/algebra/vectors-cross-product.html
cross product
두개의 백터를 cross product하면 두 벡터에 수직하는 다른 차원의 벡터를 얻을수 있다.



위 그림은 원래 gif 이미지 였으며 각 벡터의 위치변화에 따른 cross product 벡터의 모양을 보여준다.



https://www.mathsisfun.com/algebra/vectors.html
vector





https://en.m.wikipedia.org/wiki/Magnitude_(mathematics)
Its magnitude or length is most commonly defined as its Euclidean norm (or Euclidean length)
에 따르면 length 는 magnitude, Euclidean norm 다 같은 의미이다.




https://www.mathsisfun.com/algebra/vectors-dot-product.html
dot product
dot product는 a 벡터를 또 다른 벡터 b위에 procject 했을 때에 만들어지는 그 크기를 b의 크기에 곱한 결과 값과 같다.결과는 벡터가 아닌 실수값이 된다.







https://www.mathsisfun.com/algebra/vectors-cross-product.html
cross product
두개의 백터를 cross product하면 두 벡터에 수직하는 다른 차원의 벡터를 얻을수 있다.



위 그림은 원래 gif 이미지 였으며 각 벡터의 위치변화에 따른 cross product 벡터의 모양을 보여준다.



local network에 google assistant sdk를 구현하는 node js server를 만든다.
이는 google home speaker와 같이 작동하나 mic와 speaker가 없다.
smart things sensor 기기에서 발생한 이벤트는 node server에 전달되고 node server는 같은 local network에 있는 다른 google home 기기에 broadcast 해서 알림을 수행한다.
smart things기기에서 발생한 이벤트는 webcore를 이용해서 만든 조건에 따른 action에 따라 node js에 전달된다.
전체 설치와 기본 사용 방법 설명 동영상
https://www.youtube.com/watch?v=yYVUs_mKVrM
smart things community page
Google Assistant Relay V2.0 – Google Home Audio Notifications
git hub page
Google Assistant Relay V2.0 – Google Home Audio Notifications
https://github.com/greghesp/assistant-relay
전반적인 google assistant sdk를 이용한 프로젝트에 대한 설명
google assistant sdk를 이용한 프로젝트의 경우 Actions Console (https://console.actions.google.com/) 에 들어가서 프로젝트를 만들거나 기존 프로젝트는 등록해주어한다.
다 하고 나면 아래 그림과 같이 된다.

google api 사용을 위한 설정
https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/
client id에 사용된 jacob 은 다운 받는 oauth credential file의 이름으로 사용된다. 또 이 화일은 assistant relay의 assistant-relay-masterserverconfigurationssecrets 내에 저장된다. ( jacob.json )

webcore 설치 방법
설치 방법이 길고 복잡하나 동영상을 그대로 따르면 문제 발생하지 않는다.
https://www.youtube.com/watch?v=y_ElUwmmI6Y
참고 ) 설명 페이지
https://wiki.webcore.co/#Opening_the_new_dashboard_from_your_phone
webcore 작업 페이지
node version 8 (이때당시 10까지 나와 있었으나 10을 설치해서 사용하면 문제 가 발생했다.)
https://nodejs.org/dist/latest-v8.x/ 에서 x64 msi형식으로다운받는다. node 설치시
아래와 같은 문제는 node version이 10이어서 발생한 문제였다.
node 8이어야 한다고 함.
assistant relay를 windows cmd에서 설치하는 과정에서 아래와 같은 문제가 발생
npm ERR! No git binary found in $PATH
Could not find Git in your PATH environment variable – Windows
그래서 일단 https://desktop.github.com/ 를 설치했다.
assistant relay를 windows cmd에서 설치하는 과정에서 python이 없어서 문제 발생
https://www.howtogeek.com/197947/how-to-install-python-on-windows/
과 같은 방법을 통해 python 설치
https://www.python.org/downloads/release/python-2715/ 이곳에서 아래 화일을 다운 받아 설치 Windows x86-64 MSI installer
assistant relay를 windows cmd에서 설치하는 과정에서
Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v64-win32-x64-unknown.tar.gz

와 같은 에러 발생 이는 컴퓨터네 virus 방어 프로 그램이 연결을 방해 해서 발생했다. 잠시 방어프로그램을 정지 시킨다.
참조)
npm install grpc fail
https://github.com/grpc/grpc-node/issues/140
npm init —– package.json이 없는 경우. 명령어 실행 화일을 만들수 있다.
npm install —– 실제 library를 설치
npm run start —– 실행
window에서 ip 정보 알아 내는 방법
cmd 에서 ipconfig 명령어를 이용한다.
( google home device간의 broadcast는 local network안에서만 발행하므로 내 local ip address가 프로젝트에서 사용되었다. )
node js 설치와 google assistant relay가 정상적으로 설치되었다면 웹브라우져에서 http://10.1.10.13:3000 를 입력하면 “Cannot GET /” 또는 “dude, chill, its quiet time” (quiet mode시에는)가 출력된다.
local network에 google assistant sdk를 구현하는 node js server를 만든다.
이는 google home speaker와 같이 작동하나 mic와 speaker가 없다.
smart things sensor 기기에서 발생한 이벤트는 node server에 전달되고 node server는 같은 local network에 있는 다른 google home 기기에 broadcast 해서 알림을 수행한다.
smart things기기에서 발생한 이벤트는 webcore를 이용해서 만든 조건에 따른 action에 따라 node js에 전달된다.
전체 설치와 기본 사용 방법 설명 동영상
https://www.youtube.com/watch?v=yYVUs_mKVrM
smart things community page
Google Assistant Relay V2.0 – Google Home Audio Notifications
git hub page
Google Assistant Relay V2.0 – Google Home Audio Notifications
https://github.com/greghesp/assistant-relay
전반적인 google assistant sdk를 이용한 프로젝트에 대한 설명
google assistant sdk를 이용한 프로젝트의 경우 Actions Console (https://console.actions.google.com/) 에 들어가서 프로젝트를 만들거나 기존 프로젝트는 등록해주어한다.
다 하고 나면 아래 그림과 같이 된다.

google api 사용을 위한 설정
https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/
client id에 사용된 jacob 은 다운 받는 oauth credential file의 이름으로 사용된다. 또 이 화일은 assistant relay의 assistant-relay-masterserverconfigurationssecrets 내에 저장된다. ( jacob.json )

webcore 설치 방법
설치 방법이 길고 복잡하나 동영상을 그대로 따르면 문제 발생하지 않는다.
https://www.youtube.com/watch?v=y_ElUwmmI6Y
참고 ) 설명 페이지
https://wiki.webcore.co/#Opening_the_new_dashboard_from_your_phone
webcore 작업 페이지
node version 8 (이때당시 10까지 나와 있었으나 10을 설치해서 사용하면 문제 가 발생했다.)
https://nodejs.org/dist/latest-v8.x/ 에서 x64 msi형식으로다운받는다. node 설치시
아래와 같은 문제는 node version이 10이어서 발생한 문제였다.
node 8이어야 한다고 함.
assistant relay를 windows cmd에서 설치하는 과정에서 아래와 같은 문제가 발생
npm ERR! No git binary found in $PATH
Could not find Git in your PATH environment variable – Windows
그래서 일단 https://desktop.github.com/ 를 설치했다.
assistant relay를 windows cmd에서 설치하는 과정에서 python이 없어서 문제 발생
https://www.howtogeek.com/197947/how-to-install-python-on-windows/
과 같은 방법을 통해 python 설치
https://www.python.org/downloads/release/python-2715/ 이곳에서 아래 화일을 다운 받아 설치 Windows x86-64 MSI installer
assistant relay를 windows cmd에서 설치하는 과정에서
Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v64-win32-x64-unknown.tar.gz

와 같은 에러 발생 이는 컴퓨터네 virus 방어 프로 그램이 연결을 방해 해서 발생했다. 잠시 방어프로그램을 정지 시킨다.
참조)
npm install grpc fail
https://github.com/grpc/grpc-node/issues/140
npm init —– package.json이 없는 경우. 명령어 실행 화일을 만들수 있다.
npm install —– 실제 library를 설치
npm run start —– 실행
window에서 ip 정보 알아 내는 방법
cmd 에서 ipconfig 명령어를 이용한다.
( google home device간의 broadcast는 local network안에서만 발행하므로 내 local ip address가 프로젝트에서 사용되었다. )
node js 설치와 google assistant relay가 정상적으로 설치되었다면 웹브라우져에서 http://10.1.10.13:3000 를 입력하면 “Cannot GET /” 또는 “dude, chill, its quiet time” (quiet mode시에는)가 출력된다.
local network에 google assistant sdk를 구현하는 node js server를 만든다.
이는 google home speaker와 같이 작동하나 mic와 speaker가 없다.
smart things sensor 기기에서 발생한 이벤트는 node server에 전달되고 node server는 같은 local network에 있는 다른 google home 기기에 broadcast 해서 알림을 수행한다.
smart things기기에서 발생한 이벤트는 webcore를 이용해서 만든 조건에 따른 action에 따라 node js에 전달된다.
전체 설치와 기본 사용 방법 설명 동영상
https://www.youtube.com/watch?v=yYVUs_mKVrM
smart things community page
Google Assistant Relay V2.0 – Google Home Audio Notifications
git hub page
Google Assistant Relay V2.0 – Google Home Audio Notifications
https://github.com/greghesp/assistant-relay
전반적인 google assistant sdk를 이용한 프로젝트에 대한 설명
google assistant sdk를 이용한 프로젝트의 경우 Actions Console (https://console.actions.google.com/) 에 들어가서 프로젝트를 만들거나 기존 프로젝트는 등록해주어한다.
다 하고 나면 아래 그림과 같이 된다.

google api 사용을 위한 설정
https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/
client id에 사용된 jacob 은 다운 받는 oauth credential file의 이름으로 사용된다. 또 이 화일은 assistant relay의 assistant-relay-masterserverconfigurationssecrets 내에 저장된다. ( jacob.json )

webcore 설치 방법
설치 방법이 길고 복잡하나 동영상을 그대로 따르면 문제 발생하지 않는다.
https://www.youtube.com/watch?v=y_ElUwmmI6Y
참고 ) 설명 페이지
https://wiki.webcore.co/#Opening_the_new_dashboard_from_your_phone
webcore 작업 페이지
node version 8 (이때당시 10까지 나와 있었으나 10을 설치해서 사용하면 문제 가 발생했다.)
https://nodejs.org/dist/latest-v8.x/ 에서 x64 msi형식으로다운받는다. node 설치시
아래와 같은 문제는 node version이 10이어서 발생한 문제였다.
node 8이어야 한다고 함.
assistant relay를 windows cmd에서 설치하는 과정에서 아래와 같은 문제가 발생
npm ERR! No git binary found in $PATH
Could not find Git in your PATH environment variable – Windows
그래서 일단 https://desktop.github.com/ 를 설치했다.
assistant relay를 windows cmd에서 설치하는 과정에서 python이 없어서 문제 발생
https://www.howtogeek.com/197947/how-to-install-python-on-windows/
과 같은 방법을 통해 python 설치
https://www.python.org/downloads/release/python-2715/ 이곳에서 아래 화일을 다운 받아 설치 Windows x86-64 MSI installer
assistant relay를 windows cmd에서 설치하는 과정에서
Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v64-win32-x64-unknown.tar.gz

와 같은 에러 발생 이는 컴퓨터네 virus 방어 프로 그램이 연결을 방해 해서 발생했다. 잠시 방어프로그램을 정지 시킨다.
참조)
npm install grpc fail
https://github.com/grpc/grpc-node/issues/140
npm init —– package.json이 없는 경우. 명령어 실행 화일을 만들수 있다.
npm install —– 실제 library를 설치
npm run start —– 실행
window에서 ip 정보 알아 내는 방법
cmd 에서 ipconfig 명령어를 이용한다.
( google home device간의 broadcast는 local network안에서만 발행하므로 내 local ip address가 프로젝트에서 사용되었다. )
node js 설치와 google assistant relay가 정상적으로 설치되었다면 웹브라우져에서 http://10.1.10.13:3000 를 입력하면 “Cannot GET /” 또는 “dude, chill, its quiet time” (quiet mode시에는)가 출력된다.
Xcode: What is a target and scheme in plain language?
original source : https://stackoverflow.com/questions/20637435/xcode-what-is-a-target-and-scheme-in-plain-language
I’ve added in Workspace and Project too!
- Workspace – Contains one or more projects. These projects usually relate to one another
- Project – Contains code and resources, etc. (You’ll be used to these!)
- Target – Each project has one or more targets.
Each target defines a list of build settings for that project
Each target also defines a list of classes, resources, custom scripts etc to include/ use when building.
Targets are usually used for different distributions of the same project.
For example, my project has two targets, a “normal” build and an “office” build that has extra testing features and may contain several background music tracks and a button to change the track (as it currently does).
You’ll be used to adding classes and resources to your default target as you add them.
You can pick and choose which classes / resources are added to which target.
If you add tests, this also adds a new target.
In my example, I have a “DebugHandler” class that is added to my office build
- Scheme – A scheme defines what happens when you press “Build”, “Test”, “Profile”, etc.
Usually, each target has at least one scheme
You can autocreate schemes for your targets by going to Scheme > Manage Schemes and pressing “Autocreate Schemes Now”