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

Enhancement Add PROTOSpawner #819

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from
Draft

Conversation

ygoumaz
Copy link
Contributor

@ygoumaz ygoumaz commented Jul 7, 2023

Resolves #818.

  • Remove spawn_urdf_robot service and its callback.
  • Remove URDFSpawner node.
  • Remove webots_ros2_importer module.
  • Refactor spawn_node_from_string callback to spawn_proto_robot callback (drafted in this PR):
    • The node string is now in request.robot.robot_string.
    • URLs of PROTOs are in request.robot.proto_paths and must be added to IMPORTABLE EXTERNPROTO (Add new elements to IMPORTABLE list from Supervisor API webots#6316).
    • Local PROTO URLs must be converted in function of the platform (WSL, macOS, Linux).
    • Local assets (textures, etc.) URLs contained in the node string should also be converted.
    • On macOS, local assets should be copied to the shared folder.
  • Add PROTOSpawner node (drafted in this PR).
  • Update webots_ros2_universal_robot to spawn UR5e from PROTO.
  • Official ROS 2 documentation:
    • Update Ros2Supervisor tutorial to the new service architecture.
    • Create new tutorial on how to spawn a PROTO using the launch file and the PROTOSpawner or directly via the service.

@ygoumaz ygoumaz added the enhancement New feature or request label Jul 7, 2023
@ygoumaz ygoumaz added this to the 2024.0.0 milestone Jul 7, 2023
@ygoumaz ygoumaz self-assigned this Jul 7, 2023
@ygoumaz ygoumaz linked an issue Jul 21, 2023 that may be closed by this pull request
@ygoumaz ygoumaz removed their assignment Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

New PROTOSpawner Feature
2 participants