File tree 3 files changed +2
-8
lines changed
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>
74
74
// ! Subscriptions vector
75
75
using Subscriptions = std::vector<HandlerInfo>;
76
76
77
- explicit Plugin (UASPtr uas);
78
-
79
77
explicit Plugin (
80
- UASPtr uas, const std::string & subnode ,
78
+ UASPtr uas, const std::string & subnode_name ,
81
79
const rclcpp::NodeOptions & options = rclcpp::NodeOptions());
82
80
83
81
virtual ~Plugin () = default ;
Original file line number Diff line number Diff line change 18
18
19
19
using mavros::plugin::Plugin;
20
20
21
- Plugin::Plugin (UASPtr uas)
22
- : uas_(uas), node(uas_)
23
- {}
24
-
25
21
Plugin::Plugin (
26
22
UASPtr uas, const std::string & subnode_name,
27
23
const rclcpp::NodeOptions & options)
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class MockPlugin : public plugin::Plugin
62
62
using SharedPtr = std::shared_ptr<MockPlugin>;
63
63
64
64
explicit MockPlugin (UAS::SharedPtr uas_)
65
- : Plugin(uas_) {}
65
+ : Plugin(uas_, " mock_plugin " ) {}
66
66
67
67
MOCK_METHOD0 (get_subscriptions, plugin::Plugin::Subscriptions(void ));
68
68
You can’t perform that action at this time.
0 commit comments