Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Major update #9

Merged
merged 21 commits into from
Dec 4, 2018
Prev Previous commit
Next Next commit
clean up
  • Loading branch information
Anas Abou Allaban committed Nov 13, 2018
commit cde64f680294985645a5ffe798ee036154960533
6 changes: 3 additions & 3 deletions src/dialogflow_ros/dialogflow_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ def detect_intent_stream(self):
def start(self):
"""Start the dialogflow client"""
rospy.loginfo("DF_CLIENT: Spinning...")
self.detect_intent_stream()
# rospy.spin()
rospy.spin()

def __del__(self):
"""Close as cleanly as possible"""
Expand All @@ -347,6 +346,7 @@ def __del__(self):


if __name__ == '__main__':
rospy.init_node('dialogflow_client', log_level=rospy.DEBUG)
# rospy.init_node('dialogflow_client', log_level=rospy.DEBUG)
rospy.init_node('dialogflow_client')
df = DialogflowClient()
df.start()