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

Manipulation Components redesign & refactor #366

Merged
merged 16 commits into from
Jul 4, 2023

Conversation

adamdbrw
Copy link
Contributor

@adamdbrw adamdbrw commented Jun 21, 2023

Improvements to components for manipulating chains of joints and articulation links, such as in manipulator arms.
This is a substantial rework that changes how the Components depend on each other and what they do.
It also adds features such as reporting feedback to action user.
Adds error handling.
Fixes some errors or undefined situations.
Exposes interfaces allowing users to create develop their own components and controllers more easily.

The code has been tested to run by @michalpelka .

@adamdbrw adamdbrw requested review from a team as code owners June 21, 2023 14:18
@adamdbrw adamdbrw marked this pull request as draft June 21, 2023 14:19
Copy link
Contributor

@michalpelka michalpelka left a comment

Choose a reason for hiding this comment

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

LGTM, works and tested.
Authored robot is available :
https://github.com/o3de/o3de-physics-test-scene/tree/test_366

Copy link
Contributor

@AMZN-alexpete AMZN-alexpete left a comment

Choose a reason for hiding this comment

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

Nice! Just some minor comments. Also, please consider bumping the gem.json version because it looks like some of the public APIs were changed and new ones introduced - here's the docs regarding version changes: https://docs.o3de.org/docs/user-guide/gems/gem-versioning/

Copy link
Contributor

@pijaro pijaro left a comment

Choose a reason for hiding this comment

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

just a few nitpicks, LGTM

michalpelka and others added 16 commits July 3, 2023 13:25
 - It looks like a regression
 - Added for articulated mode

Signed-off-by: Michał Pełka <michal.pelka@robotec.ai>
 - Adding articulation controller
 - Adding MoveIt2 test

Signed-off-by: Michał Pełka <michal.pelka@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Michał Pełka <michal.pelka@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Michał Pełka <michal.pelka@robotec.ai>
Signed-off-by: Adam Dąbrowski <adam.dabrowski@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
Co-authored-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com>
Co-authored-by: Piotr Jaroszek <piotr.jaroszek@robotec.ai>
Signed-off-by: Adam Dabrowski <adam.dabrowski@robotec.ai>
@adamdbrw
Copy link
Contributor Author

adamdbrw commented Jul 3, 2023

@michalpelka considering we are bumping up version to 2.0.0 due to API changes, perhaps it would be good to remove unnecessary parts of the MotorizedJoints API?

@arturkamieniecki
Copy link
Contributor

There is a bug with stopping the execution of a plan in moveit. After clicking the execute button and then the stop button, O3DE crashes with the error:

  what():  goal_handle attempted invalid transition from state EXECUTING with event CANCELED, at ./src/rcl_action/goal_handle.c:95
Aborted (core dumped)

@adamdbrw adamdbrw merged commit 6052835 into development Jul 4, 2023
1 check passed
michalpelka pushed a commit to RobotecAI/o3de-extras that referenced this pull request Jul 13, 2023
Redesign of manipulation components
- Fixed dependencies and improved handling of actions.
- New interfaces.
- Major changes (breaking manipulation API).
- Moved motorized joints to a subfolder.
- Adding articulation controller
- Adding MoveIt2 test
- Cleanup of interfaces
- Added Editor Component for Joint Manipulation

Co-authored-by: Michał Pełka <michal.pelka@robotec.ai>
Co-authored-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com>
Co-authored-by: Piotr Jaroszek <piotr.jaroszek@robotec.ai>

Signed-off-by: Adam Dąbrowski <adam.dabrowski@robotec.ai>
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.

5 participants