@@ -55,15 +55,15 @@ class ComputeCoveragePathActionTestFixture : public ::testing::Test
5555public:
5656 static void SetUpTestCase ()
5757 {
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" );
5959 factory_ = std::make_shared<BT::BehaviorTreeFactory>();
6060
6161 config_ = new BT::NodeConfiguration ();
6262
6363 // Create the blackboard that will be shared by all of the nodes in the tree
6464 config_->blackboard = BT::Blackboard::create ();
6565 // Put items on the blackboard
66- config_->blackboard ->set <rclcpp::Node ::SharedPtr>(
66+ config_->blackboard ->set <nav2::LifecycleNode ::SharedPtr>(
6767 " node" ,
6868 node_);
6969 config_->blackboard ->set <std::chrono::milliseconds>(
@@ -105,13 +105,13 @@ class ComputeCoveragePathActionTestFixture : public ::testing::Test
105105 static std::shared_ptr<ComputeCompleteCoveragePathActionServer> action_server_;
106106
107107protected:
108- static rclcpp::Node ::SharedPtr node_;
108+ static nav2::LifecycleNode ::SharedPtr node_;
109109 static BT::NodeConfiguration * config_;
110110 static std::shared_ptr<BT::BehaviorTreeFactory> factory_;
111111 static std::shared_ptr<BT::Tree> tree_;
112112};
113113
114- rclcpp::Node ::SharedPtr ComputeCoveragePathActionTestFixture::node_ = nullptr ;
114+ nav2::LifecycleNode ::SharedPtr ComputeCoveragePathActionTestFixture::node_ = nullptr ;
115115std::shared_ptr<ComputeCompleteCoveragePathActionServer>
116116ComputeCoveragePathActionTestFixture::action_server_ = nullptr ;
117117BT::NodeConfiguration * ComputeCoveragePathActionTestFixture::config_ = nullptr ;
0 commit comments