@@ -55,15 +55,15 @@ class ComputeCoveragePathActionTestFixture : public ::testing::Test
55
55
public:
56
56
static void SetUpTestCase ()
57
57
{
58
- node_ = std::make_shared<rclcpp::Node >(" compute_coverage_path_action_test_fixture" );
58
+ node_ = std::make_shared<nav2::LifecycleNode >(" compute_coverage_path_action_test_fixture" );
59
59
factory_ = std::make_shared<BT::BehaviorTreeFactory>();
60
60
61
61
config_ = new BT::NodeConfiguration ();
62
62
63
63
// Create the blackboard that will be shared by all of the nodes in the tree
64
64
config_->blackboard = BT::Blackboard::create ();
65
65
// Put items on the blackboard
66
- config_->blackboard ->set <rclcpp::Node ::SharedPtr>(
66
+ config_->blackboard ->set <nav2::LifecycleNode ::SharedPtr>(
67
67
" node" ,
68
68
node_);
69
69
config_->blackboard ->set <std::chrono::milliseconds>(
@@ -105,13 +105,13 @@ class ComputeCoveragePathActionTestFixture : public ::testing::Test
105
105
static std::shared_ptr<ComputeCompleteCoveragePathActionServer> action_server_;
106
106
107
107
protected:
108
- static rclcpp::Node ::SharedPtr node_;
108
+ static nav2::LifecycleNode ::SharedPtr node_;
109
109
static BT::NodeConfiguration * config_;
110
110
static std::shared_ptr<BT::BehaviorTreeFactory> factory_;
111
111
static std::shared_ptr<BT::Tree> tree_;
112
112
};
113
113
114
- rclcpp::Node ::SharedPtr ComputeCoveragePathActionTestFixture::node_ = nullptr ;
114
+ nav2::LifecycleNode ::SharedPtr ComputeCoveragePathActionTestFixture::node_ = nullptr ;
115
115
std::shared_ptr<ComputeCompleteCoveragePathActionServer>
116
116
ComputeCoveragePathActionTestFixture::action_server_ = nullptr ;
117
117
BT::NodeConfiguration * ComputeCoveragePathActionTestFixture::config_ = nullptr ;
0 commit comments