-
Notifications
You must be signed in to change notification settings - Fork 97
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
add single panda #1799
add single panda #1799
Conversation
reset-pose: [ 0.0, -45.0, 0.0, -135.0, 0.0, 90.0, 45.0, | ||
0.0, -75.0 ] | ||
reset-manip-pose: [ 0.0, -45.0, 0.0, -135.0, 0.0, 90.0, 45.0, | ||
0.0, -75.0 ] |
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.
reset-pose
seems different from
jsk_robot/jsk_panda_robot/panda_eus/models/dual_panda.yaml
Lines 32 to 34 in 9391924
reset-pose: [ 0.0, 15.0, 0.0, -135.0, 0.0, 150.0, 45.0, | |
0.0, 15.0, 0.0, -135.0, 0.0, 150.0, 45.0, | |
0.0, -75.0] |
Also,
reset-pose
and reset-manip-pose
are the same.Do you have any reason why you choose this angle-vector as
reset-pose
and reset-manip-pose
?
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.
The reasons of reset pose
is coming from:
- less footprint
- to avoid environment at initial setting
- looks like kinematically less torque. (especially for joint 1)
In terms of using the same angle-vector in two poses, there is no deeper reasons.
I never used reset-manip-pose
so far, so just set the same.
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.
In yuki-asano#1, I added notice about the difference of reset-pose
and reset-manip-pose
(and also end-coords
) to README
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.
After yuki-asano#3, pannda
and dual_panda
use the same end-coords
.
@pazeshun Thank you for your detail review at first. I'll check your comments. |
…nterface.l as panda-common-interface.l
…stop-grasp/:move-gripper from their return values
…stop-grasp/:move-gripper from separated methods
This reverts commit 0066eb7.
Refactor to re-use code
@pazeshun chould you approve changes? |
I should not approve until CI passes (#1208 (comment)).
https://github.com/jsk-ros-pkg/jsk_robot/actions/runs/5150618620/jobs/9276407913?pr=1799 |
OK. I missed the failed CI in the last. It is hidden and appears by scroling.. |
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.
@k-okada
I think this PR is now OK, but I have one concern.
Currently, reset-pose
, reset-manip-pose
, and end-coords
of panda
are different from dual_panda
:
https://github.com/jsk-ros-pkg/jsk_robot/pull/1799/files#diff-75f2fe8730d1b6c5ca7bf942abc99bf5955664a80692a4e7263428b14268a1c2R10-R19
jsk_robot/jsk_panda_robot/panda_eus/models/dual_panda.yaml
Lines 22 to 37 in a4b99e4
rarm-end-coords: | |
parent: rarm_link7 | |
translate: [0, 0, 0.2] | |
rotate : [-0.35740972270209, -0.86285515644477, -0.35740630816298, 98.42112728719206] | |
larm-end-coords: | |
parent: larm_link7 | |
translate: [0, 0, 0.2] | |
rotate : [-0.35740972270209, -0.86285515644477, -0.35740630816298, 98.42112728719206] | |
angle-vector: | |
reset-pose: [ 0.0, 15.0, 0.0, -135.0, 0.0, 150.0, 45.0, | |
0.0, 15.0, 0.0, -135.0, 0.0, 150.0, 45.0, | |
0.0, -75.0] | |
reset-manip-pose: [ -29.862, 22.5706, 6.95363, -118.83, 69.8182, 77.5441, 82.0761, | |
37.506, 23.1119, -15.2759, -119.03, -67.9519, 80.0034, 7.1317, | |
0.0, -75.0 ] |
Especially as for
end-coords
, I think panda
's end-coords
is better because it is on the center of the fingertip.However, we already have some demo codes depending on
dual_panda
's end-coords
, so it is not easy to change it.I think it is OK to leave them as they are because I wrote a notice about them:
https://github.com/jsk-ros-pkg/jsk_robot/pull/1799/files#diff-e424322edffb86d671056c36f1dd1502df5529e99aedfd12f7cb3c101be5f36eR110
What do you think?
@k-okada Kindly ping |
@pazeshun sorry for being late,
which demo uses this feature? I think we want to change the end coords near future(1-3 years), so how about add warning message to source code too,
in |
For example, https://github.com/jsk-ros-pkg/jsk_demos/pull/1363/files#diff-e69875d71091c4531bb74bf07af5b703bc585828d41f8fea5aa8fbde9f4ef1e0R22.
If you might allow this, then I think we should change |
I prefer to this if this is allowed.
|
…ter of the fingers
Move end-coords of single panda and dual_panda to the center of the fingers
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.
@k-okada
Now panda
and dual_panda
use the same end-coords
:
yuki-asano#3 (comment)
Could you review this?
@haraduka and I confirmed that slightly-modified version of @haraduka 's demo code works with this PR.
I'll fix my old demo to work with this PR (it is easy because only small translation is needed).
jsk-ros-pkg/jsk_demos#1363 will also be affected and it is difficult to check because we need to move panda to old pedestals etc., so I just left a comment:
jsk-ros-pkg/jsk_demos#1363 (comment)
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.
Sorry, this PR may break gripper movement methods.
I will check deeply and make a PR to fix.
[panda_eus] Make :gripper method work & enable to get gripper status while moving
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.
@k-okada
Now gripper movement methods were fixed: yuki-asano#4 (comment)
Could you review this?
Why we could not find that bug at #1799 (review) is that we considered that strange gripper movement as a bug of gripper itself, which we have sometimes faced so far.
@pazeshun LGTM, as for yuki-asano#1 (comment), can we fix by |
@k-okada Thank you, I confirmed jsk-ros-pkg/jsk_roseus#746 fixes yuki-asano#1 (comment) even when
Can we merge this PR as it is and consider jsk-ros-pkg/jsk_roseus#746 as further improvement? |
単腕のpandaを追加したものです。