File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
include/rclcpp/executors/events_cbg_executor
src/rclcpp/executors/events_cbg_executor Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ class EventsCBGExecutor : public rclcpp::Executor
5252 * \param options common options for all executors
5353 * \param number_of_threads number of threads to have in the thread pool,
5454 * the default 0 will use the number of cpu cores found (minimum of 2)
55- * \param yield_before_execute if true std::this_thread::yield() is called
5655 * \param timeout maximum time to wait
5756 */
5857 RCLCPP_PUBLIC
@@ -246,8 +245,6 @@ class EventsCBGExecutor : public rclcpp::Executor
246245
247246 std::unique_ptr<cbg_executor::CBGScheduler> scheduler;
248247
249- std::thread rcl_polling_thread;
250-
251248 struct CallbackGroupData
252249 {
253250 CallbackGroup::WeakPtr callback_group;
Original file line number Diff line number Diff line change @@ -491,7 +491,8 @@ class TimerQueue
491491
492492class TimerManager
493493{
494- std::array<TimerQueue, 3 > timer_queues;
494+ static constexpr size_t NUM_TYPES_OF_TIMERS = 3 ;
495+ std::array<TimerQueue, NUM_TYPES_OF_TIMERS> timer_queues;
495496
496497public:
497498 explicit TimerManager (const rclcpp::Context::SharedPtr & context)
You can’t perform that action at this time.
0 commit comments