#include <mavrosflight.h>
|
| | 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...
|
| |
Definition at line 56 of file mavrosflight.h.
| 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_comm | Reference to a MavlinkComm object (serial or UDP) |
| baud_rate | Serial 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.
| uint8_t mavrosflight::MavROSflight::compid_ |
|
private |
| uint8_t mavrosflight::MavROSflight::sysid_ |
|
private |
The documentation for this class was generated from the following files: