Skip to content

Commit

Permalink
Merge pull request #4 from ROBOTIS-GIT/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ROBOTIS-Ashe authored Jun 22, 2021
2 parents 9747d0c + 6a0946b commit ef75b4d
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 1 deletion.
50 changes: 50 additions & 0 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Validate rosdistro
on: [push, pull_request]

jobs:
nosetests:
name: Nosetests
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Fetch upstream (to enable diff)
run: |
git remote add unittest_upstream_comparision https://github.com/ROBOTIS-GIT/turtlebot3_autorace_2020.git || git remote set-url unittest_upstream_comparision https://github.com/ROBOTIS-GIT/turtlebot3_autorace_2020.git
git fetch --no-tags --depth=1 origin $GITHUB_BASE_REF
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install PyYAML argparse
pip install catkin-pkg ros-buildfarm rosdistro nose coverage
pip install unidiff
pip install rosdep
pip install PyGithub
- name: Run Nose Tests
run: nosetests -s
yamllint:
name: Yaml Linting
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install yamllint
- name: Run yamllint
run: yamllint */
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
camera:
extrinsic_camera_calibration:
clip_hist_percent: 1.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
camera:
extrinsic_camera_calibration:
top_x: 72
Expand Down
1 change: 1 addition & 0 deletions turtlebot3_autorace_detect/param/lane/lane.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
detect:
lane:
white:
Expand Down
1 change: 1 addition & 0 deletions turtlebot3_autorace_detect/param/level/level.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
detect:
level:
red:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
detect:
traffic_light:
red:
Expand Down
2 changes: 1 addition & 1 deletion turtlebot3_autorace_driving/maps/tunnel.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
image: tunnel.pgm
resolution: 0.050000
origin: [-10.000000, -10.000000, 0.000000]
negate: 0
occupied_thresh: 0.65
free_thresh: 0.196

0 comments on commit ef75b4d

Please sign in to comment.