mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-04-20 11:51:16 -05:00
fixed embedded safety timeout on action -riley
This commit is contained in:
@@ -191,6 +191,10 @@ class SerialRelay(Node):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
feedback = BioVacuum.Feedback()
|
||||||
|
start = time.time()
|
||||||
|
|
||||||
|
while True:
|
||||||
# set fan duty cycle
|
# set fan duty cycle
|
||||||
self.anchor_tovic_pub_.publish(
|
self.anchor_tovic_pub_.publish(
|
||||||
VicCAN(
|
VicCAN(
|
||||||
@@ -201,10 +205,6 @@ class SerialRelay(Node):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
feedback = BioVacuum.Feedback()
|
|
||||||
start = time.time()
|
|
||||||
|
|
||||||
while True:
|
|
||||||
elapsed = int((time.time() - start) * 1000)
|
elapsed = int((time.time() - start) * 1000)
|
||||||
remaining = max(0, total - elapsed)
|
remaining = max(0, total - elapsed)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user