TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
Example on how to use the VisionSender with protobuf. More...
#include <iostream>
#include <string>
#include <google/protobuf/util/json_util.h>
#include <google/protobuf/text_format.h>
#include "travesim_adapters/protobuf/vision_sender.hpp"
Go to the source code of this file.
Functions | |
int | main () |
Example on how to use the VisionSender with protobuf.
Definition in file vision_sender_example.cpp.
int main | ( | ) |
Definition at line 24 of file vision_sender_example.cpp.
References travesim::FieldState::ball, travesim::FieldState::blue_team, travesim::proto::VisionSender::field_state_to_env_pb_msg(), travesim::EntityState::position, travesim::EntityState::velocity, travesim::Vector2D::x, travesim::Vector2D::y, and travesim::FieldState::yellow_team.