Skip to content

Commit

Permalink
(fix) Fixes minot typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mkabtoul committed Nov 18, 2024
1 parent b774ad4 commit 7dc616a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kompass/kompass/components/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,13 @@ def get_transform_listener(self, src_frame: str, goal_frame: str) -> TFListener:
def callbacks_inputs_check(
self,
inputs_to_check: Optional[List[str]] = None,
inputs_to_execlude: Optional[List[str]] = None,
inputs_to_exclude: Optional[List[str]] = None,
) -> bool:
"""
Check that all node inputs are provided before executing callback
"""
input_wait_time: float = 0.0
while not self.got_all_inputs(inputs_to_check, inputs_to_execlude):
while not self.got_all_inputs(inputs_to_check, inputs_to_exclude):
unavailable_topics = self.get_missing_inputs()
self.get_logger().warn(
f"{self.node_name} inputs: '{unavailable_topics}' are not available. Waiting for maximum of {self.config.topic_subscription_timeout}seconds...",
Expand Down
6 changes: 3 additions & 3 deletions kompass/kompass/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Monitor(BaseMonitor):

def __init__(
self,
componenets_names: List[str],
components_names: List[str],
enable_health_status_monitoring: bool = True,
events: Optional[List[Event]] = None,
actions: Optional[Dict[str, Action]] = None,
Expand All @@ -44,7 +44,7 @@ def __init__(
**kwargs,
):
super().__init__(
componenets_names=componenets_names,
components_names=components_names,
enable_health_status_monitoring=enable_health_status_monitoring,
events=events,
actions=actions,
Expand Down Expand Up @@ -81,7 +81,7 @@ def init_variables(self):
# """
# create all subscribers

# Currently the node subcribes to three messages:
# Currently the node subscribes to three messages:
# 1) velocity command
# 2) odometry / position message
# 3) path message
Expand Down

0 comments on commit 7dc616a

Please sign in to comment.