summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 416e55b73a662689dcee2f5b5c4bccedce059e0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# OnlineDetectorSimulator
This little tool will simulate the online capabilities of the new detector. Therefore, a dataset has been created which offers the same structure as the data from the new detector. The software sends out the packages via UDP.

## Build instructions

1. Dependencies:

  - Boost >= 1.58.0
  - libconfig
  - cmake
  - A C++11 compiler like gcc

  On debian-based systems install using the given commands:

  `$ sudo apt-get install libboost-all-dev libconfig++-dev`

2. Clone the repository:

  `$ git clone git@github.com:HZDR-FWDF/OnlineDetectorSimulator.git && cd OnlineDetectorSimulator`

3. Run cmake:

  ```bash
  # Create build directory
  $ mkdir build && cd build
  $ cmake -DCMAKE_BUILD_TYPE=Release ../src/.
  ```

4. Build the software

  `$ make`

5. In the `bin` directory there will be two executables (`onlineDetectorSimulatorClient`, `onlineDetectorSimulatorServer`).