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

Add frame and wgs support to pose control #88

Merged
merged 4 commits into from
Nov 28, 2024

Conversation

arturkamieniecki
Copy link
Contributor

I've added support for pose-stamped messages in ROS2PoseControl. In addition, I've added support for WGS84 coordinate system.

These changes resolve ##22.
These changes are based on the discussion present in #35.

I'm opening a new branch as the other one is quite old and this one contains a small refactor.

The pose control now queries the TF tree looking for a valid transform between a frame contained in the pose-stamped message and the global frame in o3de. It applies the pose from the pose-stamped to the found transform and moves the object in the scene. An empty frame will interpret the pose as O3DE world coordinates.

The WGS84 support works when the frame id in the message is wgs84 and the geopositioning component is present in the level.

Signed-off-by: Artur Kamieniecki <[email protected]>
Signed-off-by: Artur Kamieniecki <[email protected]>
@michalpelka michalpelka merged commit a100b8d into main Nov 28, 2024
1 check passed
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.

2 participants