Skip to content

[hironx py] Let setTargetPose fail when invalid kinematic group name passed.#486

Merged
130s merged 2 commits intostart-jsk:indigo-develfrom
130s:impr/settargetpose
Mar 16, 2017
Merged

[hironx py] Let setTargetPose fail when invalid kinematic group name passed.#486
130s merged 2 commits intostart-jsk:indigo-develfrom
130s:impr/settargetpose

Conversation

@130s
Copy link
Contributor

@130s 130s commented Mar 11, 2017

Background
(Same commit message as fkanehiro/hrpsys-base#1113)
setTargetPose takes a kinematic group as its 1st arg. When invalid value passed, it still tries to solve IK and always fails with an IK solution failure message, which is ambiguous because it failed not because
the computation but because the target group name is simply invalid.

Approach to fix
With this change it first checks if the passed value is a registered kinematic group name and if not it fails with the reason accordingly.

Additional note at rtmros_hironx
The change is exactly the same as the PR to the upstream fkanehiro/hrpsys-base#1113. This method (and along with others) should be removed as part of #470, once fkanehiro/hrpsys-base#1063 resolves.

@130s 130s force-pushed the impr/settargetpose branch from 72cc907 to 9c3fb27 Compare March 11, 2017 03:36
…passed.

**Background**
(Same commit message as fkanehiro/hrpsys-base#1113)
`setTargetPose` takes a kinematic group as its 1st arg. When invalid value passed, it still tries to solve IK and always fails with an IK solution failure message, which is ambiguous because it failed not because
the computation but because the target group name is simply invalid.

**Approach to fix**
With this change it first checks if the passed value is a registered kinematic group name and if not it fails with the reason accordingly.

**Additional note at rtmros_hironx**
Same change as fkanehiro/hrpsys-base#1113. This method should be removed as part of start-jsk#470, once fkanehiro/hrpsys-base#1063 resolves.
@130s 130s force-pushed the impr/settargetpose branch from 9c3fb27 to 74270a9 Compare March 11, 2017 03:57
@130s 130s merged commit 2febb54 into start-jsk:indigo-devel Mar 16, 2017
@130s 130s deleted the impr/settargetpose branch March 16, 2017 11:13
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.

1 participant