-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into respeaker
- Loading branch information
Showing
64 changed files
with
2,152 additions
and
19 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
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,4 +1,5 @@ | ||
dialogflow==1.1.1 | ||
google-api-core[grpc]==1.33.0 | ||
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)) |
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 @@ | ||
requirements.txt |
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,73 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(google_chat_ros) | ||
|
||
find_package( | ||
catkin REQUIRED COMPONENTS | ||
catkin_virtualenv REQUIRED | ||
rospy | ||
actionlib_msgs | ||
std_msgs | ||
message_generation | ||
) | ||
|
||
catkin_python_setup() | ||
|
||
add_message_files( | ||
DIRECTORY msg | ||
) | ||
|
||
add_action_files( | ||
FILES | ||
SendMessage.action | ||
) | ||
|
||
generate_messages( | ||
DEPENDENCIES | ||
std_msgs | ||
actionlib_msgs | ||
) | ||
|
||
catkin_package() | ||
|
||
# generate the virtualenv | ||
catkin_generate_virtualenv( | ||
INPUT_REQUIREMENTS requirements.in | ||
PYTHON_INTERPRETER python3 | ||
USE_SYSTEM_PACKAGES FALSE | ||
CHECK_VENV FALSE | ||
) | ||
|
||
# install | ||
# euslisp | ||
file(GLOB EUSLISP_SCRIPTS scripts/*.l) | ||
install(FILES ${EUSLISP_SCRIPTS} | ||
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
|
||
# python | ||
file(GLOB PYTHON_SCRIPTS scripts/*.py) | ||
catkin_install_python( | ||
PROGRAMS ${PYTHON_SCRIPTS} | ||
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
# python requirements | ||
install(FILES requirements.txt | ||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
) | ||
|
||
# launch | ||
install(DIRECTORY launch | ||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
) | ||
|
||
# import test | ||
if(CATKIN_ENABLE_TESTING) | ||
find_package(catkin REQUIRED COMPONENTS catkin_virtualenv rostest) | ||
catkin_install_python( | ||
PROGRAMS test/test_import.py | ||
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
add_rostest(test/import.test | ||
DEPENDENCIES ${PROJECT_NAME}_generate_virtualenv | ||
) | ||
endif() |
Oops, something went wrong.