Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build in ROS2 Foxy #3

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
0da23bb
Corrected check to detect collision (#1404) (#1601)
gimait Mar 19, 2020
951a2bb
Script (#1599)
shivaang12 Mar 19, 2020
19e5b41
setStatus(BT::NodeStatus::IDLE) removed (#1602)
facontidavide Mar 20, 2020
efc42bd
Spin recovery (#1605)
gimait Mar 21, 2020
9ab0bf3
making documentation distro agnostic (#1610)
SteveMacenski Mar 25, 2020
042dfdb
Issue 1608 segmentation fault planner server node master (#1612)
crthilakraj Mar 26, 2020
2214a04
BehaviorTree refactoring (#1606)
facontidavide Mar 27, 2020
98faef5
Decide the output of BtServiceNode based on the service-response (#1615)
atb033 Mar 27, 2020
826a4d2
Add server_name parameter to BtActionNode (#1616)
atb033 Mar 29, 2020
db4193f
Added thread synchronization to KinematicParameters (#1459) (#1621)
gimait Apr 2, 2020
e346948
Docs (#1629)
gimait Apr 8, 2020
d653088
Allow reaction to cancellation and preemption on wait recovery plugin…
gimait Apr 15, 2020
b72c11f
Nav2 planner plugin tutorial (#1633)
shivaang12 Apr 16, 2020
83054e6
Minor path fix for gif (#1638)
shivaang12 Apr 16, 2020
5a69a44
Minor improvement on best practice for pluginlib export (#1637)
shivaang12 Apr 16, 2020
6ab8521
Add caps to headers (#1639)
shivaang12 Apr 16, 2020
26d776b
Fix segfault in test_planner_random_node/test_planner_costmaps_node (…
AlexeyMerzlyakov Apr 16, 2020
3205861
Fix trans_stopped_velocity comparison with x & y velocity (#1649)
shrijitsingh99 Apr 23, 2020
b01810b
map_server refactor and cleanup (#1624)
AlexeyMerzlyakov Apr 23, 2020
5fd07b4
Map Server docs update for Foxy (#1650)
AlexeyMerzlyakov Apr 24, 2020
a0279a1
Initialize variabes to avoid errors during build (#1654)
p-vega Apr 25, 2020
bc6a41d
Temporarily remove planner tests (#1656)
SteveMacenski Apr 28, 2020
edf9b9a
Replace deprecated ament_export_interfaces
ruffsl Apr 29, 2020
c1a30a2
Revert edf9b9a380a91aad97cfb843458e004230677b30
ruffsl Apr 29, 2020
0e4a9bb
remove docs from navigation2 repo (#1657)
SteveMacenski Apr 29, 2020
c64ee48
Update hyperlinks in readme for new website docs (#1668)
SteveMacenski Apr 29, 2020
e85802c
Ignore codecov paths in tests (#1671)
SteveMacenski May 2, 2020
ecc42fb
Fix bug in the condition to publish local plan (#1674)
fmrico May 4, 2020
1a4e79f
Fix infinite rotation in Spin recovery when angle > PI (#1670)
naiveHobo May 5, 2020
e7ad135
Add weights to AMCL particle cloud (#1677)
naiveHobo May 5, 2020
b2c1661
Remove dead code from navfn planner (#1682)
SteveMacenski May 5, 2020
6fb43d4
adding wait recovery integration test (#1685)
SteveMacenski May 5, 2020
0af05e3
Add ignoring code cov any files named test_ (#1691)
SteveMacenski May 5, 2020
368b3c1
Replace current cell reference with copy (#1690)
shrijitsingh99 May 5, 2020
07312bb
Fix segfault in test_planner_random_node (#1694)
siddhya May 6, 2020
0c4aea8
Adding more simple action server, nav2_utils, and lifecycle bringup C…
SteveMacenski May 6, 2020
2113b6a
Change publishers to publish unique ptrs (#1673)
Sarath18 May 8, 2020
50b044a
update for BT.cpp master (#1714)
SteveMacenski May 9, 2020
dafcffa
Update CI for ROS2 Foxy (#1684)
ruffsl May 9, 2020
36d73c5
Replace deprecated ament_export_interfaces (#1669)
ruffsl May 10, 2020
7addcb7
Refactor rclcpp::executor::FutureReturnCode deprecation (#1702)
shivaang12 May 10, 2020
536ed1f
Fix cppcheck errors (#1718)
naiveHobo May 11, 2020
433c6ac
[WIP] Checking line coverage in codecov (#1713)
shivaang12 May 12, 2020
879a937
[master] Windows bring-up (#1704)
seanyen May 13, 2020
4996340
Added goal updated condition node (#1712)
gimait May 13, 2020
13633cd
Tf timeout (#1724)
Marwan99 May 13, 2020
3cf9223
Fix system_tests flaky issue (#1723)
AlexeyMerzlyakov May 14, 2020
ee719c9
Fix uninitialized variable warnings and change default value (#1728)
QQting May 14, 2020
2e665e4
Add DistanceController decorator node (#1699)
naiveHobo May 14, 2020
1b7c67f
Add option to inflate unknown space (#1675)
shrijitsingh99 May 14, 2020
4918067
Add BehaviorTree visualization support using Groot (#1725)
Sarath18 May 14, 2020
21e2fec
Add collision checking for footprint without using subscibers. (#1703)
shivaang12 May 14, 2020
f0cf034
Expose distance controller frames to ports (#1741)
naiveHobo May 15, 2020
fc762f6
Add feedback in navigation2 actions (#1736)
naiveHobo May 15, 2020
7040aeb
Switch to nightly tag for release image (#1746)
ruffsl May 18, 2020
4e87ee0
Parameterization of the tf_tol argument for getCurrentPose calls (#1735)
Marwan99 May 18, 2020
55edf58
Revert libgazebo11 workaround for CI (#1750)
ruffsl May 18, 2020
24dcf1c
Resolves ros-planning/navigation2#938 (#1747)
jackpien May 18, 2020
f510bbc
make basic failing test for tf2 wrapper (start of robot utils tests) …
SteveMacenski May 18, 2020
5a35677
Run rosdep update in Dockerfile and CI (#1751)
ruffsl May 18, 2020
f119f30
Don't pass rosdistro when using empty index (#1752)
ruffsl May 19, 2020
2dfa07b
Explicitly set junit_family parameter for nav2_gazebo_spawner tests (…
AlexeyMerzlyakov May 19, 2020
ca33b19
Parameterize frame IDs (#1742)
naiveHobo May 19, 2020
6b79b34
Add the goal to NavFN tolerance region traversing algorithm (#1734)
AlexeyMerzlyakov May 20, 2020
7ee17c3
Re-enable nightly debug builds for codecov (#1760)
ruffsl May 21, 2020
7c0ac74
Wait for initial pose and increase timeouts (#1759)
siddhya May 22, 2020
d7ff68b
removed unused condition (#1769)
Marwan99 May 26, 2020
de0ed9a
Added use of declare_parameter_if_not_declared. (#1765)
tgreier May 27, 2020
41d97c5
a bugfix of clear costmap service action (#1764)
daisukes May 27, 2020
ec7f550
Add condition nodes for time and distance replanning (#1705)
naiveHobo May 27, 2020
09a4878
a patch for #1773 BT navigator nodes with use_sim_time (#1776)
daisukes May 27, 2020
e477873
Replace deprecated launch params (#1778)
naiveHobo May 28, 2020
a9171d0
adding backup tests (#1774)
SteveMacenski May 28, 2020
6843266
declared default_critic_namespaces param (#1785)
Marwan99 May 29, 2020
4708b59
List of parameters in the stack (#1761)
Marwan99 May 29, 2020
13d6629
Fix some parameters not being passed to getCurrentPose (#1790)
ymd-stella Jun 1, 2020
d2bfdf2
Add SLAM Toolbox and map_saver_server into launch-files (#1768)
AlexeyMerzlyakov Jun 2, 2020
fd2955a
BT navigator conversion fix (#1793)
daisukes Jun 4, 2020
d1240c2
Add complete parameter description documentation (#1786)
SteveMacenski Jun 5, 2020
9e304b1
Test for lifecycle manager (#1794)
shivaang12 Jun 5, 2020
caea7fa
Update modified default_bt_xml_filename parameter (#1797)
fmrico Jun 10, 2020
c671076
Merge github.com:ros-planning/navigation2 into nav2_smac_planner
carlosluis Jun 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
85 changes: 4 additions & 81 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ references:
(echo vcs_export && cat) >> checksum.txt
sha256sum $PWD/checksum.txt >> checksum.txt
apt-get update
rosdep update
dependencies=$(
rosdep install -q -y \
--from-paths src \
Expand Down Expand Up @@ -276,37 +277,6 @@ references:
file: lcov/project_coverage.info
flags: project
when: always
setup_doc_dependencies: &setup_doc_dependencies
run:
name: Install Doc Dependencies
command: |
apk --no-cache add python3
python3 -m ensurepip
pip3 install sphinx==1.7.5 docutils==0.14 sphinx_rtd_theme breathe==4.9.1 sphinxcontrib-plantuml
apk --no-cache add make
apk --no-cache add doxygen
apk --no-cache add graphviz
apk --no-cache add ttf-dejavu
apk --no-cache add openjdk8-jre
apk --no-cache add bash git openssh
make_docs: &make_docs
run:
command: |
cd src/navigation2/sphinx_doc
make html
store_docs: &store_docs
store_artifacts:
path: /opt/overlay_ws/src/navigation2/sphinx_doc/_build/html
destination: html
publish_docs: &publish_docs
run:
command: |
cd src/navigation2/sphinx_doc
make publish
install_deployment_key: &install_deployment_key
add_ssh_keys:
fingerprints:
- "0e:8e:90:bf:3d:a9:04:d9:04:b4:62:38:a5:3b:90:7d"

commands:
<<: *common_commands
Expand Down Expand Up @@ -349,19 +319,6 @@ commands:
steps:
- *collect_overlay_coverage
- *upload_overlay_coverage
install_doc_dependencies:
description: "Install documentation dependencies"
steps:
- *setup_doc_dependencies
build_docs:
description: "Build docs"
steps:
- *make_docs
- *store_docs
publish_docs_to_gh_pages_branch:
description: "Commit newly built docs to gh-pages branch"
steps:
- *publish_docs

executors:
debug_exec:
Expand All @@ -382,12 +339,6 @@ executors:
CACHE_NONCE: "Release"
OVERLAY_MIXINS: "release ccache"
UNDERLAY_MIXINS: "release ccache"
docs_exec:
docker:
- image: alpine:latest
working_directory: /opt/overlay_ws
environment:
<<: *common_environment

jobs:
debug_build: &debug_build
Expand Down Expand Up @@ -424,25 +375,6 @@ jobs:
<<: *release_test
environment:
RMW_IMPLEMENTATION: "rmw_fastrtps_cpp"
docs_build:
executor: docs_exec
steps:
- install_doc_dependencies
- *on_checkout
- build_docs
- persist_to_workspace:
root: src/navigation2
paths:
- sphinx_doc
docs_publish:
executor: docs_exec
steps:
- install_doc_dependencies
- *on_checkout
- *install_deployment_key
- attach_workspace:
at: src/navigation2
- publish_docs_to_gh_pages_branch

workflows:
version: 2
Expand All @@ -456,25 +388,16 @@ workflows:
- release_test:
requires:
- release_build
build_and_publish_docs:
jobs:
- docs_build
- docs_publish:
requires:
- docs_build
filters:
branches:
only: master
nightly:
jobs:
- debug_build
- debug_test:
requires:
- debug_build
- release_build
- test_rmw_connext_cpp:
requires:
- release_build
# - test_rmw_connext_cpp:
# requires:
# - release_build
- test_rmw_cyclonedds_cpp:
requires:
- release_build
Expand Down
2 changes: 1 addition & 1 deletion .dockerhub/release/hooks/build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex

export FROM_IMAGE=osrf/ros2:nightly-rmw-nonfree
export FROM_IMAGE=osrf/ros2:nightly
export FAIL_ON_BUILD_FAILURE=""
export UNDERLAY_MIXINS="release ccache"
export OVERLAY_MIXINS="release ccache"
Expand Down
64 changes: 30 additions & 34 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,96 +7,92 @@
# --build-arg UNDERLAY_MIXINS \
# --build-arg OVERLAY_MIXINS ./
ARG FROM_IMAGE=osrf/ros2:nightly
ARG UNDERLAY_WS=/opt/underlay_ws
ARG OVERLAY_WS=/opt/overlay_ws

# multi-stage for caching
FROM $FROM_IMAGE AS cache
FROM $FROM_IMAGE AS cacher

# clone underlay source
ENV UNDERLAY_WS /opt/underlay_ws
RUN mkdir -p $UNDERLAY_WS/src
WORKDIR $UNDERLAY_WS
COPY ./tools/ros2_dependencies.repos ./
RUN vcs import src < ros2_dependencies.repos
ARG UNDERLAY_WS
WORKDIR $UNDERLAY_WS/src
COPY ./tools/ros2_dependencies.repos ../
RUN vcs import ./ < ../ros2_dependencies.repos && \
find ./ -name ".git" | xargs rm -rf

# copy overlay source
ENV OVERLAY_WS /opt/overlay_ws
RUN mkdir -p $OVERLAY_WS/src
WORKDIR $OVERLAY_WS
COPY ./ src/navigation2
ARG OVERLAY_WS
WORKDIR $OVERLAY_WS/src
COPY ./ ./navigation2

# copy manifests for caching
WORKDIR /opt
RUN find ./ -name "package.xml" | \
xargs cp --parents -t /tmp && \
RUN mkdir -p /tmp/opt && \
find ./ -name "package.xml" | \
xargs cp --parents -t /tmp/opt && \
find ./ -name "COLCON_IGNORE" | \
xargs cp --parents -t /tmp
xargs cp --parents -t /tmp/opt || true

# multi-stage for building
FROM $FROM_IMAGE AS build
FROM $FROM_IMAGE AS builder

# install CI dependencies
RUN apt-get update && apt-get install -q -y \
ccache \
lcov \
&& rosdep update \
&& rm -rf /var/lib/apt/lists/*

# copy underlay manifests
ENV UNDERLAY_WS /opt/underlay_ws
COPY --from=cache /tmp/underlay_ws $UNDERLAY_WS
WORKDIR $UNDERLAY_WS

# install underlay dependencies
ARG UNDERLAY_WS
WORKDIR $UNDERLAY_WS
COPY --from=cacher /tmp/$UNDERLAY_WS ./
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
apt-get update && rosdep install -q -y \
--from-paths src \
--ignore-src \
&& rm -rf /var/lib/apt/lists/*

# copy underlay source
COPY --from=cache $UNDERLAY_WS ./

# build underlay source
COPY --from=cacher $UNDERLAY_WS ./
ARG UNDERLAY_MIXINS="release ccache"
ARG FAIL_ON_BUILD_FAILURE=True
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
colcon build \
--symlink-install \
--mixin \
$UNDERLAY_MIXINS \
--mixin $UNDERLAY_MIXINS \
--event-handlers console_direct+ \
|| touch build_failed && \
if [ -f build_failed ] && [ -n "$FAIL_ON_BUILD_FAILURE" ]; then \
exit 1; \
fi

# copy overlay manifests
ENV OVERLAY_WS /opt/overlay_ws
COPY --from=cache /tmp/overlay_ws $OVERLAY_WS
WORKDIR $OVERLAY_WS

# install overlay dependencies
ARG OVERLAY_WS
WORKDIR $OVERLAY_WS
COPY --from=cacher /tmp/$OVERLAY_WS ./
RUN . $UNDERLAY_WS/install/setup.sh && \
apt-get update && rosdep install -q -y \
--from-paths src \
$UNDERLAY_WS/src \
--ignore-src \
&& rm -rf /var/lib/apt/lists/*

# copy overlay source
COPY --from=cache $OVERLAY_WS ./

# build overlay source
COPY --from=cacher $OVERLAY_WS ./
ARG OVERLAY_MIXINS="release ccache"
RUN . $UNDERLAY_WS/install/setup.sh && \
colcon build \
--symlink-install \
--mixin \
$OVERLAY_MIXINS \
--mixin $OVERLAY_MIXINS \
|| touch build_failed && \
if [ -f build_failed ] && [ -n "$FAIL_ON_BUILD_FAILURE" ]; then \
exit 1; \
fi

# source overlay from entrypoint
ENV UNDERLAY_WS $UNDERLAY_WS
ENV OVERLAY_WS $OVERLAY_WS
RUN sed --in-place \
's|^source .*|source "$OVERLAY_WS/install/setup.bash"|' \
/ros_entrypoint.sh
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
[![Build Status](https://img.shields.io/docker/pulls/rosplanning/navigation2.svg?maxAge=2592000)](https://hub.docker.com/r/rosplanning/navigation2) [![Build Status](https://img.shields.io/docker/cloud/build/rosplanning/navigation2.svg?label=docker%20build)](https://hub.docker.com/r/rosplanning/navigation2) [![codecov](https://codecov.io/gh/ros-planning/navigation2/branch/master/graph/badge.svg)](https://codecov.io/gh/ros-planning/navigation2)

For detailed instructions on how to:
- [Getting Started](https://ros-planning.github.io/navigation2/getting_started/index.html)
- [Build](https://ros-planning.github.io/navigation2/build_instructions/index.html#build)
- [Install](https://ros-planning.github.io/navigation2/build_instructions/index.html#install)
- [Tutorials](https://ros-planning.github.io/navigation2/tutorials/index.html)
- [Configure](https://ros-planning.github.io/navigation2/configuration/index.html)
- [Navigation Plugins](https://ros-planning.github.io/navigation2/plugins/index.html)
- [Contribute](https://ros-planning.github.io/navigation2/contribute/index.html)
- [Getting Started](https://navigation.ros.org/getting_started/index.html)
- [Build](https://navigation.ros.org/build_instructions/index.html#build)
- [Install](https://navigation.ros.org/build_instructions/index.html#install)
- [Tutorials](https://navigation.ros.org/tutorials/index.html)
- [Configure](https://navigation.ros.org/configuration/index.html)
- [Navigation Plugins](https://navigation.ros.org/plugins/index.html)
- [Contribute](https://navigation.ros.org/contribute/index.html)

Please visit our [documentation site](https://ros-planning.github.io/navigation2/).
Please visit our [documentation site](https://navigation.ros.org/). [Please visit our community Slack here](https://navigation2.slack.com).

| Service | Dashing | Eloquent | Master |
| :---: | :---: | :---: | :---: |
Expand Down
6 changes: 6 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
fixes:
- "src/navigation2/::"

ignore:
- "*/**/test/*" # ignore package test directories, e.g. nav2_dwb_controller/costmap_queue/tests
- "*/test/**/*" # ignore package test directories, e.g. nav2_costmap_2d/tests
- "**/test_*.*" # ignore files starting with test_ e.g. nav2_map_server/test/test_constants.cpp
- "**/*_tests.*" # ignore files ending with _tests e.g. nav2_voxel_grid/test/voxel_grid_tests.cpp
Loading