23#ifndef _PLUGINS_LASER_SICK_TIM55X_ETHERNET_AQT_H_
24#define _PLUGINS_LASER_SICK_TIM55X_ETHERNET_AQT_H_
26#include "sick_tim55x_common_aqt.h"
28#include <boost/asio.hpp>
48 void send_with_reply(
const char *request, std::string *reply = NULL);
50 void check_deadline();
51 void check_soft_timeout();
53#if BOOST_VERSION < 104800
55 handle_read(boost::system::error_code ec,
size_t bytes_read)
58 bytes_read_ = bytes_read;
63 std::string cfg_host_;
64 std::string cfg_port_;
68 boost::asio::io_service io_service_;
69 boost::asio::ip::tcp::socket socket_;
70 boost::asio::deadline_timer deadline_;
71 boost::asio::deadline_timer soft_deadline_;
72 boost::asio::streambuf input_buffer_;
74 boost::system::error_code ec_;
Laser acqusition thread for Sick TiM55x laser range finders.
Laser acqusition thread for Sick TiM55x laser range finders.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
virtual void finalize()
Finalize the thread.
SickTiM55xEthernetAcquisitionThread(std::string &cfg_name, std::string &cfg_prefix)
Constructor.
Mutex mutual exclusion lock.
Fawkes library namespace.