Skip to content

Commit

Permalink
[dialogflow_task_executive] merge dialogflow_intent_client package in…
Browse files Browse the repository at this point in the history
…to dialogflow_task_executive
  • Loading branch information
mqcmd196 committed Nov 14, 2023
1 parent d03ed03 commit b574005
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 81 deletions.
46 changes: 0 additions & 46 deletions dialogflow_intent_client/CMakeLists.txt

This file was deleted.

5 changes: 0 additions & 5 deletions dialogflow_intent_client/action/RegisterIntent.action

This file was deleted.

23 changes: 0 additions & 23 deletions dialogflow_intent_client/package.xml

This file was deleted.

2 changes: 0 additions & 2 deletions dialogflow_intent_client/requirements.txt

This file was deleted.

4 changes: 4 additions & 0 deletions dialogflow_task_executive/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,19 @@ find_package(catkin REQUIRED COMPONENTS
add_message_files(
FILES
DialogResponse.msg
IntentInfo.msg
)

add_action_files(
FILES
DialogText.action
RegisterIntent.action
ListIntent.action
)

generate_messages(
DEPENDENCIES
std_msgs
actionlib_msgs
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
std_msgs/Empty request
---
dialogflow_intent_client/IntentInfo[] intents
dialogflow_task_executive/IntentInfo[] intents
bool done
---
string status
5 changes: 5 additions & 0 deletions dialogflow_task_executive/action/RegisterIntent.action
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dialogflow_task_executive/IntentInfo intent
---
bool done
---
string status
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<launch>
<arg name="credential" />
<node name="dialogflow_intent_client"
pkg="dialogflow_intent_client" type="dialogflow_intent_node.py"
pkg="dialogflow_task_executive" type="dialogflow_intent_node.py"
output="screen">
<rosparam subst_value="true">
google_cloud_credentials_json: $(arg credential)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env python

import actionlib
from dialogflow_intent_client.msg import RegisterIntentAction, RegisterIntentGoal, RegisterIntentResult, RegisterIntentFeedback
from dialogflow_intent_client.msg import ListIntentAction, ListIntentGoal, ListIntentResult, ListIntentFeedback
from dialogflow_intent_client.msg import IntentInfo
from dialogflow_task_executive.msg import RegisterIntentAction, RegisterIntentGoal, RegisterIntentResult, RegisterIntentFeedback
from dialogflow_task_executive.msg import ListIntentAction, ListIntentGoal, ListIntentResult, ListIntentFeedback
from dialogflow_task_executive.msg import IntentInfo
import google.cloud.dialogflow as df
from google.oauth2.service_account import Credentials
import rospy
Expand Down
2 changes: 2 additions & 0 deletions dialogflow_task_executive/requirements.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
dialogflow==1.1.1
google-auth==2.9.0
google-cloud-dialogflow==2.14.1
2 changes: 2 additions & 0 deletions dialogflow_task_executive/requirements.in.noetic
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ grpcio-status==1.48.1
googleapis-common-protos[grpc]==1.56.2
protobuf==3.20.1 # fix Could not find a version that matches protobuf<4.0.0dev,<5.0.0dev,>=3.15.0,>=3.20.1,>=4.21.3 (from google-api-core[grpc]==1.33.1->dialogflow==1.1.1->-r requirements.in (line 1))
grpcio==1.54.0 # via google-api-core, googleapis-common-protos, grpcio-status
google-auth==2.9.0
google-cloud-dialogflow==2.14.1
Empty file modified ros_google_cloud_language/test/test_rospy_node.py
100755 → 100644
Empty file.

0 comments on commit b574005

Please sign in to comment.