Repository navigation
Allow RobotState::setFromIK to work with subframes - #3077
Conversation
…demonstrating failure with subframes
|
@sjahr I believe this is ready for review (just the usual tutorial image failures) |
sea-bass
left a comment
There was a problem hiding this comment.
This is great! Especially appreciate the tests.
Mostly small comments from my side.
|
@sea-bass Should be ready for review again. Additionally, I'm always a little unsure of what types of changes require extending the tutorials & api notes. In theory the interface hasn't changed (the |
|
Ah, also if this could be marked for backport that'd be much appreciated. I'll get on fixing those PRs ASAP |
Thank you! Your assessment is right; API wise, you're fine. That said, i think subframes as a whole are not generally super well documented in the tutorials. So if you're a big user of this feature, you should in futire consider contributing a tutorial! That would be great. |
sea-bass
left a comment
There was a problem hiding this comment.
LGTM, will await a 2nd review from someone else as well.
|
@sjahr Would you mind providing a second review when you have time? |
* Adds regression tests for setFromIK with objects. Adds failing tests demonstrating failure with subframes * Modifies RobotState::setFromIK to account for subframes * Fixes formatting * Fixes formatting * Fixes formatting * Applies PR suggestions * Applies PR comments --------- Co-authored-by: Tom Noble <[email protected]> Co-authored-by: Sebastian Jahr <[email protected]> (cherry picked from commit ab34495) # Conflicts: # moveit_core/robot_state/src/robot_state.cpp
* Adds regression tests for setFromIK with objects. Adds failing tests demonstrating failure with subframes * Modifies RobotState::setFromIK to account for subframes * Fixes formatting * Fixes formatting * Fixes formatting * Applies PR suggestions * Applies PR comments --------- Co-authored-by: Tom Noble <[email protected]> Co-authored-by: Sebastian Jahr <[email protected]> (cherry picked from commit ab34495) # Conflicts: # moveit_core/robot_state/src/robot_state.cpp
…3085) * Allow RobotState::setFromIK to work with subframes (#3077) * Adds regression tests for setFromIK with objects. Adds failing tests demonstrating failure with subframes * Modifies RobotState::setFromIK to account for subframes * Fixes formatting * Fixes formatting * Fixes formatting * Applies PR suggestions * Applies PR comments --------- Co-authored-by: Tom Noble <[email protected]> Co-authored-by: Sebastian Jahr <[email protected]> (cherry picked from commit ab34495) # Conflicts: # moveit_core/robot_state/src/robot_state.cpp * Fixes merge conflicts (humble backport 3077) (#3087) Co-authored-by: Tom Noble <[email protected]> --------- Co-authored-by: Tom Noble <[email protected]> Co-authored-by: Tom Noble <[email protected]> Co-authored-by: Sebastian Castro <[email protected]>
* Adds regression tests for setFromIK with objects. Adds failing tests demonstrating failure with subframes * Modifies RobotState::setFromIK to account for subframes * Fixes formatting * Fixes formatting * Fixes formatting * Applies PR suggestions * Applies PR comments --------- Co-authored-by: Tom Noble <[email protected]> Co-authored-by: Sebastian Jahr <[email protected]>
Description
Fixes #3072
RobotStatecansetFromIKwith a collision objectRobotStatecannotsetFromIKwith a subframeRobotState::setFromIKto consider subframesI tried adding the tests directly to the robot state tests, however, I was getting issues with no kinematic solver being associated with the planning group of the
OneRobotfixture.Pilz already had a test which was checking
setFromIK, and appears to be setup with a kinematic solver, so I've added the tests there.Checklist