[hrpsys_config.py] Backward compatibility for methods that take reference frame.#1063
[hrpsys_config.py] Backward compatibility for methods that take reference frame.#1063130s wants to merge 1 commit intofkanehiro:masterfrom
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.
#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 を取る幾つかのメソッドがエラーが起きるようになったので上流へパッチします.
補足