embeded/raspberry pi2016. 6. 9. 19:55

-t, --timeout   : Time (in ms) before takes picture and shuts down (if not specified, set to 5s)


기본값이 5초라서

사진 하나 받아오는데 항상 5초 걸리는 기분..

-t 0 는 안되므로

-t 1 이상은 설정을 해야 한다.



pi@raspberrypi:~/Pictures $ time raspistill -o tt.jpg -t 1


real    0m0.778s

user    0m0.010s

sys     0m0.030s


pi@raspberrypi:~/Pictures $ time raspistill -o tt.jpg -t 1000


real    0m1.948s

user    0m0.020s

sys     0m0.040s



받아오는 해상도 별로 시간 차이는 없음.



+

-tl, --timelapse        : Timelapse mode. Takes a picture every <t>ms. %d == frame number (Try: -o img_%04d.jpg)


그나저나 타임랩스 기능이 있네?


$ raspistill -tl 33 -o img_%04d.jpg

mmal: Skipping frame 2 to restart at frame 14

mmal: Skipping frame 15 to restart at frame 30

mmal: Skipping frame 31 to restart at frame 48

mmal: Skipping frame 49 to restart at frame 68

mmal: Skipping frame 69 to restart at frame 90

mmal: Skipping frame 91 to restart at frame 112

mmal: Skipping frame 113 to restart at frame 134

mmal: Skipping frame 135 to restart at frame 156


1/30초 단위로 찍게 하려고 33msec 했는데 1초에 두번 겨우 하는 정도..
$ file *
img_0001.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:03:56, width=0], baseline, precision 8, 2592x1944, frames 3
img_0014.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:03:57, width=0], baseline, precision 8, 2592x1944, frames 3
img_0030.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:03:57, width=0], baseline, precision 8, 2592x1944, frames 3
img_0048.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:03:58, width=0], baseline, precision 8, 2592x1944, frames 3
img_0068.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:03:58, width=0], baseline, precision 8, 2592x1944, frames 3
img_0090.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:03:59, width=0], baseline, precision 8, 2592x1944, frames 3
img_0112.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:04:00, width=0], baseline, precision 8, 2592x1944, frames 3
img_0134.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:04:00, width=0], baseline, precision 8, 2592x1944, frames 3
img_0156.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:04:01, width=0], baseline, precision 8, 2592x1944, frames 3


해상도별 차이는 없는 기분?

$ raspistill -tl 1 -o img_%04d.jpg -w 640 -h 480

mmal: Skipping frame 2 to restart at frame 342

mmal: Skipping frame 343 to restart at frame 868

mmal: Skipping frame 869 to restart at frame 1442

mmal: Skipping frame 1443 to restart at frame 2124

mmal: Skipping frame 2125 to restart at frame 2847

mmal: Skipping frame 2848 to restart at frame 3569

mmal: Skipping frame 3570 to restart at frame 4292

mmal: Skipping frame 4293 to restart at frame 5014



 $ file *

img_0001.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:01, width=0], baseline, precision 8, 640x480, frames 3

img_0342.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:02, width=0], baseline, precision 8, 640x480, frames 3

img_0868.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:02, width=0], baseline, precision 8, 640x480, frames 3

img_1442.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:03, width=0], baseline, precision 8, 640x480, frames 3

img_2124.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:03, width=0], baseline, precision 8, 640x480, frames 3

img_2847.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:04, width=0], baseline, precision 8, 640x480, frames 3

img_3569.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:05, width=0], baseline, precision 8, 640x480, frames 3

img_4292.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:05, width=0], baseline, precision 8, 640x480, frames 3

img_5014.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=10, height=0, manufacturer=RaspberryPi, model=RP_ov5647, xresolution=156, yresolution=164, resolutionunit=2, datetime=2016:06:09 11:07:06, width=0], baseline, precision 8, 640x480, frames 3



Posted by 구차니
하드웨어/Storage2016. 6. 9. 14:36

브라우저간 끌어 놓기는 IE10 부터 사용이 가능하다.

버그인진 모르겠지만.. IE 에서는 edge이던 10이던 해당 설정 체크 자체가 활성화 되지 않는다.



'하드웨어 > Storage' 카테고리의 다른 글

synology ds215+ 설치  (0) 2016.06.10
synology redmine...  (0) 2016.06.10
synology DSM 6.0 업데이트!  (0) 2016.03.30
시놀로지 업데이트.. DSM 6.0!  (0) 2016.03.25
sdsc sdhc sdxc ...  (0) 2016.03.23
Posted by 구차니
Linux/Ubuntu2016. 6. 9. 11:02

이렇게 보니.. 리눅스 버전이 미친듯이 올랐구나 싶네


4.10    Warty Warthog    2.6.8

5.04    Hoary Hedgehog   2.6.10

5.10    Breezy Badger    2.6.12

6.06    Dapper Drake     2.6.15

6.10    Edgy Eft         2.6.17

7.04    Feisty Fawn      2.6.20

7.10    Gutsy Gibbon     2.6.22

8.04    Hardy Heron      2.6.24

8.10    Intrepid Ibex    2.6.27

9.04    Jaunty Jackalope 2.6.28

9.10    Karmic Koala     2.6.31

10.04   Lucid Lynx       2.6.32

10.10   Maverick Meerkat 2.6.35

11.04   Natty Narwhal    2.6.38

11.10   Oneiric Ocelot   3.0

12.04   Precise Pangolin 3.2+

12.10   Quantal Quetzal  3.5

13.04   Raring Ringtail  3.8

13.10   Saucy Salamander 3.11

14.04   Trusty Tahr      3.13

14.10   Utopic Unicorn   3.16

15.04   Vivid Vervet     3.19

15.10   Wily Werewolf    4.2

16.04   Xenial Xerus     4.4 


[링크 : http://askubuntu.com/.../list-of-ubuntu-versions-with-corresponding-linux-kernel-version]

'Linux > Ubuntu' 카테고리의 다른 글

baobab - Disk Usage Analyzer  (0) 2016.06.13
*.so 파일의 의존성 확인하기  (0) 2016.06.13
응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
notepadqq 흐음...  (0) 2016.03.23
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
Posted by 구차니

가장 간편(?)한 건...

$ sudo ln -s /bin/bash /bin/sh 


그런데 이렇게 건드리는게 옳은건가...


[링크 : https://forums.xilinx.com/.../Trouble-configuring-petalinux-2013-10-bin-sh-1-pushd-not-found/td-p/399843]

'프로그램 사용 > make, configure' 카테고리의 다른 글

cmake 빌드 에러시  (0) 2021.01.19
make order  (0) 2016.06.16
make 기본셸  (0) 2016.06.08
makefile := = 차이점  (0) 2016.06.04
make 의존성 파일?  (0) 2015.12.18
Posted by 구차니

SHELL 변수로 설정되지 않으면 /bin/sh가 되므로

bash에서 지원하는 popd pushd 등이 봉인..

환경 변수 등을 끌어 가지 않으므로.. 결론은 Makefile 별로 설정을 해주어야 한다.



5.3.2 Choosing the Shell

The program used as the shell is taken from the variable SHELL. If this variable is not set in your makefile, the program /bin/sh is used as the shell. The argument(s) passed to the shell are taken from the variable .SHELLFLAGS. The default value of .SHELLFLAGS is -c normally, or -ec in POSIX-conforming mode.

Unlike most variables, the variable SHELL is never set from the environment. This is because the SHELL environment variable is used to specify your personal choice of shell program for interactive use. It would be very bad for personal choices like this to affect the functioning of makefiles. See Variables from the Environment.

Furthermore, when you do set SHELL in your makefile that value is not exported in the environment to recipe lines that make invokes. Instead, the value inherited from the user’s environment, if any, is exported. You can override this behavior by explicitly exporting SHELL (see Communicating Variables to a Sub-make), forcing it to be passed in the environment to recipe lines.

[링크 : https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html]

    [링크 : https://www.gnu.org/software/make/manual/html_node/Variables_002fRecursion.html]

'프로그램 사용 > make, configure' 카테고리의 다른 글

make order  (0) 2016.06.16
make /bin/sh: 1: pushd: not found 에러  (0) 2016.06.08
makefile := = 차이점  (0) 2016.06.04
make 의존성 파일?  (0) 2015.12.18
make 암시적 룰  (0) 2015.12.18
Posted by 구차니

퇴근길 버스안에서 잠실대교



'개소리 왈왈 > 사진과 수다' 카테고리의 다른 글

보름달  (0) 2016.07.19
블루베리.. 그리고 우담바라?  (0) 2016.06.11
퇴근길 + 출근길 비  (0) 2016.05.24
점심 시간의 여유  (0) 2016.05.23
걍 밤에는 포기하자.jpg  (0) 2016.05.22
Posted by 구차니
게임/c&c generals2016. 6. 5. 22:28

망할 스커드 폭풍 ㅠㅠ

공략을 봐도 겁나 빡신(유난히!) 미션이라고...


포인트는.. overlord에 프로파간다 스피커를 달아 광역힐러로 쓰는거 ㅋㅋ










개틀링 캐논.. 대공 방어라는데..

이거 한다고 해서 스커드 미사일이 안떨어 지는건 또 아닌거 같기도 하고.. 애매하네


퍼킹 스커드!!!!

왜 미국 애들이 CNN에서 스커드 어쩌구 하면서 북한 갈구는지 이해가 될 기분 ㅠㅠ


흑수선 가지고 내걸로 만들걸 그랬나...



아무튼 겨우 스커드 기지만 폭발시키고 조금은 편안하게.. 진행 ㅠㅠ

그랬더니 이동형 스커드 망할 ㅠㅠ


갑자기 환호하는 아랍인?



꽤나 처참한 결론 ㅠㅠ


'게임 > c&c generals' 카테고리의 다른 글

c&c generals - gla 2  (0) 2016.06.15
c&c generals - gla 1  (0) 2016.06.15
c&c generals - china 6  (0) 2016.05.28
c&c generals - china 5  (0) 2016.04.23
c&c generals - china 4  (0) 2016.04.21
Posted by 구차니


 In short, variables defined with := are expanded once, but variables defined with = are expanded whenever they are used.

[링크 : http://stackoverflow.com/.../whats-the-difference-between-and-in-makefile]


Simply expanded variables are defined by lines using ‘:=’ or ‘::=’ (see Setting Variables). Both forms are equivalent in GNU make; however only the ‘::=’ form is described by the POSIX standard (support for ‘::=’ was added to the POSIX standard in 2012, so older versions of make won’t accept this form either).

[링크 : http://www.gnu.org/software/make/manual/html_node/Flavors.html#Flavors]


https://www.gnu.org/software/make/manual/html_node/Setting.html#Setting


'프로그램 사용 > make, configure' 카테고리의 다른 글

make /bin/sh: 1: pushd: not found 에러  (0) 2016.06.08
make 기본셸  (0) 2016.06.08
make 의존성 파일?  (0) 2015.12.18
make 암시적 룰  (0) 2015.12.18
make jobserver unavailable  (0) 2015.12.16
Posted by 구차니

주문 일주일 만에 도착....

라즈베리 케이스 씌우니까 이쁜데..

공간을 확 잡아 먹네 ㅠㅠ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

지친다  (2) 2016.07.05
망할 놈의 회사  (0) 2016.06.30
시놀로지.. freeNAS... 우분투...  (0) 2016.06.01
어떤 아주머니  (0) 2016.05.29
소소한 부품 지름..  (2) 2016.05.27
Posted by 구차니

80기가로 늘리기


C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyhd image.vdi --resize 81920


[링크 : http://www.howtogeek.com/.../how-to-enlarge-a-virtual-machines-disk-in-virtualbox-or-vmware/]


+ 2020.09.11

고정일경우 에러가 나서 되지 않으니

clonehd를 이용해서 동적으로 복사한후 늘리면 된다.


[링크 : https://m.blog.naver.com/r2adne/220239005520]

[링크 : https://stackoverflow.com/questions/50772789/]

Posted by 구차니