<commit_before>// UDP receiver node
// Author: <NAME> <<EMAIL>>

#ifndef UDP_RECEIVER_H
#define UDP_RECEIVER_H

#include <map>
#include <vector>
#include <string>

#include <ros/publisher.h>

#include <topic_tools/shape_shifter.h>

#include <list>

#include <boost/thread.hpp>

#include "udp_packet.h"

#if WITH_OPENFEC
extern "C"
{
#include <of_openfec_api.h>
}
#endif

namespace nimbro_topic_transport
{

struct Message
{
	Message(uint16_t id)
	 : id(id)
	 , size(0)
	 , complete(false)
	 , decoder(0)<commit_msg>nimbro_topic_transport: fix compilation w/o OpenFEC<commit_after>// UDP receiver node
// Author: <NAME> <<EMAIL>>

#ifndef UDP_RECEIVER_H
#define UDP_RECEIVER_H

#include <map>
#include <vector>
#include <string>

#include <ros/publisher.h>

#include <topic_tools/shape_shifter.h>

#include <list>

#include <boost/thread.hpp>

#include "udp_packet.h"

#if WITH_OPENFEC
extern "C"
{
#include <of_openfec_api.h>
}
#endif

namespace nimbro_topic_transport
{

struct Message
{
	Message(uint16_t id)
	 : id(id)
	 , size(0)
	 , complete(false)
#if WITH_OPENFEC
	 , decoder(0)
#endif
{'fraction_non_alphanumeric': 0.13736263736263737, 'fraction_numerical': 0.007326007326007326, 'mean_word_length': 5.2457142857142856, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6029381', 'n_tokens_mistral': 464, 'n_tokens_neox': 441, 'n_words': 94}