Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/finger563/cityhub-zcm
ZCM example for pulling sensor data through REST into ZCM for data analysis.
https://github.com/finger563/cityhub-zcm
Last synced: 13 days ago
JSON representation
ZCM example for pulling sensor data through REST into ZCM for data analysis.
- Host: GitHub
- URL: https://github.com/finger563/cityhub-zcm
- Owner: finger563
- License: mit
- Created: 2016-06-11T01:23:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-11T03:27:20.000Z (over 8 years ago)
- Last Synced: 2024-10-26T03:34:22.461Z (about 2 months ago)
- Language: C++
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cityhub-zcm
=============ZCM example for pulling sensor data through REST into ZCM for data
analysis.Example Dependency
----------------* Install library dependencies
```bash
$ sudo apt-get install autoconf automake libtool curl
```* Install libzmq
```bash
$ git clone https://github.com/zeromq/libzmq
$ cd libzmq
$ ./autogen.sh && ./configure && make -j 4
$ make check && sudo make install && sudo ldconfig
```* Download and copy cppzmq headers
```bash
$ git clone https://github.com/zeromq/cppzmq
$ cd cppzmq
$ sudo cp *.hpp /usr/local/include/.
```* Install ZCM
```bash
$ git clone https://github.com/pranav-srinivas-kumar/zcm
$ cd zcm
$ make
$ sudo make install
$ sudo ldconfig
```* Install cpprestsdk
[CPPRESTSDK](http://github.com/Microsoft/cpprestsdk) is reqiured for
the REST interaction with cityhub-sdk. Please follow the instructions
[here](http://github.com/Microsoft/cpprestsdk/wiki/How-to-build-for-Linux)
for building and installing CPPRESTSDK. They are copied below for ease:```bash
sudo apt-get install g++ git make libboost-all-dev libssl-dev cmake
git clone https://github.com/Microsoft/cpprestsdk.git casablanca
cd casablanca/Release
mkdir build.release
cd build.release
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install
sudo ldconfig
```Running this Example
-----------------```bash
$ make
$ make run
```