added distance calculation between rebar pieces #37
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
name: Noetic Ubuntu 20.04 | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
env: | |
ROS_CI_DESKTOP: "`lsb_release -cs`" # e.g. [trusty|xenial|...] | |
ROS_DISTRO: noetic | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Non-ROS Dependencies | |
run: | | |
ls -l $GITHUB_WORKSPACE | |
- name: Install ROS | |
run: | | |
sudo sh -c "echo \"deb http://packages.ros.org/ros/ubuntu $ROS_CI_DESKTOP main\" > /etc/apt/sources.list.d/ros-latest.list" | |
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 | |
sudo apt-get update -qq | |
sudo apt-get install dpkg | |
sudo apt-get install -y python3-catkin-pkg | |
sudo apt-get install -y python3-catkin-tools | |
sudo apt-get install -y python3-osrf-pycommon | |
sudo apt-get install -y python3-rosdep | |
sudo apt-get install -y python3-wstool | |
sudo apt-get install -y ros-cmake-modules | |
sudo apt-get install -y ros-$ROS_DISTRO-catkin | |
sudo apt-get install -y ros-$ROS_DISTRO-realsense* | |
sudo apt-get install -y ros-$ROS_DISTRO-pcl-* | |
sudo apt-get install -y ros-$ROS_DISTRO-visualization-msgs | |
source /opt/ros/$ROS_DISTRO/setup.bash | |
- name: Compile ROS Workspace | |
run: | | |
source /opt/ros/$ROS_DISTRO/setup.bash | |
ln -s $GITHUB_WORKSPACE ~/Rebar-segmentation-Ransac | |
ls -a | |
cd ~/Rebar-segmentation-Ransac | |
ls -a | |
catkin_make | |
source devel/setup.bash |