summaryrefslogtreecommitdiffstats
path: root/src/main_client.cpp
blob: 451bd02c5a0bcb748e211bc08a74fc3426aa0dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "UDPClient/UDPClient.h"
#include "DetectorModule/DetectorModule.h"

#include <iostream>
#include <string>

int main (int argc, char *argv[]){

  std::cout << "Sending UDP packages: " << std::endl;

  auto configPath = std::string { "config.cfg" };
  std::string address = "10.0.0.10";

  DetectorModule detModule0 = DetectorModule(0, address, configPath);

  detModule0.sendPeriodically(5000u);

  return 0;

}