Add property for manager hostname
This commit is contained in:
parent
ad4bb45951
commit
f8d769ebc6
2 changed files with 28 additions and 1 deletions
|
|
@ -25,6 +25,9 @@ public:
|
|||
void _ready() override;
|
||||
void _process(double delta) override;
|
||||
|
||||
void set_hostname(const String hostname);
|
||||
String get_hostname() const;
|
||||
|
||||
// Returns the error from put_packet
|
||||
Error send_heartbeat();
|
||||
// Handle MAVLink messages fully contained in data
|
||||
|
|
@ -109,6 +112,7 @@ private:
|
|||
Timer *heartbeat_timer;
|
||||
PacketPeerUDP *socket;
|
||||
|
||||
String manager_hostname;
|
||||
bool manager_connected;
|
||||
Timer *manager_timer;
|
||||
bool model_connected;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue