debug #16
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: URDF transform | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ros:humble-ros-base | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Set up colcon | |
run: | | |
apt update | |
apt install -y ros-humble-xacro | |
- name: Build workspace and generate URDF | |
run: | | |
source /opt/ros/humble/setup.bash | |
colcon build --packages-select kuka_resources kuka_cybertech_support | |
ls -l /__w | |
ls -l /__w/install | |
source /__w/install/setup.bash | |
xacro kuka_robot_descriptions/kuka_robot_descriptions/kuka_cybertech_support/urdf/kr16_r2010_2.urdf.xacro > tmp.urdf | |
shell: bash | |
- name: Upload URDF as artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: urdf-artifact | |
path: tmp.urdf |