Flyby SDK v0.3.0
|
The main interface between the payload, drone, and drone controller. More...
#include <drone.h>
Public Member Functions | |
Drone ()=default | |
The default constructor. | |
virtual void | start_server ()=0 |
Starts the server for the registered payload. | |
virtual void | register_payload (std::shared_ptr< PayloadInterface > payload)=0 |
Registers the payload with the drone. | |
The main interface between the payload, drone, and drone controller.
This class is hides the details for payload registration and controller communication.
|
pure virtual |
Registers the payload with the drone.
This function emits a new payload registered status to the controller.
payload | - A shared_ptr that holds the payload object. |
|
pure virtual |
Starts the server for the registered payload.
This function emits a new payload live status to the controller.