File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,8 @@ class Plugin : public std::enable_shared_from_this<Plugin>
7474 // ! Subscriptions vector
7575 using Subscriptions = std::vector<HandlerInfo>;
7676
77- explicit Plugin (UASPtr uas);
78-
7977 explicit Plugin (
80- UASPtr uas, const std::string & subnode ,
78+ UASPtr uas, const std::string & subnode_name ,
8179 const rclcpp::NodeOptions & options = rclcpp::NodeOptions());
8280
8381 virtual ~Plugin () = default ;
Original file line number Diff line number Diff line change 1818
1919using mavros::plugin::Plugin;
2020
21- Plugin::Plugin (UASPtr uas)
22- : uas_(uas), node(uas_)
23- {}
24-
2521Plugin::Plugin (
2622 UASPtr uas, const std::string & subnode_name,
2723 const rclcpp::NodeOptions & options)
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class MockPlugin : public plugin::Plugin
6262 using SharedPtr = std::shared_ptr<MockPlugin>;
6363
6464 explicit MockPlugin (UAS::SharedPtr uas_)
65- : Plugin(uas_) {}
65+ : Plugin(uas_, " mock_plugin " ) {}
6666
6767 MOCK_METHOD0 (get_subscriptions, plugin::Plugin::Subscriptions(void ));
6868
You can’t perform that action at this time.
0 commit comments