Public Member Functions | Public Attributes | Private Attributes | List of all members
mavrosflight::MavROSflight< DerivedLogger > Class Template Reference

#include <mavrosflight.h>

Public Member Functions

 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. More...
 
 ~MavROSflight ()
 Stops communication and closes the serial port before the object is destroyed. More...
 

Public Attributes

MavlinkCommcomm
 
ParamManager< DerivedLogger > param
 
TimeManager< DerivedLogger > time
 

Private Attributes

uint8_t compid_
 
uint8_t sysid_
 

Detailed Description

template<typename DerivedLogger>
class mavrosflight::MavROSflight< DerivedLogger >

Definition at line 57 of file mavrosflight.h.

Constructor & Destructor Documentation

template<typename DerivedLogger>
mavrosflight::MavROSflight< DerivedLogger >::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.

Parameters
mavlink_commReference to a MavlinkComm object (serial or UDP)
baud_rateSerial communication baud rate
Todo:
Fix constructors so that we can open the port in here

Definition at line 46 of file mavrosflight.cpp.

template<typename DerivedLogger >
mavrosflight::MavROSflight< DerivedLogger >::~MavROSflight ( )

Stops communication and closes the serial port before the object is destroyed.

Definition at line 63 of file mavrosflight.cpp.

Member Data Documentation

template<typename DerivedLogger>
MavlinkComm& mavrosflight::MavROSflight< DerivedLogger >::comm

Definition at line 78 of file mavrosflight.h.

template<typename DerivedLogger>
uint8_t mavrosflight::MavROSflight< DerivedLogger >::compid_
private

Definition at line 85 of file mavrosflight.h.

template<typename DerivedLogger>
ParamManager<DerivedLogger> mavrosflight::MavROSflight< DerivedLogger >::param

Definition at line 79 of file mavrosflight.h.

template<typename DerivedLogger>
uint8_t mavrosflight::MavROSflight< DerivedLogger >::sysid_
private

Definition at line 84 of file mavrosflight.h.

template<typename DerivedLogger>
TimeManager<DerivedLogger> mavrosflight::MavROSflight< DerivedLogger >::time

Definition at line 80 of file mavrosflight.h.


The documentation for this class was generated from the following files:


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:09:29