File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1313// limitations under the License.
1414
1515#include < chrono>
16+ #include < cstddef>
17+ #include < functional>
1618#include < future>
1719#include < memory>
20+ #include < stdexcept>
1821
1922#include " gtest/gtest.h"
2023
21- #include " rclcpp/rclcpp.hpp"
24+ #include " rcl/allocator.h"
25+ #include " rcl/time.h"
26+ #include " rcl/timer.h"
27+
28+ #include " rclcpp/callback_group.hpp"
29+ #include " rclcpp/clock.hpp"
30+ #include " rclcpp/contexts/default_context.hpp"
31+ #include " rclcpp/executors.hpp"
32+ #include " rclcpp/node.hpp"
33+ #include " rclcpp/waitable.hpp"
2234
2335class WaitableWithTimer : public rclcpp ::Waitable
2436{
@@ -87,6 +99,11 @@ class WaitableWithTimer : public rclcpp::Waitable
8799 execute_promise_.set_value (RCL_RET_OK == ret);
88100 }
89101
102+ void set_on_ready_callback (std::function<void (size_t , int )>) override {}
103+ void clear_on_ready_callback () override {}
104+
105+ std::shared_ptr<void > take_data_by_entity_id (size_t ) override {return nullptr ;}
106+
90107 std::shared_ptr<rcl_timer_t > timer_;
91108 size_t timer_idx_;
92109 std::promise<bool > execute_promise_;
You can’t perform that action at this time.
0 commit comments