-
Notifications
You must be signed in to change notification settings - Fork 17.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AP_Networking: added NET_TEST_IP for test server IP address
and default to same as default for DDS server
- Loading branch information
Showing
5 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include "AP_Networking_Config.h" | ||
|
||
#if AP_NETWORKING_BACKEND_SITL | ||
#include "AP_Networking_Backend.h" | ||
|
||
class AP_Networking_SITL : public AP_Networking_Backend | ||
{ | ||
public: | ||
using AP_Networking_Backend::AP_Networking_Backend; | ||
|
||
/* Do not allow copies */ | ||
CLASS_NO_COPY(AP_Networking_SITL); | ||
|
||
bool init() override { | ||
return true; | ||
} | ||
void update() override {} | ||
}; | ||
|
||
#endif // AP_NETWORKING_BACKEND_SITL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters