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

Add Iron tests #760

Merged
merged 9 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
ROS_REPO: [main, testing]
ROS_DISTRO: [humble, rolling]
ROS_DISTRO: [humble, iron, rolling]
runs-on: ubuntu-latest
env:
AFTER_INIT: ./scripts/ci_after_init.bash ${ROS_DISTRO} ${ROS_REPO}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
ROS_REPO: [main, testing]
ROS_DISTRO: [humble, rolling]
ROS_DISTRO: [humble, iron, rolling]
runs-on: ubuntu-latest
env:
AFTER_INIT: ./scripts/ci_after_init.bash ${ROS_DISTRO} ${ROS_REPO}
Expand Down
4 changes: 4 additions & 0 deletions webots_ros2/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Changelog for package webots_ros2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2023.1.0 (2023-XX-XX)
------------------
* Added support for Navigation2 in Iron.

2023.0.4 (2023-05-23)
------------------
* Drop support for Foxy.
Expand Down
4 changes: 4 additions & 0 deletions webots_ros2_epuck/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Changelog for package webots_ros2_epuck
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2023.1.0 (2023-XX-XX)
------------------
* Added support for Navigation2 in Iron.

2023.0.4 (2023-05-23)
------------------
* Fixed ability to launch RViz without other tools.
Expand Down
5 changes: 1 addition & 4 deletions webots_ros2_epuck/launch/robot_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ def get_ros2_nodes(*args):
)
ros_control_spawners = [diffdrive_controller_spawner, joint_state_broadcaster_spawner]

mappings = [('/diffdrive_controller/cmd_vel_unstamped', '/cmd_vel')]
if 'ROS_DISTRO' in os.environ and os.environ['ROS_DISTRO'] in ['humble', 'rolling']:
mappings.append(('/diffdrive_controller/odom', '/odom'))

mappings = [('/diffdrive_controller/cmd_vel_unstamped', '/cmd_vel'), ('/diffdrive_controller/odom', '/odom')]
epuck_driver = Node(
package='webots_ros2_driver',
executable='driver',
Expand Down
4 changes: 3 additions & 1 deletion webots_ros2_epuck/launch/robot_tools_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def generate_launch_description():
)

# Navigation
nav2_params_file = 'nav2_params_iron.yaml' if ('ROS_DISTRO' in os.environ
and os.environ['ROS_DISTRO'] == 'iron') else 'nav2_params.yaml'
if 'nav2_bringup' in get_packages_with_prefixes():
launch_description_nodes.append(
IncludeLaunchDescription(
Expand All @@ -60,7 +62,7 @@ def generate_launch_description():
launch_arguments=[
('map', map_filename),
('use_sim_time', use_sim_time),
('params_file', os.path.join(package_dir, 'resource', 'nav2_params.yaml'))
('params_file', os.path.join(package_dir, 'resource', nav2_params_file))
],
condition=launch.conditions.IfCondition(use_nav)
)
Expand Down
143 changes: 60 additions & 83 deletions webots_ros2_epuck/resource/all.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -92,28 +92,6 @@ Visualization Manager:
Reliability Policy: Reliable
Value: /odom
Value: true
- Class: rviz_default_plugins/Camera
Enabled: false
Image Rendering: background and overlay
Name: Camera
Overlay Alpha: 0.5
Topic:
Depth: 5
Durability Policy: Volatile
History Policy: Keep Last
Reliability Policy: Reliable
Value: /camera/image_raw
Value: false
Visibility:
Grid: true
LaserScan: true
Map: true
Odometry: true
Path: true
Range: true
TF: true
Value: true
Zoom Factor: 1
- Alpha: 1
Autocompute Intensity Bounds: true
Autocompute Value Bounds:
Expand Down Expand Up @@ -422,82 +400,81 @@ Visualization Manager:
Show Names: false
Tree:
map:
{}
odom:
base_link:
base_footprint:
{}
camera:
{}
laser_scanner:
{}
led0:
{}
led1:
{}
led2:
{}
led3:
{}
led4:
{}
led5:
{}
led6:
{}
led7:
{}
led8:
{}
led9:
{}
left wheel:
{}
pi-puck_894:
cap screw(0)_999:
odom:
base_link:
base_footprint:
{}
camera:
{}
laser_scanner:
{}
cap screw(1)_1034:
led0:
{}
cap screw_964:
led1:
{}
pi-puck led 0:
led2:
{}
pi-puck led 1:
led3:
{}
pi-puck led 2:
led4:
{}
solid_924:
led5:
{}
pipe:
{}
ps0_533:
ps0:
led6:
{}
ps1_542:
ps1:
led7:
{}
ps2_551:
ps2:
led8:
{}
ps3_560:
ps3:
led9:
{}
ps4_569:
ps4:
left wheel:
{}
ps5_578:
ps5:
pi-puck_894:
cap screw(0)_999:
{}
cap screw(1)_1034:
{}
cap screw_964:
{}
pi-puck led 0:
{}
pi-puck led 1:
{}
pi-puck led 2:
{}
solid_924:
{}
pipe:
{}
ps6_587:
ps6:
ps0_533:
ps0:
{}
ps1_542:
ps1:
{}
ps2_551:
ps2:
{}
ps3_560:
ps3:
{}
ps4_569:
ps4:
{}
ps5_578:
ps5:
{}
ps6_587:
ps6:
{}
ps7_596:
ps7:
{}
right wheel:
{}
ps7_596:
ps7:
tof:
{}
right wheel:
{}
tof:
{}
Update Interval: 0
Value: true
- Alpha: 1
Expand Down
Loading