Skip to content

Commit cb489d1

Browse files
lukicdarkooBruceXSKfmricorenan028Timple
authored
Merge master into foxy (#248)
* Switch from pep8 to pycodestyle (#220) * Update package.xml * Update * Update webots_node.py (#222) * QoS (#225) * Sensor and Reliable QoS Signed-off-by: Francisco Martín Rico <[email protected]> * Implement a plugin system in C++ and integrate `ros2_control` (#221) * create webots launch without controller * add webots_ros2_cpp package with lidar only * add camera device cpp * add gps, imu, joint states * Initi * Improve name * Begin plugin design * Add plugin interface * Add plugin interface * Fix distane sensor plugin compilation * Register plugins * Add lidar * Add robot description * Parametrise lidar * Simplify * Fix step * Add robot tag * Add PointCloud2 * Cache messages * Add FLU fix * Add camera * Fix update rate * Add recognition * Fix timestep * Add gps * Simplify * Add warnings * Fix naming * Fix GPS * Prepare ros control * Fix * Plugin system works with pluginlib * Improve plugin interface * Update * Add ros2_control controller_manager * Fix * Fix * Add joint details * Start controller_manager thread * Add range finder * WIP: Add distance sensor * Add distance sensor * Add assert * Add light sensor * WIP: Add IMU * Fix * Improve * Stamped vel * WIP: Add TurtleBot * Basic TurtleBot integration * Include IMU * Add LED * Integrate ros2_control * Include robot_state_publisher * Add footprint transform * Add clock publisher * Add webots lib * Fix include * Fix deps * Fix * Prevent pluginlib from using boost * Fix * Fix * Change path * Rename * Delete submodule * Fix * Fix description * Mac and Windows * Delete unused * Single threaded executor is faster * Add changelog * Delete package attribute * Update WebotsNode.hpp * Update Driver.cpp * Rename * Update .gitmodules * Add unordered_map * Protected Co-authored-by: Renan Freitas <[email protected]> * Add missing dependency to TurtleBot3 Burger (#228) * Update package.xml * Update package.xml * Update ros2control.yml * Update package.xml * Update webots_ros2_turtlebot/package.xml Co-authored-by: Tim Clephas <[email protected]> Co-authored-by: Tim Clephas <[email protected]> * Link libcontroller correctly at runtime (#235) * Link the libcontroller correctly for runtime * Update * Add controller manager spawner to the TurtleBot launch file (#236) * Add controller spawner * Start spawners * Increase version and add documentation (#238) * Increase version and add documentation * Update webots_ros2_driver/README.md Co-authored-by: Olivier Michel <[email protected]> Co-authored-by: Olivier Michel <[email protected]> * Upgrade to Webots R2021b (#246) * Upgrade to Webots R2021b * Sync * Fix demos * Fix Mavic * Upgrade urdf2webots * Fix webots_ros2_control changelog (#251) * Update CHANGELOG.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update CHANGELOG.rst * Update CHANGELOG.rst Co-authored-by: Bruce <[email protected]> Co-authored-by: Francisco Martín Rico <[email protected]> Co-authored-by: Renan Freitas <[email protected]> Co-authored-by: Tim Clephas <[email protected]> Co-authored-by: Olivier Michel <[email protected]>
1 parent 220e4eb commit cb489d1

File tree

188 files changed

+3585
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+3585
-225
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "webots_ros2_importer/webots_ros2_importer/urdf2webots"]
22
path = webots_ros2_importer/webots_ros2_importer/urdf2webots
33
url = https://github.com/cyberbotics/urdf2webots.git
4+
[submodule "webots_ros2_driver/webots"]
5+
path = webots_ros2_driver/webots
6+
url = https://github.com/cyberbotics/webots-libcontroller.git

webots_ros2/CHANGELOG.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22
Changelog for package webots_ros2
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5-
1.0.1 (2020-XX-YY)
5+
1.1.0 (2021-07-19)
6+
------------------
7+
* Included the 'webots_ros2_driver' package as a C++ alternative to the 'webots_ros2_core' package.
8+
* Integrated ros2_control.
9+
* Included a Mavic drone simulation example
10+
11+
1.0.5 (2021-01-08)
12+
------------------
13+
* Improved performance of the camera.
14+
* Replaced tkinter with simple command-line tools.
15+
* Fixed usage on Windows.
16+
* Introduced notion of minimum and target Webots versions.
17+
18+
1.0.1 (2020-09-18)
619
------------------
720
* Removed the 'webots_ros2_desktop' package.
821
* Added missing 'webots_ros2_demos', 'webots_ros2_epuck' and 'webots_ros2_msgs' packages as dependencies.

webots_ros2/package.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
3-
<package format="2">
3+
<package format="3">
44
<name>webots_ros2</name>
5-
<version>1.0.6</version>
5+
<version>1.1.0</version>
66
<description>Interface between Webots and ROS2</description>
77

88
<maintainer email="[email protected]">Cyberbotics</maintainer>
@@ -20,6 +20,7 @@
2020
<exec_depend>webots_ros2_epuck</exec_depend>
2121
<exec_depend>webots_ros2_examples</exec_depend>
2222
<exec_depend>webots_ros2_importer</exec_depend>
23+
<exec_depend>webots_ros2_mavic</exec_depend>
2324
<exec_depend>webots_ros2_msgs</exec_depend>
2425
<exec_depend>webots_ros2_tesla</exec_depend>
2526
<exec_depend>webots_ros2_tiago</exec_depend>

webots_ros2/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name=package_name,
9-
version='1.0.6',
9+
version='1.1.0',
1010
packages=[package_name],
1111
data_files=[
1212
('share/' + package_name, ['package.xml']),

webots_ros2_abb/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="2">
44
<name>webots_ros2_abb</name>
5-
<version>1.0.6</version>
5+
<version>1.1.0</version>
66
<description>ABB robots ROS2 interface for Webots.</description>
77

88
<maintainer email="[email protected]">Cyberbotics</maintainer>

webots_ros2_abb/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name=package_name,
17-
version='1.0.6',
17+
version='1.1.0',
1818
packages=[],
1919
data_files=data_files,
2020
install_requires=['setuptools', 'launch'],

webots_ros2_abb/worlds/.abb_irb4600.wbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Webots Project File version R2020b
1+
Webots Project File version R2021b
22
perspectives: 000000ff00000000fd00000003000000000000000000000000fc0100000001fb0000001a0044006f00630075006d0065006e0074006100740069006f006e0000000000000000140000006900ffffff000000010000011c00000356fc0200000001fb0000001400540065007800740045006400690074006f00720000000016000003560000003f00ffffff000000030000073d0000007dfc0100000001fb0000000e0043006f006e0073006f006c006501000000000000073d0000006900ffffff0000073d0000035600000001000000020000000100000008fc00000000
33
simulationViewPerspectives: 000000ff0000000100000002000001000000051f0100000002010000000100
44
sceneTreePerspectives: 000000ff0000000100000002000000c0000000fa0100000002010000000200

webots_ros2_abb/worlds/abb_irb4600.wbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#VRML_SIM R2020b utf8
1+
#VRML_SIM R2021b utf8
22
WorldInfo {
33
info [
44
"ABB IRB4600 Robot simulation."

webots_ros2_control/CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2+
Changelog for package webots_ros2_control
3+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
5+
1.1.0 (2021-07-19)
6+
------------------
7+
* Initial version

webots_ros2_control/CMakeLists.txt

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
cmake_minimum_required(VERSION 3.5)
2+
project(webots_ros2_control)
3+
4+
# Default to C99
5+
if(NOT CMAKE_C_STANDARD)
6+
set(CMAKE_C_STANDARD 99)
7+
endif()
8+
9+
# Default to C++14
10+
if(NOT CMAKE_CXX_STANDARD)
11+
set(CMAKE_CXX_STANDARD 14)
12+
endif()
13+
14+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
15+
add_compile_options(-Wall -Wextra -Wpedantic)
16+
endif()
17+
18+
# Dependencies
19+
find_package(ament_cmake REQUIRED)
20+
find_package(hardware_interface REQUIRED)
21+
find_package(controller_manager REQUIRED)
22+
find_package(pluginlib REQUIRED)
23+
find_package(rclcpp REQUIRED)
24+
find_package(webots_ros2_driver REQUIRED)
25+
26+
list(GET webots_ros2_driver_INCLUDE_DIRS 0 webots_ros2_driver_INCLUDE)
27+
include_directories(
28+
${webots_ros2_driver_INCLUDE}/webots/cpp
29+
)
30+
31+
# webots_ros2 Plugin
32+
add_library(
33+
${PROJECT_NAME}
34+
SHARED
35+
src/Ros2Control.cpp
36+
)
37+
target_include_directories(
38+
${PROJECT_NAME}
39+
PRIVATE
40+
include
41+
)
42+
ament_target_dependencies(
43+
${PROJECT_NAME}
44+
hardware_interface
45+
controller_manager
46+
pluginlib
47+
rclcpp
48+
webots_ros2_driver
49+
)
50+
51+
# Prevent pluginlib from using boost
52+
target_compile_definitions(${PROJECT_NAME} PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")
53+
pluginlib_export_plugin_description_file(webots_ros2_driver webots_ros2_control.xml)
54+
55+
# ros2_control System
56+
add_library(
57+
${PROJECT_NAME}_system
58+
SHARED
59+
src/Ros2ControlSystem.cpp
60+
)
61+
target_include_directories(
62+
${PROJECT_NAME}_system
63+
PRIVATE
64+
include
65+
)
66+
ament_target_dependencies(
67+
${PROJECT_NAME}_system
68+
hardware_interface
69+
pluginlib
70+
rclcpp
71+
webots_ros2_driver
72+
)
73+
74+
# Prevent pluginlib from using boost
75+
target_compile_definitions(${PROJECT_NAME}_system PUBLIC "PLUGINLIB__DISABLE_BOOST_FUNCTIONS")
76+
pluginlib_export_plugin_description_file(${PROJECT_NAME} webots_ros2_control_system.xml)
77+
78+
# Common
79+
install(TARGETS
80+
${PROJECT_NAME}
81+
${PROJECT_NAME}_system
82+
ARCHIVE DESTINATION lib
83+
LIBRARY DESTINATION lib
84+
RUNTIME DESTINATION bin
85+
)
86+
ament_export_include_directories(
87+
include
88+
)
89+
90+
if(BUILD_TESTING)
91+
find_package(ament_cmake_gtest REQUIRED)
92+
endif()
93+
94+
ament_export_dependencies(
95+
hardware_interface
96+
pluginlib
97+
rclcpp
98+
)
99+
ament_export_libraries(
100+
${PROJECT_NAME}
101+
${PROJECT_NAME}_system
102+
)
103+
104+
ament_package()

0 commit comments

Comments
 (0)