-
Notifications
You must be signed in to change notification settings - Fork 90
[hrpsys_config.py] Backward compatibility for methods that take reference frame. #1063
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
base: master
Are you sure you want to change the base?
Conversation
|
Refer to this link for build results (access rights to CI server needed): |
|
失敗している Travis の2つの job はどちらとも下流の rtmros_hironx のテストで,
|
rtmros_hironxでマージすべきでないものがマージされているということはないですか? |
|
いずれにせよテストが通らないものはまずいかと |
| #### frame_name is given, call with lname with warning / oerror | ||
| #### frame_name is none, call with lname | ||
| if StrictVersion(self.fk_version) >= StrictVersion('315.2.5'): ### CHANGED | ||
| if self.default_frame_name and frame_name is None: |
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.
#1063 (comment) でマージ可能と書いたのは確かに間違っています;default_frame_name が存在しないのでエラーになります.
|
Inline コメントしましたが set/get*pose 系メソッドでデフォルトの ref frame を渡したい,だがどうやって渡すのが良いか,というところで止まっています.次のように考えましたがうまい解決法を思いついていません.
|
…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.
…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.
…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.
下流のテストで,ref frame を取る幾つかのメソッドがエラーが起きるようになったので上流へパッチします.
補足