httpcmd's People
httpcmd's Issues
CC3200ほかのセンサデータ取得対応
どっちかというとhtml側の修正がめんどい。。。。
↓な感じでとれるので適当にぱーすして出せばいいだけ
0D10 0DE4 27.78 26.13
9DF4 6994 61.70 28.05
56BD20 80DC00 28.23 1025.26
2436 10AD AA99 70.76 32.59 -166.89
035C 0112 F28D 0.21 0.07 -0.84
0171 3.69
FEC1 03D4 FE4C -319 980 -436
0
304
HIGHGUI ERROR: V4L: index 0 is not correct!
https://github.com/moguriso/httpcmd/blob/master/src/module/webcam/webcam.go#L23
HIGHGUI ERROR: V4L: index 0 is not correct!
panic: can not open camera
USBカメラが反応しなくなった際にunbind => bindすると/dev/videoxのインデックスが変わってカメラを見失う場合が有る。
seg fault occurred...
goroutine 5 [running]:
module/sensortag.(*Data).getPage(0xc420060f90, 0xc420060f60, 0x2f)
/home/adachi/repo/httpcmd/src/module/sensortag/button.go:60 +0x3a
module/sensortag.(*Data).getSensorData(0xc420060f90, 0x0, 0x0, 0x0, 0x0)
/home/adachi/repo/httpcmd/src/module/sensortag/button.go:139 +0x311
module/sensortag.(*Data).ReadButtonThread(0xc420060f90)
/home/adachi/repo/httpcmd/src/module/sensortag/button.go:158 +0xc0
created by main.main
/home/adachi/repo/httpcmd/src/main/main.go:27 +0x1e4
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x686106]
goroutine 5 [running]:
module/sensortag.(*Data).getSensorData(0xc420060f90, 0x0, 0x0, 0x0, 0x0)
/home/adachi/repo/httpcmd/src/module/sensortag/button.go:134 +0x86
module/sensortag.(*Data).ReadButtonThread(0xc420060f90)
/home/adachi/repo/httpcmd/src/module/sensortag/button.go:158 +0xc0
created by main.main
/home/adachi/repo/httpcmd/src/main/main.go:27 +0x1e4
出力不要時にカメラを切断する
WebのI/Fが参照してるときだけ有効化して不要になったら解放する処理を入れる。
じゃないと熱くなってウザい
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.