Skip to content

Commit

Permalink
electrical_protocol: Remove excessive sleeping in calculator example …
Browse files Browse the repository at this point in the history
…(WIP for #5)
  • Loading branch information
cbrxyz committed Dec 27, 2024
1 parent f711ba4 commit 2139161
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from typing import Union

import rclpy
from rclpy.duration import Duration
from std_msgs.msg import Float32, String
from std_srvs.srv import Empty

Expand Down Expand Up @@ -94,7 +93,6 @@ def trigger(self, _: Empty.Request, response: Empty.Response):
self.send_packet(
RequestAddPacket(number_one=self.num_one, number_two=self.num_two),
)
self.get_clock().sleep_for(Duration(seconds=1))
return response

def trigger_two(self, _: Empty.Request, response: Empty.Response):
Expand Down

0 comments on commit 2139161

Please sign in to comment.