43 using boost::asio::serial_port_base;
45 template <
typename DerivedLogger>
53 param(&comm, logger, timer_provider),
54 time(&comm, logger, time_interface, timer_provider),
62 template <
typename DerivedLogger>
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val)
void close()
Stops communication and closes the port.
MavROSflight(MavlinkComm &mavlink_comm, LoggerInterface< DerivedLogger > &logger, const TimeInterface &time_interface, TimerProviderInterface &timer_provider, uint8_t sysid=1, uint8_t compid=50)
Instantiates the class and begins communication on the specified serial port.
~MavROSflight()
Stops communication and closes the serial port before the object is destroyed.
Provide an interface for creating timers.
Interface for acquiring system time.