-
Notifications
You must be signed in to change notification settings - Fork 65
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
ROS2 Relative spawning #806
base: development
Are you sure you want to change the base?
Conversation
Signed-off-by: Piotr Jaroszek <[email protected]>
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 is the difference between the reference_frame
(using AZ::Entity
) and the ROS2SpawnPointComponent
introduced earlier? Is there a need to use both? This feature should be implemented following a discussion (maybe RFC?), as there are many problems around the spawner topic.
Named spawn points ( To sum up, these two frames are solving different issues and serves different purposes. |
Why not adding an option to spawn an object using xyz coordinates with a named spawn point used as a reference frame? I still don't get why do we need another tooling for that. The change looks like a quickfix for a particular problem within a particular project.
|
Could you make it compliant with incoming simulation_interfaces? |
That is an alternative way of doing it. However, I would argue if it is more semantically correct. In my opinion, it would be a better idea to guide the spawner where its reference frame really is (as this is a level-only information, like the position of geo frame in a level), rather than passing that in the message. Your suggestion looks like adding an "offset" to spawning point, rather than changing the reference frame. This PR adds a feature that is very useful in any project that uses WGS geo reference origin. |
What does this PR do?
Enables spawning entities in an arbitrary coordinate system.
Similar to spawning in WGS coordinate system, enabling the option and setting "relative" in ROS 2 service "reference_frame" spawns entity relatively to the selected coordinate system.
How was this PR tested?