30 #ifndef LDSPOLARGRAPH_H 31 #define LDSPOLARGRAPH_H 34 #include <QtGui/QMouseEvent> 35 #include <QtCore/QDebug> 36 #include <QtCharts/QChartView> 37 #include <QtCharts/QPolarChart> 38 #include <QtCharts/QAbstractAxis> 39 #include <QtCharts/QValueAxis> 40 #include <QtCharts/QScatterSeries> 41 #include <QtCharts/QValueAxis> 42 #include <boost/asio.hpp> 43 #include <boost/array.hpp> 46 QT_CHARTS_USE_NAMESPACE
68 boost::asio::io_service
io_;
bool shutting_down_
Flag for whether the driver is supposed to be shutting down or not.
boost::asio::io_service io_
uint16_t motor_speed_
current motor speed as reported by the LFCD.
LdsPolarGraph(QWidget *parent=0)
boost::asio::serial_port serial_
Actual serial port object for reading/writing to the LFCD Laser Scanner.
std::string port_
The serial port the driver is attached to.
uint32_t baud_rate_
The baud rate for the serial connection.