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

Added all the agriculture assets, that are being transferred to this repository. #6

Merged
merged 21 commits into from
Sep 23, 2024

Conversation

Jakub-Krakowiak
Copy link
Contributor

@Jakub-Krakowiak Jakub-Krakowiak commented Sep 9, 2024

depends on #5

Base automatically changed from jk/add_agriculture_decorations_assets_gem to main September 12, 2024 11:33
Copy link
Collaborator

@jhanca-robotecai jhanca-robotecai left a comment

Choose a reason for hiding this comment

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

I removed from this PR the following gems:

I believe RobotecAgricultureMaterialsAssets Gem should be removed as not needed and the content of RobotecAgricultureScriptsAssets should be moved to RobotecAgricultureMachines. Additionally, all fbx files should be checked (I have not done it in my review).

RobotecAgricultureMachinesAssets/gem.json Outdated Show resolved Hide resolved
RobotecAgricultureMachinesAssets/NOTICE Outdated Show resolved Hide resolved
"dependencies": [
"RobotecAgricultureMachinesAssets==1.0.0",
"RobotecAgricultureScriptsAssets==1.0.0",
"ROS2==2.0.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a big issue if we want to switch between 2310.x and 2409

Copy link
Member

Choose a reason for hiding this comment

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

Yep. And it concerns all gems dependent on ROS, created before O3DE 24.X. I see no easy solution to this issue. At some point, we'll just have to migrate everything, braking the compatibility.

RobotecAgricultureMachines/gem.json Outdated Show resolved Hide resolved
RobotecAgricultureMachines/Assets/Tractor/Tractor.prefab Outdated Show resolved Hide resolved
- Moved all content to one gem
- Renamed sprayers
- Renamed tractor prefabs
- Updated license
- Minor fixes

Signed-off-by: Paweł Budziszewski <[email protected]>
@pawelbudziszewski
Copy link
Member

I performed some reorganization and cleaning up:

  • Moved all content to one gem (which depends on ROS)
  • Renamed sprayers (it was impossible to guess the difference between SprayerBackpack and TractorSprayer)
  • Renamed tractor prefabs (added _Ackermann suffix)
  • Updated license (as pointed out in the review)
  • Some minor fixes

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.

I've noticed some issues in this PR.

  • For both of backpack sprayers the root transform is offset from the center (might me intentional)
    Screenshot from 2024-09-18 10-55-55
  • TractorGenericSmall from farming vehicle assets is broken
    Screenshot from 2024-09-18 10-58-24

In addition the structure of files in this PR is weird. RobotecAgricultureMachines is outside of the Gems folder.

@@ -1,2 +1,4 @@
# robotec-agriculture-assets
Repository for all agriculture specific O3DE assets
## Gems
1. [RobotecAgricultureDecorationsAssets](./RobotecAgricultureDecorationsAssets/)
Copy link
Contributor

Choose a reason for hiding this comment

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

RobotecAgricultureDecorationsAssets was removed from this PR but is included in the readme.

Copy link
Member

Choose a reason for hiding this comment

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

Agri decoration assets gem was removed from the current PR to #5. README.md is outdated, but I suggest to update it after merging all gems.

Copy link
Member

Choose a reason for hiding this comment

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

The README should be recreated, based on #1. I've created an issue for this: #10

Copy link
Collaborator

@jhanca-robotecai jhanca-robotecai left a comment

Choose a reason for hiding this comment

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

Only nitpick comments. All assets work in my setup.

Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the difference between BackpackSprayerCanister_BaseColor.png and BackpackSprawyer_BaseColor.png? Do we need both?

Copy link
Member

Choose a reason for hiding this comment

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

These are different textures

@jhanca-robotecai
Copy link
Collaborator

  • TractorGenericSmall from farming vehicle assets is broken

I did not have any problems with this asset.
image

@jhanca-robotecai
Copy link
Collaborator

I did not have any problems with this asset.

Correction. It looks good, but it does not drive with the keyboard due to the incorrect script path!

@jhanca-robotecai
Copy link
Collaborator

Fixed issue: #9

jhanca-robotecai and others added 3 commits September 18, 2024 15:59
Signed-off-by: Paweł Budziszewski <[email protected]>
...to match prefab names

Signed-off-by: Paweł Budziszewski <[email protected]>
@pawelbudziszewski
Copy link
Member

@arturkamieniecki:

I've noticed some issues in this PR.

  • For both of backpack sprayers the root transform is offset from the center (might me intentional)

It is intentional. The origin of both backpacks is in the same place as the origin of the tractor (if the backpack is attached). So if you spawn a tractor and a backpack in the same coordinates, the backpack will be correctly positioned. This is the easiest solution for positioning both assets if placed on the scene side-by-side.

  • TractorGenericSmall from farming vehicle assets is broken

Double-checked, works fine for me. Also @jhanca-robotecai tested it.

In addition the structure of files in this PR is weird. RobotecAgricultureMachines is outside of the Gems folder.

I see no reason why we should have an additional folder Gems in such repos. We don't plan to keep templates or projects in them. Did I miss any O3DE recommendations in this case?

I've checked other repos, and we have some inconsistencies. It seems, that in case of all robotec-* repos gems are placed on the root level, while in rosi-* gems are in Gems folder. Is it reasonable to unify this at this point? @jhanca-robotecai, how do you think?

@jhanca-robotecai
Copy link
Collaborator

I've checked other repos, and we have some inconsistencies. It seems, that in case of all robotec-* repos gems are placed on the root level, while in rosi-* gems are in Gems folder. Is it reasonable to unify this at this point? @jhanca-robotecai, how do you think?

Both are fine for me and this is one of the least important issues. Let's keep it as it is for now and focus on moving more assets to final repos.

Copy link
Collaborator

@jhanca-robotecai jhanca-robotecai left a comment

Choose a reason for hiding this comment

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

Double-checked all prefabs again, everything works as expected.

@jhanca-robotecai jhanca-robotecai merged commit 1dc56b8 into main Sep 23, 2024
@jhanca-robotecai jhanca-robotecai deleted the jk/add_agriculture_vegetation_and_tractor_gems branch September 23, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants