Skip to content
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

test google_chat_ros #392

Merged
merged 59 commits into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d4183a0
[google_chat_ros] google chat ros REST client
mqcmd196 Oct 20, 2021
31bd5e0
[google_chat_ros] define new message for recieving message
mqcmd196 Dec 28, 2021
287bd90
[google_chat_ros] support download data
mqcmd196 Jan 13, 2022
00bbf87
[google_chat_ros]fix REST bugs
mqcmd196 Jan 13, 2022
0bfec1f
[google_chat_ros]support dialogflow mode
mqcmd196 Jan 13, 2022
dc0a017
[google_chat_ros]support download avatar
mqcmd196 Jan 13, 2022
78cea55
[google_chat_ros]support dialogflow message publish
mqcmd196 Jan 13, 2022
3befcde
[google_chat_ros]remove unnecessary response
mqcmd196 Jan 13, 2022
3843073
[google_chat_ros]add msg for card event and fix function style
mqcmd196 Jan 14, 2022
430a70e
[google_chat_ros]add gdrive_ros service client
mqcmd196 Jan 18, 2022
c30a371
[google_chat_ros]remove dialogflow https server. instead, subscribe O…
mqcmd196 Jan 19, 2022
8cd11dd
[google_chat_ros]fix launch file for loading param and convert str ->…
mqcmd196 Jan 19, 2022
1e6f649
[google_chat_ros]add dependency
mqcmd196 Jan 20, 2022
59a452e
[google_chat_ros]support upload attachments to gdrive
mqcmd196 Jan 20, 2022
b4a68fb
[google_chat_ros]fix google chat cards not shown correctly bugs
mqcmd196 Jan 21, 2022
3ce7ea8
[google_chat_ros]add use_yaml arg
mqcmd196 Jan 21, 2022
de4ae74
[google_chat_ros] add helper node of google chat ros, especially dial…
mqcmd196 Feb 20, 2022
951b25a
[google_chat_ros] add coding
mqcmd196 Feb 20, 2022
0786958
[google_chat_ros] set user_agent
mqcmd196 Feb 20, 2022
26462f8
[google_chat_ros] fix send message format in helper
mqcmd196 Feb 20, 2022
ed82f99
[google_chat_ros] add pub/sub library
mqcmd196 Apr 25, 2022
d42bee5
[google_chat_ros] update README for current google_chat_ros packege T…
mqcmd196 May 3, 2022
7002c62
[google_chat_ros] support GCP Pub/Sub, drop Python2 support for parsi…
mqcmd196 May 3, 2022
704c08b
[google_chat_ros] remove unnecessary doc, change logging level of Pub…
mqcmd196 May 3, 2022
90c2fb4
[google_chat_ros]README, add figures, fix typo
mqcmd196 May 3, 2022
f234379
[google_chat_ros]remove unnecessary files
mqcmd196 May 3, 2022
89b1178
[google_chat_ros] Drop python2.x support, remove unnecessary msgs
mqcmd196 May 3, 2022
e22cd8e
[google_chat_ros] add rostest for python importing
mqcmd196 May 3, 2022
32d0610
[google_chat_ros]rename rosparam, function names related to dialogflow
mqcmd196 May 17, 2022
a8d88f8
[google_chat_ros] handling shutting down httpd
mqcmd196 May 17, 2022
c68a5d9
[google_chat_ros]fix action names, space name in helper
mqcmd196 May 17, 2022
1694692
[google_chat_ros] fix euslisp function
mqcmd196 May 18, 2022
ce8fbf4
[google_chat_ros] update eus functions
mqcmd196 May 21, 2022
78dc1c7
[google_chat_ros] fix pubsub bug, killnode not defined
mqcmd196 May 21, 2022
e4adc5a
[google_chat_ros] drop dialogflow mode
mqcmd196 Jun 8, 2022
735decc
[google_chat_ros] fix action goal instance
mqcmd196 Jun 8, 2022
f7ff81e
[google_chat_ros]recieving -> receiving
mqcmd196 Jun 8, 2022
83dcf0a
[google_chat_ros] use catkin_virtualenv
mqcmd196 Jun 15, 2022
883ce76
[google_chat_ros] docs:granting pubslish rights to pub/sub topic
mqcmd196 Jun 15, 2022
2e4fe2f
[google_chat_ros]add all requirements, fix pubsub client for handling…
mqcmd196 Jun 15, 2022
c23be90
[dialogflow_task_executive] fix launch args in dialogflow_ros.launch
mqcmd196 Jun 15, 2022
cc898c7
[dialogflow_task_executive] add always publish result param
mqcmd196 Jun 16, 2022
160feb6
[google_chat_ros] missing test name
mqcmd196 Jul 4, 2022
dadfe4f
[dialogflow_task_executive] Enable aarch64
iory Jul 26, 2022
3ee97fb
Merge pull request #2 from iory/google_chat_ros
mqcmd196 Jul 28, 2022
003e347
fix PYTHON_INTERPRETER in catkin_generate_virtualenv with its update
mqcmd196 Aug 2, 2022
aa8c634
[google_chat_ros] fix default rosparams
mqcmd196 Aug 26, 2022
dc72d0c
[google_chat_ros] remove type hint
mqcmd196 Aug 26, 2022
647fdde
[google_chat_ros] resolve conflicts
mqcmd196 Aug 26, 2022
d663ce9
[google_chat_ros] work around test, CHECK_VENV=FALSE, remove unnecess…
mqcmd196 Aug 27, 2022
843e905
[google_chat_ros] work around kinetic, requirements.txt
mqcmd196 Aug 29, 2022
136a37b
[google_chat_ros] not fix pip package version for python3.5
mqcmd196 Aug 31, 2022
9bf05fc
Merge branch 'master' into google_chat_ros
knorth55 Oct 20, 2022
9c5013c
[google_chat_ros] working around click LANG env issue in github actions
mqcmd196 Oct 21, 2022
0e7d552
[google_chat_ros] fix package versions
mqcmd196 Nov 1, 2022
6b2a419
Revert "[google_chat_ros] working around click LANG env issue in gith…
k-okada Nov 2, 2022
dbe9fdd
pass LANG/LC_A to cmake as --make-args
k-okada Nov 8, 2022
091d3c8
kinetic fails with
k-okada Nov 8, 2022
2a6dfc9
google_chat_ros skip arm/kinetic
k-okada Nov 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
ROS_PARALLEL_TEST_JOBS: "-j8"
CATKIN_PARALLEL_JOBS: "-i"
NOT_TEST_INSTALL : true
BEFORE_SCRIPT : "for name in dialogflow_task_executive ros_speech_recognition sesame_ros ffha libsiftfast nlopt julius julius_ros downward assimp_devel; do echo \\$name; find $GITHUB_WORKSPACE -iname \\$name -exec touch {}/CATKIN_IGNORE \\; ; ls -al \\$(find -iname \\$name)/; done" # Skip large packagses / Skip packages that could not build on indigo dialogflow_task_executive/ros_speech_recognition/sesame_ros
BEFORE_SCRIPT : "for name in dialogflow_task_executive ros_speech_recognition sesame_ros ffha libsiftfast nlopt julius julius_ros downward assimp_devel google_chat_ros; do echo \\$name; find $GITHUB_WORKSPACE -iname \\$name -exec touch {}/CATKIN_IGNORE \\; ; ls -al \\$(find -iname \\$name)/; done" # Skip large packagses / Skip packages that could not build on indigo dialogflow_task_executive/ros_speech_recognition/sesame_ros
- ROS_DISTRO: kinetic
CONTAINER: ubuntu:16.04
ROS_PARALLEL_TEST_JOBS: "-j8"
CATKIN_PARALLEL_JOBS: "-i"
EXTRA_DEB : "python-lxml"
BEFORE_SCRIPT : "sudo add-apt-repository -y ppa:jblgf0/python; sudo apt-get update; sudo apt-get install -y python3.6 python3.6-venv libpython3.6-dev; sudo ln -sf python3.6 /usr/bin/python3; ls -al /usr/bin/python3; python3 --version; python3 -v -m venv /tmp/v"
- ROS_DISTRO: melodic
CONTAINER: ubuntu:18.04
ROS_PARALLEL_TEST_JOBS: "-j8"
Expand Down Expand Up @@ -83,7 +84,8 @@ jobs:
- name: Run jsk_travis
uses: jsk-ros-pkg/jsk_travis@master
with:
ROS_PARALLEL_JOBS : ${{ matrix.ROS_PARALLEL_JOBS }}
# darty hack, jsk_travis runs catkin build --make-args $ROS_PARALLEL_JOBS --
ROS_PARALLEL_JOBS : ${{ matrix.ROS_PARALLEL_JOBS }} LANG=C.UTF-8 LC_ALL=C.UTF-8
CATKIN_PARALLEL_JOBS : ${{ matrix.CATKIN_PARALLEL_JOBS }}
ROS_PARALLEL_TEST_JOBS : ${{ matrix.ROS_PARALLEL_TEST_JOBS }}
CATKIN_PARALLEL_TEST_JOBS : ${{ matrix.CATKIN_PARALLEL_TEST_JOBS }}
Expand All @@ -94,6 +96,7 @@ jobs:
BEFORE_SCRIPT : ${{ matrix.BEFORE_SCRIPT }}
EXTRA_DEB : ${{ matrix.EXTRA_DEB }}


kinetic_i386:
runs-on: ubuntu-latest
name: kinetic_i386
Expand All @@ -114,11 +117,13 @@ jobs:
with:
EXTRA_DEB : "python-lxml"
ROS_DISTRO : kinetic
ROS_PARALLEL_JOBS : "LANG=C.UTF-8 LC_ALL=C.UTF-8"
ROS_PARALLEL_TEST_JOBS : "-j8"
CATKIN_PARALLEL_JOBS: "-i"
ROSDEP_ADDITIONAL_OPTIONS : "-n -q -r --ignore-src --skip-keys=python-google-cloud-texttospeech-pip --skip-keys=python-dialogflow-pip" # Skip installation of grpcio by pip because it causes error
# https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/237 : (Note that pip==21.0.1 is incompatible with python 2.x)
BEFORE_SCRIPT : "sudo pip install virtualenv==15.1.0"
BEFORE_SCRIPT : "sudo pip install virtualenv==15.1.0; sudo add-apt-repository -y ppa:jblgf0/python; sudo apt-get update; sudo apt-get install -y python3.6 python3.6-venv libpython3.6-dev; sudo ln -sf python3.6 /usr/bin/python3"


arm:
runs-on: ubuntu-latest
Expand All @@ -137,7 +142,7 @@ jobs:
submodules: 'true'
- name: Skip packagse
run: |
for name in ffha libsiftfast nlopt julius julius_ros downward assimp_devel; do echo $name; find -iname $name -exec touch {}/CATKIN_IGNORE \; ; ls -al $(find -iname $name)/; done
for name in ffha libsiftfast nlopt julius julius_ros downward assimp_devel google_chat_ros; do echo $name; find -iname $name -exec touch {}/CATKIN_IGNORE \; ; ls -al $(find -iname $name)/; done
- uses: uraimo/run-on-arch-action@v2
name: Run commands
with:
Expand All @@ -156,5 +161,6 @@ jobs:
export USE_TRAVIS=true
export USE_DOCKER=false
export NOT_TEST_INSTALL=true
export ROS_PARALLEL_JOBS="--make-args LANG=C.UTF-8 LC_ALL=C.UTF-8"
set +o nounset
source .travis/travis.sh
1 change: 1 addition & 0 deletions google_chat_ros/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
requirements.txt
73 changes: 73 additions & 0 deletions google_chat_ros/CMakeLists.txt
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()
Loading