Skip to content

Commit

Permalink
Change to single thread in code, not just sim
Browse files Browse the repository at this point in the history
  • Loading branch information
brendntdd committed Sep 26, 2024
1 parent 3c0a016 commit 903eec8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion interbotix_ros_xseries/interbotix_xs_sdk/src/xs_sdk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int main(int argc, char ** argv)
bool success = true;
auto node = std::make_shared<interbotix_xs::InterbotixRobotXS>(success);
if (success) {
rclcpp::executors::MultiThreadedExecutor exec;
rclcpp::executors::SingleThreadedExecutor exec;
exec.add_node(node);
exec.spin();
} else {
Expand Down

0 comments on commit 903eec8

Please sign in to comment.