TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
Example to read data published from vision adapter. More...
#include <iostream>
#include <string>
#include <google/protobuf/util/json_util.h>
#include <google/protobuf/text_format.h>
#include "packet.pb.h"
#include "travesim_adapters/udp/multicast_receiver.hpp"
Go to the source code of this file.
Macros | |
#define | BUFFER_SIZE 1024U |
Functions | |
int | main (int argc, char *argv[]) |
Example to read data published from vision adapter.
Definition in file vision_receiver_example.cpp.
#define BUFFER_SIZE 1024U |
Definition at line 27 of file vision_receiver_example.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 33 of file vision_receiver_example.cpp.
References BUFFER_SIZE, and travesim::udp::Receiver::receive().