-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dialogue Manager #9
base: master
Are you sure you want to change the base?
Conversation
<version>0.1.2</version> | ||
<description > | ||
|
||
Interface to use CoRDial with Ivona Text-To-Speech |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this for the skeleton tracking or sound detection?
|
||
class BehaviorManager(): | ||
|
||
def __init__(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this handle having multiple robots, or is there one behavior manager per robot?
start_time = rospy.Time.now() | ||
for index, behav in enumerate(ordered_timing_word_behaviors[:-1]): | ||
if behav["type"] != "word": | ||
while rospy.Time.now()-start_time < rospy.Duration.from_sec(behav["start"]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait does this block the sending of facial expressions in handle_behavior?
INTERACTION_MESSAGE = '' | ||
INTERACTION_CONTINUE = True | ||
|
||
class LongBehaviorServer(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might have to ask about long behaviors--my intuition is that it is things like tracking or logging or something, is that right?
|
||
</description> | ||
<author>Elaine Short</author> | ||
<maintainer email="prmehta24@gmail.com">Micol Spitale</maintainer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might want to change the email
cordial_dialogue/scripts/dialogue.py
Outdated
from audio_common_msgs.msg import AudioData | ||
from cordial_manager.msg import * | ||
|
||
PROMPT_MESSAGE = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe not necessarily for this one, but we might want globals on rosparam server so other scripts can see them, or have them as part of the dialogue server
@@ -0,0 +1,14 @@ | |||
#!/usr/bin/env python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I think it would be nice to separate out the QT-specific scripts from the general purpose ones
killall http-server | ||
|
||
source /opt/ros/kinetic/setup.bash | ||
source /home/qtrobot/catkin_ws/devel/setup.bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might be able to be made more general with some kind of environment variables
cordial_tts/scripts/tts.py
Outdated
global SYNTHESIZE_DONE | ||
print("The TTS message received is:" + data) | ||
#outdir = os.path.dirname(os.path.abspath("home | ||
outdir = "/home/qtrobot/catkin_ws/src/cordial-public/cordial_dialogue/scripts/data" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might want to use some env variable to store the temporary files
…o the interaction manager
…scripts data and also the single user audio file during the interaction. Removed any references to the lex node
f46a46f
to
a0b4563
Compare
…e interaction block.
…name of the stored files.
…osbag data collected. Updated cordial facial expressions.
…Update the decision managaer interaction blocks.
…te the folder for storing data.
Restructuring of code to be more easily understood and added conversation integration with Amazon Lex.
A diagram to better understand all the restructuring changes can be found here:
https://www.notion.so/Interface-0ea622e7cd2f41d290763495db1f0a2b