Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, blackboard, dsd, parameters):
self.max_speed = parameters.get("max_speed", 0.4)

# Check if the have a duration
self.duration: Optional[float] = float(parameters.get("duration", None))
self.duration: Optional[float] = float(parameters["duration"]) if "duration" in parameters else None
Comment thread
ayin21 marked this conversation as resolved.
self.start_time = self.blackboard.node.get_clock().now()

def perform(self, reevaluate=False):
Expand Down
Loading