-
Notifications
You must be signed in to change notification settings - Fork 16
Feature payload spawner #350
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
base: devel
Are you sure you want to change the base?
Conversation
…ake it separable from rack targets
…ner blueprint and surrounding changes
…rade spawner to statically export target/payload coordinates
…sset): rename files to match repo standards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the solution I found for efficiently identifying and separating the TargetPoints that are created for the rack shelves from the ones that are created in front of the racks. In the construction script of the RackUnit.uasset, I changed the TargetPoint to BP_TargetPointGround (in the pic):
For the TargetPoints on the rack shelves:
Alternatively, I think it would be possible to filter by distance from the center of each rack, which could add a lot of extra complexity, or filter by z coordinate, but could also lead to some edge cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this same as BP_PayloadSpawner?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the same, I forgot to remove after renaming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this same as TargetPointGround?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the same, I forgot to remove after renaming
Updates:
|
Sorry to bother, but do we still need this? This PR is open it's been 6 months.. |
Payload Spawner Blueprint
Overview
This feature introduces a new blueprint class, which is responsible for managing payload attached to a mobile rack.
Available features:
The object manages the spawning and removal of payload to simulate more realistic scenarios in the usage of mobile racks.
It determines where to spawn each payload based on the targets the mobile rack creates.
In each of these spots, the PayloadSpawner randomly chooses if it spawns or not a specified payload, (default 0.5, or 50%).
Parameters
The object is invisible, but has the following parameters:
SpawnProbability:
displacement_x:
displacement_y:
displacement_yaw:
use_random_noise:
Random displacement x:
Random displacement y:
Random displacement yaw:
ROS Integration
...
Calling from topic
Calling from service: still not working
Exporting coordinates to external systems:
The PayloadSpawner plugin supports the exporting of
json
file with all the mobile racks target points coordinates, as well as the coordinates of all spawned payload objects.Currently this real-time output is still not supported, and may be a future improvement
Documentation:
Still in progress...
Known issues:
If the coordinates or the dimensions of the mobile rack which the payload is attached change, the payload may not work as expected, requiring recompilation of the Blueprint ( the reason is under analysis)