Skip to content

Commit

Permalink
Single threaded executor
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Dec 18, 2024
1 parent e971732 commit b8a1a5b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import rclpy
from action_msgs.msg import GoalStatus
from example_interfaces.action._fibonacci import Fibonacci_FeedbackMessage
from rclpy.executors import MultiThreadedExecutor
from rclpy.executors import SingleThreadedExecutor
from rclpy.node import Node
from rclpy.qos import DurabilityPolicy, QoSProfile, ReliabilityPolicy
from rosbridge_library.capabilities.action_feedback import ActionFeedback
Expand All @@ -25,12 +25,12 @@
class TestActionCapabilities(unittest.TestCase):
def setUp(self):
rclpy.init()
self.executor = MultiThreadedExecutor()
self.executor = SingleThreadedExecutorThreadedExecutor()
self.node = Node("test_action_capabilities")
self.executor.add_node(self.node)

self.node.declare_parameter("call_services_in_new_thread", False)
self.node.declare_parameter("send_action_goals_in_new_thread", False)
self.node.declare_parameter("send_action_goals_in_new_thread", True)

self.proto = Protocol(self._testMethodName, self.node)
# change the log function so we can verify errors are logged
Expand Down

0 comments on commit b8a1a5b

Please sign in to comment.