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

Cherry-picks development -> stabilization #745

Merged

Conversation

jhanca-robotecai
Copy link
Contributor

What does this PR do?

The development in the o3de-extras repository did not follow the agreement made for o3de, in which all code had been targetting the stabilization branch. Therefore, the vast majority of the fixes and features that were implemented after the split are not available in the stabilization branch. This PR cherry-picks the commits from the development branch.

The list of PRs that were cherry-picked from development to stabilization:

The list of PRs that were NOT cherry-picked from development to stabilization:

I am aware some features were cherry-picked alongside bug fixes, but there is enough time to fix any issues that can be brought up with this PR before the release.

We use #704, #707, #714, #726, and #738 extensively in projects for our clients; we believe this part is well-tested by us.
#720, #733, and #726 are very small changes that should not bring any issues. The only large PR, #734, implements the features for Robot Importer that were recently discussed on Discord and that are valuable for the community, hence worth adding to the scope of this PR. Any problems in this code might result in importing the robot incorrectly (instead of skipping some parts of the import), but should not result in any crash.

How was this PR tested?

A sample project was built and run with no issues; diff between this branch and the development branch was analyzed.

@jhanca-robotecai jhanca-robotecai requested review from a team as code owners August 13, 2024 13:45
@jhanca-robotecai jhanca-robotecai changed the title Jh/cherries from dev Cherry-picks development -> stabilization Aug 13, 2024
nbbrooks and others added 18 commits August 13, 2024 16:03
* Update ROS2 Related prefabs

Signed-off-by: Mateusz Wasilewski <[email protected]>
* Update engine version in ROS2 Gem
* Update ROS2 gem.json links
* Update Proteus, RosRobotSample and WarehouseAutomation o3de version

---------

Signed-off-by: Jan Hanca <[email protected]>
…ervice (o3de#704)

* Added option to spawn entities with WGS84 coords using existing ros service
* Added field to enable/disable support for spawning entities using WGS84

---------

Signed-off-by: Patryk Antosz <[email protected]>
* Modified clock design, added new time source
* Added one clock class with different time sources
* Added ROS 2 time source
* Added options to Registry to choose time source and enable/disable time publishing
* updated documentation

---------

Signed-off-by: Patryk Antosz <[email protected]>
Co-authored-by: Michał Pełka <[email protected]>
Co-authored-by: Steve Pham <[email protected]>
- Add and tested `SensorConfigurationRequestBus`
- Added helper functions to discover ROS 2 Sensors in runtime
- Moved ROS 2 Sensors types to `ROS2SensorTypesIds.h`

Signed-off-by: Michał Pełka <[email protected]>
Signed-off-by: Jan Hanca <[email protected]>
Signed-off-by: Paulina Kubera <[email protected]>
Signed-off-by: Jan Hanca <[email protected]>
directly on XR Swapchain Attachments by adding
XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT usage flag
to the XrSwapchainCreateInfo.

Also, matched Swapchain attachment usage flags
as done by Atom Vulkan library in
/o3de/Gems/Atom/RHI/VulkanCode\Source\RHI\SwapChain.cpp
```cpp
createInfo.imageUsage = VK_IMAGE_USAGE_TRANSFER_DST_BIT |
                        VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT |
			VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT |
                        VK_IMAGE_USAGE_TRANSFER_SRC_BIT;
```

The whole XR Swapchain creation usage flags changed from:
```cpp
swapchainCreateInfo.usageFlags = XR_SWAPCHAIN_USAGE_SAMPLED_BIT |
                                 XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT;
```
to:
```cpp
swapchainCreateInfo.usageFlags = XR_SWAPCHAIN_USAGE_SAMPLED_BIT |
                                 XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT |
                                 XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT |
                                 XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT |
                                 XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR;
```
The changes, in addition to enabling direct MSAA Resolve into the
Swapchain, also enables the usage of Swapchain attachments as inputs of
Vulkan subpasses.

Signed-off-by: galibzon <[email protected]>
Signed-off-by: Paulina Kubera <[email protected]>
Signed-off-by: Jan Hanca <[email protected]>
Signed-off-by: Paulina Kubera <[email protected]>
Co-authored-by: Steve Pham <[email protected]>
* Fix ROSBot prefab: wheelbase and track
* Fix project.json in templates
* Bump RosRobotSample patch version

Signed-off-by: Jan Hanca <[email protected]>
Signed-off-by: Kacper Dąbrowski <[email protected]>
Co-authored-by: Kacper Dąbrowski <[email protected]>
…ints (o3de#734)

Signed-off-by: Paulina Kubera <[email protected]>
Co-authored-by: Jan Hanca <[email protected]>
Co-authored-by: Adam Dabrowski <[email protected]>
@jhanca-robotecai
Copy link
Contributor Author

I had to force-push to fix DCO, it should be fine now.

@byrcolin byrcolin added the sig/platform Categorizes an issue or PR as relevant to SIG Platform. label Aug 13, 2024
Copy link
Contributor

@arturkamieniecki arturkamieniecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on manipulation template. Looks good.

@jhanca-robotecai jhanca-robotecai merged commit 8fe7d4d into o3de:stabilization/2409 Aug 21, 2024
2 checks passed
@jhanca-robotecai jhanca-robotecai deleted the jh/cherries_from_dev branch October 11, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/platform Categorizes an issue or PR as relevant to SIG Platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.