mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-09 09:50:34 +08:00
microdds_client: fix -l flag and add -c for custom participant configuration
Allows to use a custom FastDDS configuration on the Agent side.
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
};
|
||||
|
||||
MicroddsClient(Transport transport, const char *device, int baudrate, const char *host, const char *port,
|
||||
bool localhost_only, const char *client_namespace);
|
||||
bool localhost_only, bool custom_participant, const char *client_namespace);
|
||||
|
||||
~MicroddsClient();
|
||||
|
||||
@@ -75,6 +75,7 @@ private:
|
||||
int setBaudrate(int fd, unsigned baud);
|
||||
|
||||
const bool _localhost_only;
|
||||
const bool _custom_participant;
|
||||
const char *_client_namespace;
|
||||
|
||||
SendTopicsSubs *_subs{nullptr};
|
||||
|
||||
Reference in New Issue
Block a user