horsewin / ard Goto Github PK
View Code? Open in Web Editor NEWRefactoring
Refactoring
<A indication for installing the AR Diorama server> 1. Visual Studio 2010 2. Bullet Physics Library 2.78 3. TIFF-3.8.2-1 4. PNG-1.2.37 5. JPEG-6b-4 (3,4,5より先にOSGをインストールするとBUILDでエラーが出る.ここでひっかかった) 6. Boost 2.73 7. Open Scene Graph 3.0.1 8. OSGWorks 2.0.0 a)OSGの追加の部分でエラーが出て詰まった。環境変数にOSG_ROOTを追加すればよいとググったらでてきた b)boostの部分で詰まった。最新のPCLのバージョンではなぜかBoostConfig.cmakeのファイルの中身が変で編集してもうまく動かなかったため、前PCからPCL1.4.0を回収してそれをつかうとうまく動いた。 9.OSGBullet 2.0.0 10. VRPN 7.30 <A limiation of VRPN connection> Ref:http://www.cs.unc.edu/Research/vrpn/Connection_h.html --> // Buffer lengths for TCP and UDP. // TCP is an arbitrary number that can be changed by the user // using vrpn_Connection::set_tcp_outbuf_size(). // UDP is set based on Ethernet maximum transmission size; trying // to send a message via UDP which is longer than the MTU of any // intervening physical network may cause untraceable failures, // so for now we do not expose any way to change the UDP output // buffer size. (MTU = 1500 bytes, - 28 bytes of IP+UDP header) const int vrpn_CONNECTION_TCP_BUFLEN = 64000; const int vrpn_CONNECTION_UDP_BUFLEN = 1472; /// Number of endpoints that a server connection can have. Arbitrary limit. <-- 2013.1.30までUDP通信しか使っていなかった。そのためバッファ制限が1472byteに制限されており十分なデータ転送が できず、a set of hand spheresなどを完全にクライアント側で構築できなかった。 ドキュメントを読んでみると以下のような記述を見つけた。 Ref: http://www.cs.unc.edu/Research/vrpn/troubleshooting.html No "unreliable" messages seem to get through, can't send UDP Step 1: upgrade to version 7.15 or higher; there was a bug in earlier versions that caused this to happen on some computers with more than one network connection. Step 2: We had trouble with VRPN when going through firewalls at high schools. To fix it, we implemented the TCP-only connection, you can connect to device@tcp://machine:port rather than device@machine:port, and the client will then make a single outgoing TCP connection to the server and no unreliable (UDP) channel will be established between them. This should also work to avoid firewalls on the client computer. バッファを拡張し、クライアント側の通信形態をTCPに変更すると、サーバ側で設定したバッファ内容を正しく受信できた。 これによって、a set of hand spheresを完全に構成することに成功した。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.