|
QGroundControl
Ground Control Station for MAVLink Drones
|
Supports the Mavlink image transmission protocol (https://mavlink.io/en/services/image_transmission.html). More...
#include <ImageProtocolManager.h>
Inheritance diagram for ImageProtocolManager:
Collaboration diagram for ImageProtocolManager:Public Slots | |
| void | mavlinkMessageReceived (const mavlink_message_t &message) |
Signals | |
| void | imageReady (const QImage &image) |
| void | flowImageIndexChanged (uint32_t index) |
Public Member Functions | |
| ImageProtocolManager (QObject *parent=nullptr) | |
| ~ImageProtocolManager () | |
| uint32_t | flowImageIndex () const |
| bool | requestImage (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t &message) |
| void | cancelRequest (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t &message) |
Supports the Mavlink image transmission protocol (https://mavlink.io/en/services/image_transmission.html).
Mainly used by optical flow cameras.
Definition at line 13 of file ImageProtocolManager.h.
| ImageProtocolManager::ImageProtocolManager | ( | QObject * | parent = nullptr | ) |
Definition at line 8 of file ImageProtocolManager.cc.
| ImageProtocolManager::~ImageProtocolManager | ( | ) |
Definition at line 14 of file ImageProtocolManager.cc.
| void ImageProtocolManager::cancelRequest | ( | uint8_t | system_id, |
| uint8_t | component_id, | ||
| uint8_t | chan, | ||
| mavlink_message_t & | message | ||
| ) |
Definition at line 37 of file ImageProtocolManager.cc.
|
inline |
Definition at line 21 of file ImageProtocolManager.h.
Referenced by Vehicle::flowImageIndex().
|
signal |
Referenced by mavlinkMessageReceived().
|
signal |
Referenced by mavlinkMessageReceived().
|
slot |
Definition at line 43 of file ImageProtocolManager.cc.
References flowImageIndexChanged(), and imageReady().
| bool ImageProtocolManager::requestImage | ( | uint8_t | system_id, |
| uint8_t | component_id, | ||
| uint8_t | chan, | ||
| mavlink_message_t & | message | ||
| ) |
Definition at line 19 of file ImageProtocolManager.cc.