Skip to content

Commit c43e1ec

Browse files
reverted removed files/README updates
1 parent d107248 commit c43e1ec

File tree

8 files changed

+915
-19
lines changed

8 files changed

+915
-19
lines changed

.circleci/config.yml

Lines changed: 518 additions & 0 deletions
Large diffs are not rendered by default.

.circleci/defaults.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
_common: &common
2+
"test-result-base": "test_results"
3+
4+
"clean.packages":
5+
<<: *common
6+
"build":
7+
<<: *common
8+
"executor": "parallel"
9+
"parallel-workers": 2
10+
"symlink-install": true
11+
"test":
12+
<<: *common
13+
"executor": "parallel"
14+
"parallel-workers": 1
15+
"test-result":
16+
<<: *common

.github/ISSUE_TEMPLATE.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!--
2+
For general questions, please ask on ROS answers: https://answers.ros.org, make sure to include at least the `ros2` tag and the rosdistro version you are running, e.g. `ardent`.
3+
For general design discussions, please post on discourse: https://discourse.ros.org/c/ng-ros
4+
Not sure if this is the right repository? Open an issue on https://github.com/ros-planning/navigation2
5+
For Bug report or feature requests, please fill out the relevant category below
6+
-->
7+
8+
## Bug report
9+
10+
**Required Info:**
11+
12+
- Operating System:
13+
- <!-- OS and version (e.g. Windows 10, Ubuntu 16.04...) -->
14+
- ROS2 Version:
15+
- <!-- ROS2 distribution and install method (e.g. Foxy binaries, Dashing source...) -->
16+
- Version or commit hash:
17+
- <!-- from source: output of `git -C navigation2 rev-parse HEAD
18+
apt binaries: output of: dpkg-query --show "ros-$ROS_DISTRO-navigation2"
19+
or: dpkg-query --show "ros-$ROS_DISTRO-nav2-*" -->
20+
- DDS implementation:
21+
- <!-- rmw_implementation used (e.g. Fast-RTPS, RTI Connext, etc.) -->
22+
23+
#### Steps to reproduce issue
24+
<!-- Detailed instructions on how to reliably reproduce this issue http://sscce.org/
25+
``` code that can be copy-pasted is preferred ``` -->
26+
```
27+
28+
```
29+
30+
#### Expected behavior
31+
32+
#### Actual behavior
33+
34+
#### Additional information
35+
36+
<!-- If you are reporting a bug delete everything below
37+
If you are requesting a feature deleted everything above this line -->
38+
----
39+
## Feature request
40+
41+
#### Feature description
42+
<!-- Description in a few sentences what the feature consists of and what problem it will solve -->
43+
44+
#### Implementation considerations
45+
<!-- Relevant information on how the feature could be implemented and pros and cons of the different solutions -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!-- Please fill out the following pull request template for non-trivial changes to help us process your PR faster and more efficiently.-->
2+
3+
---
4+
5+
## Basic Info
6+
7+
| Info | Please fill out this column |
8+
| ------ | ----------- |
9+
| Ticket(s) this addresses | (add tickets here #1) |
10+
| Primary OS tested on | (Ubuntu, MacOS, Windows) |
11+
| Robotic platform tested on | (Steve's Robot, gazebo simulation of Tally, hardware turtlebot) |
12+
13+
---
14+
15+
## Description of contribution in a few bullet points
16+
17+
<!--
18+
* I added this neat new feature
19+
* Also fixed a typo in a parameter name in nav2_costmap_2d
20+
-->
21+
22+
## Description of documentation updates required from your changes
23+
24+
<!--
25+
* Added new parameter, so need to add that to default configs and documentation page
26+
* I added some capabilities, need to document them
27+
-->
28+
29+
---
30+
31+
## Future work that may be required in bullet points
32+
33+
<!--
34+
* I think there might be some optimizations to be made from STL vector
35+
* I see alot of redundancy in this package, we might want to add a function `bool XYZ()` to reduce clutter
36+
* I tested on a differential drive robot, but there might be issues turning near corners on an omnidirectional platform
37+
-->
38+
39+
#### For Maintainers: <!-- DO NOT EDIT OR REMOVE -->
40+
- [ ] Check that any new parameters added are updated in navigation.ros.org
41+
- [ ] Check that any significant change is added to the migration guide
42+
- [ ] Check that any new features **OR** changes to existing behaviors are reflected in the tuning guide
43+
- [ ] Check that any new functions have Doxygen added
44+
- [ ] Check that any new features have test coverage
45+
- [ ] Check that any new plugins is added to the plugins page
46+
- [ ] If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "docker"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
commit-message:
8+
prefix: "🐳"
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
13+
commit-message:
14+
prefix: "🛠️"

.github/mergify.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
pull_request_rules:
2+
- name: backport to humble at reviewers discretion
3+
conditions:
4+
- base=main
5+
- "label=backport-humble"
6+
actions:
7+
backport:
8+
branches:
9+
- humble
10+
11+
- name: backport to galactic at reviewers discretion
12+
conditions:
13+
- base=main
14+
- "label=backport-galactic"
15+
actions:
16+
backport:
17+
branches:
18+
- galactic
19+
20+
- name: backport to foxy at reviewers discretion
21+
conditions:
22+
- base=main
23+
- "label=backport-foxy"
24+
actions:
25+
backport:
26+
branches:
27+
- foxy-devel
28+
29+
- name: delete head branch after merge
30+
conditions:
31+
- merged
32+
actions:
33+
delete_head_branch:
34+
35+
- name: ask to resolve conflict
36+
conditions:
37+
- conflict
38+
- author!=mergify
39+
actions:
40+
comment:
41+
message: This pull request is in conflict. Could you fix it @{{author}}?
42+
43+
- name: development targets main branch
44+
conditions:
45+
- base!=main
46+
- author!=SteveMacenski
47+
- author!=mergify
48+
actions:
49+
comment:
50+
message: |
51+
@{{author}}, all pull requests must be targeted towards the `main` development branch.
52+
Once merged into `main`, it is possible to backport to @{{base}}, but it must be in `main`
53+
to have these changes reflected into new distributions.
54+
55+
- name: Main build failures
56+
conditions:
57+
- base=main
58+
- or:
59+
- "check-failure=ci/circleci: debug_build"
60+
- "check-failure=ci/circleci: release_build"
61+
actions:
62+
comment:
63+
message: |
64+
@{{author}}, your PR has failed to build. Please check CI outputs and resolve issues.
65+
You may need to rebase or pull in `main` due to API changes (or your contribution genuinely fails).
66+
67+
- name: Removed maintainer checklist
68+
conditions:
69+
- "-body~=^.*#### For Maintainers: <!-- DO NOT EDIT OR REMOVE -->.*$"
70+
- author!=SteveMacenski
71+
- author!=mergify
72+
actions:
73+
comment:
74+
message: |
75+
@{{author}}, please properly fill in PR template in the future. @stevemacenski, use this instead.
76+
- [ ] Check that any new parameters added are updated in navigation.ros.org
77+
- [ ] Check that any significant change is added to the migration guide
78+
- [ ] Check that any new features **OR** changes to existing behaviors are reflected in the tuning guide
79+
- [ ] Check that any new functions have Doxygen added
80+
- [ ] Check that any new features have test coverage
81+
- [ ] Check that any new plugins is added to the plugins page
82+
- [ ] If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
name: Update CI Image
3+
4+
on:
5+
schedule:
6+
# 7am UTC, 12am PDT
7+
- cron: '0 7 * * *'
8+
push:
9+
branches:
10+
- main
11+
paths:
12+
- '**/package.xml'
13+
- '**/*.repos'
14+
- 'Dockerfile'
15+
16+
jobs:
17+
check_ci_files:
18+
name: Check CI Files
19+
runs-on: ubuntu-latest
20+
outputs:
21+
trigger: ${{ steps.check.outputs.trigger }}
22+
no_cache: ${{ steps.check.outputs.no_cache }}
23+
steps:
24+
- name: "Check package updates"
25+
id: check
26+
if: github.event_name == 'push'
27+
run: |
28+
echo "::set-output name=trigger::true"
29+
echo "::set-output name=no_cache::false"
30+
check_ci_image:
31+
name: Check CI Image
32+
if: github.event_name == 'schedule'
33+
needs: check_ci_files
34+
runs-on: ubuntu-latest
35+
outputs:
36+
trigger: ${{ steps.check.outputs.trigger }}
37+
no_cache: ${{ steps.check.outputs.no_cache }}
38+
container:
39+
image: ghcr.io/ros-planning/navigation2:main
40+
steps:
41+
- name: "Check apt updates"
42+
id: check
43+
env:
44+
SOURCELIST: sources.list.d/ros2.list
45+
run: |
46+
apt-get update \
47+
-o Dir::Etc::sourcelist="${SOURCELIST}"
48+
apt-get --simulate upgrade \
49+
-o Dir::Etc::sourcelist="${SOURCELIST}" \
50+
> upgrade.log
51+
cat upgrade.log
52+
cat upgrade.log \
53+
| grep "^0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.$" \
54+
&& echo "::set-output name=trigger::false" \
55+
|| echo "::set-output name=trigger::true"
56+
echo "::set-output name=no_cache::true"
57+
rebuild_ci_image:
58+
name: Rebuild CI Image
59+
if: always()
60+
needs:
61+
- check_ci_files
62+
- check_ci_image
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: Set up Docker Buildx
66+
uses: docker/setup-buildx-action@v2
67+
- name: Login to Docker Hub
68+
uses: docker/login-action@v2
69+
with:
70+
registry: ghcr.io
71+
username: ${{ github.repository_owner }}
72+
password: ${{ secrets.GITHUB_TOKEN }}
73+
- name: Set build config
74+
id: config
75+
run: |
76+
timestamp=$(date --utc +%Y%m%d%H%M%S)
77+
echo "::set-output name=timestamp::${timestamp}"
78+
79+
no_cache=false
80+
if [ "${{needs.check_ci_files.outputs.no_cache}}" == 'true' ] || \
81+
[ "${{needs.check_ci_image.outputs.no_cache}}" == 'true' ]
82+
then
83+
no_cache=true
84+
fi
85+
echo "::set-output name=no_cache::${no_cache}"
86+
87+
trigger=false
88+
if [ "${{needs.check_ci_files.outputs.trigger}}" == 'true' ] || \
89+
[ "${{needs.check_ci_image.outputs.trigger}}" == 'true' ]
90+
then
91+
trigger=true
92+
fi
93+
echo "::set-output name=trigger::${trigger}"
94+
- name: Build and push
95+
if: steps.config.outputs.trigger == 'true'
96+
id: docker_build
97+
uses: docker/build-push-action@v3
98+
with:
99+
pull: true
100+
push: true
101+
no-cache: ${{ steps.config.outputs.no_cache }}
102+
cache-from: type=registry,ref=ghcr.io/ros-planning/navigation2:main
103+
cache-to: type=inline
104+
target: builder
105+
tags: |
106+
ghcr.io/ros-planning/navigation2:main
107+
ghcr.io/ros-planning/navigation2:main-${{ steps.config.outputs.timestamp }}
108+
- name: Image digest
109+
if: steps.config.outputs.trigger == 'true'
110+
run: echo ${{ steps.docker_build.outputs.digest }}

0 commit comments

Comments
 (0)