Skip to content

Commit

Permalink
feat: Added Speak service instead of topic
Browse files Browse the repository at this point in the history
  • Loading branch information
afr2903 committed Apr 10, 2024
1 parent e63b489 commit 14855a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 5 additions & 6 deletions ws/src/frida_hri_interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,20 @@ find_package(catkin REQUIRED COMPONENTS
rospy
actionlib
std_msgs
std_srvs
)

## Generate messages in the 'msg' folder
add_message_files(
FILES
Command.msg
CommandList.msg
)

## Generate services in the 'srv' folder
# add_service_files(
# FILES
# Service1.srv
# Service2.srv
# )
add_service_files(
FILES
Speak.srv
)

## Generate actions in the 'action' folder
add_action_files(
Expand Down
1 change: 1 addition & 0 deletions ws/src/frida_hri_interfaces/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<maintainer email="[email protected]">ros</maintainer>

<license>TODO</license>

<buildtool_depend>catkin</buildtool_depend>
<build_depend>actionlib</build_depend>
<build_depend>rospy</build_depend>
Expand Down
3 changes: 3 additions & 0 deletions ws/src/frida_hri_interfaces/srv/Speak.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
string text
---
bool success

0 comments on commit 14855a3

Please sign in to comment.