Skip to content

Commit 9b27c44

Browse files
committed
Clean up Emotion Detection Node
1 parent cab2ea9 commit 9b27c44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ros/angel_system_nodes/angel_system_nodes/audio/emotion/base_emotion_detector.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self):
5353
self.emotion_detection_callback,
5454
1,
5555
)
56-
self._emo_publisher = self.create_publisher(
56+
self._publication = self.create_publisher(
5757
DialogueUtterance, self._out_topic, 1
5858
)
5959

@@ -94,7 +94,7 @@ def get_inference(self, msg: DialogueUtterance):
9494
"""
9595
return self._get_vader_sentiment_analysis(msg.utterance_text)
9696

97-
def emotion_detection_callback(self, msg):
97+
def emotion_detection_callback(self, msg: DialogueUtterance):
9898
"""
9999
This is the main ROS node listener callback loop that will process
100100
all messages received via subscribed topics.

0 commit comments

Comments
 (0)