Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Use rclcpp events executor #219

Merged
merged 1 commit into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions bitbots_extrinsic_calibration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ find_package(bitbots_docs REQUIRED)
find_package(tf2 REQUIRED)
find_package(rot_conv REQUIRED)
find_package(backward_ros REQUIRED)
find_package(irobot_events_executor REQUIRED)

include_directories(include)

Expand All @@ -33,7 +32,6 @@ ament_target_dependencies(extrinsic_calibration
tf2_geometry_msgs
tf2_ros
rot_conv
irobot_events_executor
)

enable_bitbots_docs()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <tf2_ros/buffer.h>
#include <tf2/utils.h>
#include <rot_conv/rot_conv.h>
#include <rclcpp/executors/events_executor/events_executor.hpp>
#include <rclcpp/experimental/executors/events_executor/events_executor.hpp>

#include <utility>
using std::placeholders::_1;
Expand Down
1 change: 0 additions & 1 deletion bitbots_extrinsic_calibration/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<depend>tf2_ros</depend>
<depend>rot_conv</depend>
<depend>backward_ros</depend>
<depend>irobot_events_executor</depend>

<export>
<bitbots_documentation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int main(int argc, char **argv) {
rclcpp::TimerBase::SharedPtr timer = rclcpp::create_timer(
node, node->get_clock(), rclcpp::Duration(0, 1e7), [node]() -> void {node->step();});

rclcpp::executors::EventsExecutor exec;
rclcpp::experimental::executors::EventsExecutor exec;
exec.add_node(node);
exec.spin();
rclcpp::shutdown();
Expand Down