From e057007d79b8770fa3d27e69a7eda61c00ace74b Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Sat, 22 May 2021 19:29:45 +0900 Subject: [PATCH 1/6] Add Industrial CI --- .github/workflows/industrialci.yml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/industrialci.yml diff --git a/.github/workflows/industrialci.yml b/.github/workflows/industrialci.yml new file mode 100644 index 0000000..46bab4c --- /dev/null +++ b/.github/workflows/industrialci.yml @@ -0,0 +1,31 @@ +name: industrial_ci + +on: + push: + paths-ignore: + - '**.md' + - '**.jpg' + - '**.pdf' + - '**.png' + pull_request: + paths-ignore: + - '**.md' + - '**.jpg' + - '**.pdf' + - '**.png' + schedule: + - cron: "0 1 * * 2" # Weekly on Tuesdays at 01:00(GMT) + +jobs: + industrial_ci: + continue-on-error: true + strategy: + matrix: + env: + - { ROS_DISTRO: melodic, ROS_REPO: main } + # - { ROS_DISTRO: noetic, ROS_REPO: main } + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: "ros-industrial/industrial_ci@master" + env: ${{ matrix.env }} From b269d0b48d2c266bbb35e44e89aba1edeb9c1d12 Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Sat, 22 May 2021 19:35:09 +0900 Subject: [PATCH 2/6] Add launch test --- .github/workflows/industrialci.yml | 1 - CMakeLists.txt | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/industrialci.yml b/.github/workflows/industrialci.yml index 46bab4c..2196f9b 100644 --- a/.github/workflows/industrialci.yml +++ b/.github/workflows/industrialci.yml @@ -18,7 +18,6 @@ on: jobs: industrial_ci: - continue-on-error: true strategy: matrix: env: diff --git a/CMakeLists.txt b/CMakeLists.txt index b86e0e8..98ed77b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,4 +63,7 @@ target_link_libraries(opencv_camera ${catkin_LIBRARIES} ${OpenCV_LIBRARIES}) add_executable(camera_display src/camera_display) target_link_libraries(camera_display ${catkin_LIBRARIES} ${OpenCV_LIBRARIES}) - +if (CATKIN_ENABLE_TESTING) + find_package(roslaunch REQUIRED) + roslaunch_add_file_check(launch) +endif() From f65043a27aba00a39730d097aaaa773bc83efe72 Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Sat, 22 May 2021 20:41:57 +0900 Subject: [PATCH 3/6] Fix launch file error --- launch/run_benchmark_ompl.launch | 2 +- launch/warehouse.launch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/launch/run_benchmark_ompl.launch b/launch/run_benchmark_ompl.launch index 066ed63..18d2446 100644 --- a/launch/run_benchmark_ompl.launch +++ b/launch/run_benchmark_ompl.launch @@ -1,7 +1,7 @@ - + diff --git a/launch/warehouse.launch b/launch/warehouse.launch index fbae8fb..aff99ab 100644 --- a/launch/warehouse.launch +++ b/launch/warehouse.launch @@ -1,7 +1,7 @@ - + From a60048bf05684781902328ae1f6b66319cac3dd2 Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Sat, 22 May 2021 19:52:40 +0900 Subject: [PATCH 4/6] Add missing package --- package.xml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/package.xml b/package.xml index ac79a27..673489e 100644 --- a/package.xml +++ b/package.xml @@ -13,31 +13,35 @@ catkin - moveit_ros_move_group - moveit_fake_controller_manager - moveit_kinematics - moveit_planners_ompl - moveit_ros_visualization - moveit_setup_assistant - joint_state_publisher - robot_state_publisher - xacro - roscpp rospy std_msgs message_generation + actionlib + moveit_msgs roscpp rospy std_msgs message_runtime - - actionlib - moveit_msgs - actionlib moveit_msgs + moveit_fake_controller_manager + moveit_kinematics + moveit_planners_ompl + moveit_ros_benchmarks + moveit_ros_visualization + moveit_ros_move_group + moveit_ros_warehouse + moveit_setup_assistant + joint_state_publisher + robot_state_publisher + xacro + joy + rviz + warehouse_ros_mongo + gazebo_ros + controller_manager From 7dd845ecf3478c4fb640c9d128e8a2ac1b814d29 Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Sun, 23 May 2021 20:41:48 +0900 Subject: [PATCH 5/6] Fix launch error on Melodic [ERROR] [1621765082.130143]: Could not find the GUI, install the 'joint_state_publisher_gui' package --- package.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/package.xml b/package.xml index 673489e..695304e 100644 --- a/package.xml +++ b/package.xml @@ -35,6 +35,7 @@ moveit_ros_warehouse moveit_setup_assistant joint_state_publisher + joint_state_publisher_gui robot_state_publisher xacro joy From dcf3da3cf4037abb035316be19b340e0bae65bea Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Sun, 23 May 2021 20:42:03 +0900 Subject: [PATCH 6/6] Add missing package for simple_gui related: https://github.com/elephantrobotics/mycobot_ros/commit/c2d87585c5f32cefff1439c7b363acda33947bd3 --- package.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/package.xml b/package.xml index 695304e..200781a 100644 --- a/package.xml +++ b/package.xml @@ -43,6 +43,7 @@ warehouse_ros_mongo gazebo_ros controller_manager + python-tk