17 #include "packet.pb.h" 19 #ifndef __VISION_SENDER_H__ 20 #define __VISION_SENDER_H__ 40 VisionSender(
const std::string multicast_address,
const short multicast_port);
79 #endif // __VISION_SENDER_H__ Data structure to hold the field state.
void set_multicast_endpoint(const std::string multicast_address, const short multicast_port)
Set the multicast endpoint.
Vision sender class with UDP and protobuf.
VisionSender(const std::string multicast_address, const short multicast_port)
Construct a new Vision Sender object.
static fira_message::sim_to_ref::Environment field_state_to_env_pb_msg(FieldState *p_field_state)
Convert a FieldState object to a Environment protobuf message object.
Send data using UDP in multicast mode.
bool send(FieldState *p_field_state)
Send vision data with UDP and protobuf.
std::unique_ptr< udp::MulticastSender > multicast_sender