forked from jsk-ros-pkg/jsk_3rdparty
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jsk-ros-pkg#343 from mqcmd196/PR/separate_dialogfl…
…ow_task_executive [dialogflow_task_executive]separate dialogflow API client and app execution from dialogflow_task_executive
- Loading branch information
Showing
7 changed files
with
161 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Define the goal | ||
string query | ||
--- | ||
# Define the result | ||
DialogResponse response | ||
string session | ||
bool done | ||
--- | ||
# Define a feedback message | ||
string session | ||
string status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<launch> | ||
<arg name="launch_dialogflow" default="true" /> | ||
<arg name="use_audio" default="false" /> | ||
<arg name="use_tts" default="true" /> | ||
<arg name="language" default="ja-JP" /> | ||
<arg name="soundplay_action_name" default="robotsound_jp" /> | ||
<arg name="volume" default="1.0" /> | ||
|
||
<node name="dialogflow_client" | ||
pkg="dialogflow_task_executive" type="dialogflow_client.py" | ||
output="screen"> | ||
<rosparam subst_value="true"> | ||
use_audio: $(arg use_audio) | ||
use_tts: $(arg use_tts) | ||
language: $(arg language) | ||
soundplay_action_name: $(arg soundplay_action_name) | ||
volume: $(arg volume) | ||
project_id: $(arg project_id) | ||
google_cloud_credentials_json: $(arg credential) | ||
enable_hotword: $(arg enable_hotword) | ||
</rosparam> | ||
<rosparam command="load" ns="/dialogflow_client/hotword" | ||
file="$(find dialogflow_task_executive)/config/dialogflow_hotword.yaml"/> | ||
</node> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package format="1"> | ||
<name>dialogflow_task_executive</name> | ||
<version>2.1.24</version> | ||
<description>A ROS package for Task execution with dialogflow</description> | ||
<description>A ROS package for Google Dialogflow and launching apps via Dialogflow</description> | ||
|
||
<maintainer email="[email protected]">Shingo Kitagawa</maintainer> | ||
<maintainer email="[email protected]">Kei Okada</maintainer> | ||
|
||
<license>BSD</license> | ||
<author email="[email protected]">Yoshiki Obinata</author> | ||
<author email="[email protected]">Shingo Kitagawa</author> | ||
<author email="[email protected]">Yuki Furuta</author> | ||
<url type="website">http://ros.org/wiki/dialogflow_task_executive</url> | ||
<url type="repository">https://github.com/jsk-ros-pkg/jsk_3rdparty</url> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
dialogflow==1.1.1 | ||
|