Public Member Functions | Public Attributes | Private Attributes | List of all members
mavrosflight::MavROSflight Class Reference

#include <mavrosflight.h>

Public Member Functions

 MavROSflight (MavlinkComm &mavlink_comm, 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 param
 
TimeManager time
 

Private Attributes

uint8_t compid_
 
uint8_t sysid_
 

Detailed Description

Definition at line 56 of file mavrosflight.h.

Constructor & Destructor Documentation

mavrosflight::MavROSflight::MavROSflight ( MavlinkComm mavlink_comm,
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.

mavrosflight::MavROSflight::~MavROSflight ( )

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

Definition at line 57 of file mavrosflight.cpp.

Member Data Documentation

MavlinkComm& mavrosflight::MavROSflight::comm

Definition at line 73 of file mavrosflight.h.

uint8_t mavrosflight::MavROSflight::compid_
private

Definition at line 81 of file mavrosflight.h.

ParamManager mavrosflight::MavROSflight::param

Definition at line 74 of file mavrosflight.h.

uint8_t mavrosflight::MavROSflight::sysid_
private

Definition at line 80 of file mavrosflight.h.

TimeManager mavrosflight::MavROSflight::time

Definition at line 75 of file mavrosflight.h.


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


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:14