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

Merge master in develop #312

Merged
merged 32 commits into from
Nov 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2665929
Fix webots_ros2_control changelog (#251)
lukicdarkoo Jul 19, 2021
8d72dda
Update package.xml (#252)
lukicdarkoo Jul 19, 2021
b9af1b6
Added new --no-rendering option to webots launcher (#253)
Jul 21, 2021
55a3741
Fix library directory
Timple Jul 22, 2021
4e866a4
Don't use a subdirectory
Timple Jul 22, 2021
dfe630b
Fix warnings (#255)
lukicdarkoo Jul 23, 2021
091357a
Fix Windows build (#258)
lukicdarkoo Jul 30, 2021
9bd50fb
Update README.md (#259)
lukicdarkoo Aug 5, 2021
d59ab1f
Fix the IMU library exportation (#262)
lukicdarkoo Aug 11, 2021
95275b5
Prepare version number for 1.1.1 (#264)
lukicdarkoo Aug 11, 2021
c1a1f5c
Use ros2 node clock for message timestamping (#263)
Aug 11, 2021
b2e7635
Add Python plugin support to `webots_ros2_driver` (#265)
lukicdarkoo Aug 13, 2021
b746298
Fix Rolling warnings and `ament_python_install_package` (#266)
lukicdarkoo Aug 16, 2021
08a061e
Add runtime tests (#268)
lukicdarkoo Aug 18, 2021
e6ae9bd
Increase the version number (#277)
lukicdarkoo Aug 25, 2021
80466ed
Fix URDF importer dependencies (#279)
lukicdarkoo Aug 26, 2021
4422388
Fix uninitialized mWebotsXMLElement (#278)
dzywater Aug 26, 2021
2e0a2b4
Fix 280 (#281)
dzywater Aug 28, 2021
e7766cc
Print tips: robot_state_publisher started or not (#283)
dzywater Aug 30, 2021
60dec55
Revert `robot_state_publisher` check (#285)
lukicdarkoo Aug 31, 2021
8704f3e
Utilize `webots_ros2_driver` in `webots_ros2_mavic` and `webots_ros2_…
lukicdarkoo Aug 31, 2021
1c6daaa
Fix to suit to pep257 convention (#290)
BenjaminHug8 Sep 1, 2021
31cbda3
Creation of system test for TurtleBot SLAM tutorial (#292)
BenjaminHug8 Sep 3, 2021
f5f33a9
fix call we_camera_recognition_disable() on NULL recognition node (#294)
BenjaminHug8 Sep 3, 2021
86d6524
Fix Lidar range (#298)
lukicdarkoo Sep 10, 2021
9225e73
Utilize `webots_ros2_driver` in `webots_ros2_epuck` (#296)
BenjaminHug8 Sep 13, 2021
8bc0f2a
Utilize `webots_ros2_driver` in Universal Robot examples (#286)
lukicdarkoo Sep 16, 2021
4bee7a0
Add --input and --xacro-opts arguments to allow calling xacro2proto f…
yanick-douven Jun 29, 2021
2616ef6
Flake8
Timple Sep 13, 2021
3a91326
Delete unnecessary packages (#301)
lukicdarkoo Oct 1, 2021
fe76bea
Tesla conversion from Core to Driver (#300)
BenjaminHug8 Oct 26, 2021
24a5738
begin merge
BenjaminHug8 Oct 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ jobs:
fail-fast: false
matrix:
ROS_REPO: [main, testing]
ROS_DISTRO: [foxy]
ROS_DISTRO: [foxy, rolling]
runs-on: ubuntu-latest
env:
AFTER_INIT: ./scripts/ci_after_init.bash ${ROS_DISTRO} ${ROS_REPO}
BEFORE_INIT_EMBED: source scripts/ci_before_init_embed.bash
DOCKER_RUN_OPTS: -v /artifacts:/tmp/artifacts
steps:
- uses: actions/checkout@v1
with:
Expand All @@ -20,3 +24,10 @@ jobs:
env:
ROS_REPO: ${{matrix.ROS_REPO}}
ROS_DISTRO: ${{matrix.ROS_DISTRO}}
- name: Upload Artifact
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: generic_artifacts_${{matrix.ROS_REPO}}_${{matrix.ROS_DISTRO}}
path: /artifacts
retention-days: 5
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Webots ROS2 Interface

[![Build Status](https://travis-ci.com/cyberbotics/webots_ros2.svg?branch=master)](https://travis-ci.com/cyberbotics/webots_ros2)
![Test Status](https://github.com/cyberbotics/webots_ros2/actions/workflows/test.yml/badge.svg)
[![license - apache 2.0](https://img.shields.io/:license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Version](https://img.shields.io/github/v/tag/cyberbotics/webots_ros2?label=version)](http://wiki.ros.org/webots_ros2)

Expand Down
14 changes: 14 additions & 0 deletions scripts/ci_after_init.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

ROS_DISTRO=$1
ROS_REPO=$2

apt update
apt install -y wget dialog apt-utils psmisc
wget https://github.com/cyberbotics/webots/releases/download/R${WEBOTS_VERSION}/webots_${WEBOTS_VERSION}_amd64.deb -O /tmp/webots.deb
apt install -y /tmp/webots.deb xvfb

# The following packages are only available in the ROS 2 Foxy distribution. Therefore, we cannot include them in the package.xml, but we have to install them manually here.
if [ "${ROS_DISTRO}" = "foxy" ]; then
apt install -y ros-foxy-turtlebot3-cartographer ros-foxy-turtlebot3-navigation2
fi
7 changes: 7 additions & 0 deletions scripts/ci_before_init_embed.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

export WEBOTS_VERSION=2021b
export WEBOTS_OFFSCREEN=1
export CI=1
export DEBIAN_FRONTEND=noninteractive
export QTWEBENGINE_DISABLE_SANDBOX=1
24 changes: 24 additions & 0 deletions scripts/version_increase.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

# Please run the script from the repository root.


NEW_VERSION=$(echo $1 | grep -E -o "[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}")
if [ -z "${NEW_VERSION}" ]; then
echo "Please run the script with a version number, e.g. './scripts/version_increase.bash 1.1.1'"
exit 1
fi

# Upgrade the version in the Python setup.py files
PYTHON_SETUP_FILES=$(find -maxdepth 2 -name setup.py)
for file in ${PYTHON_SETUP_FILES}; do
echo ${file}
sed -i -E "s/version='[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}'/version='${NEW_VERSION}'/g" ${file}
done

# Upgrade the version in the XML package files
XML_PACKAGE_FILES=$(find -maxdepth 2 -name package.xml)
for file in ${XML_PACKAGE_FILES}; do
echo ${file}
sed -i -E "s/<version>[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}<\/version>/<version>${NEW_VERSION}<\/version>/g" ${file}
done
15 changes: 14 additions & 1 deletion webots_ros2/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,20 @@
Changelog for package webots_ros2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.1 (2020-XX-YY)
1.1.0 (2021-07-19)
------------------
* Included the 'webots_ros2_driver' package as a C++ alternative to the 'webots_ros2_core' package.
* Integrated ros2_control.
* Included a Mavic drone simulation example

1.0.5 (2021-01-08)
------------------
* Improved performance of the camera.
* Replaced tkinter with simple command-line tools.
* Fixed usage on Windows.
* Introduced notion of minimum and target Webots versions.

1.0.1 (2020-09-18)
------------------
* Removed the 'webots_ros2_desktop' package.
* Added missing 'webots_ros2_demos', 'webots_ros2_epuck' and 'webots_ros2_msgs' packages as dependencies.
Expand Down
9 changes: 3 additions & 6 deletions webots_ros2/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,23 @@
<exec_depend>rclpy</exec_depend>
<exec_depend>std_msgs</exec_depend>
<exec_depend>builtin_interfaces</exec_depend>
<exec_depend>webots_ros2_abb</exec_depend>
<exec_depend>webots_ros2_control</exec_depend>
<exec_depend>webots_ros2_core</exec_depend>
<exec_depend>webots_ros2_demos</exec_depend>
<exec_depend>webots_ros2_driver</exec_depend>
<exec_depend>webots_ros2_epuck</exec_depend>
<exec_depend>webots_ros2_examples</exec_depend>
<exec_depend>webots_ros2_importer</exec_depend>
<exec_depend>webots_ros2_mavic</exec_depend>
<exec_depend>webots_ros2_msgs</exec_depend>
<exec_depend>webots_ros2_tesla</exec_depend>
<exec_depend>webots_ros2_tiago</exec_depend>
<exec_depend>webots_ros2_turtlebot</exec_depend>
<exec_depend>webots_ros2_tutorials</exec_depend>
<exec_depend>webots_ros2_universal_robot</exec_depend>

<!-- These test dependencies are optional
Their purpose is to make sure that the code passes the linters -->
<test_depend>ament_copyright</test_depend>
<test_depend>ament_flake8</test_depend>
<test_depend>ament_pep257</test_depend>
<test_depend>python3-pytest</test_depend>
<test_depend>webots_ros2_tests</test_depend>

<export>
<build_type>ament_python</build_type>
Expand Down
4 changes: 2 additions & 2 deletions webots_ros2/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[develop]
script-dir=$base/lib/webots_ros2
script_dir=$base/lib/webots_ros2
[install]
install-scripts=$base/lib/webots_ros2
install_scripts=$base/lib/webots_ros2
11 changes: 0 additions & 11 deletions webots_ros2_abb/CHANGELOG.rst

This file was deleted.

5 changes: 0 additions & 5 deletions webots_ros2_abb/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions webots_ros2_abb/launch/abb_irb4600.launch.py

This file was deleted.

33 changes: 0 additions & 33 deletions webots_ros2_abb/package.xml

This file was deleted.

4 changes: 0 additions & 4 deletions webots_ros2_abb/setup.cfg

This file was deleted.

39 changes: 0 additions & 39 deletions webots_ros2_abb/setup.py

This file was deleted.

25 changes: 0 additions & 25 deletions webots_ros2_abb/test/test_copyright.py

This file was deleted.

25 changes: 0 additions & 25 deletions webots_ros2_abb/test/test_pep257.py

This file was deleted.

9 changes: 0 additions & 9 deletions webots_ros2_abb/worlds/.abb_irb4600.wbproj

This file was deleted.

Loading