#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 | |
MavlinkComm & | comm |
ParamManager< DerivedLogger > | param |
TimeManager< DerivedLogger > | time |
Private Attributes | |
uint8_t | compid_ |
uint8_t | sysid_ |
Definition at line 57 of file mavrosflight.h.
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.
mavlink_comm | Reference to a MavlinkComm object (serial or UDP) |
baud_rate | Serial communication baud rate |
Definition at line 46 of file mavrosflight.cpp.
mavrosflight::MavROSflight< DerivedLogger >::~MavROSflight | ( | ) |
Stops communication and closes the serial port before the object is destroyed.
Definition at line 63 of file mavrosflight.cpp.
MavlinkComm& mavrosflight::MavROSflight< DerivedLogger >::comm |
Definition at line 78 of file mavrosflight.h.
|
private |
Definition at line 85 of file mavrosflight.h.
ParamManager<DerivedLogger> mavrosflight::MavROSflight< DerivedLogger >::param |
Definition at line 79 of file mavrosflight.h.
|
private |
Definition at line 84 of file mavrosflight.h.
TimeManager<DerivedLogger> mavrosflight::MavROSflight< DerivedLogger >::time |
Definition at line 80 of file mavrosflight.h.