-
Notifications
You must be signed in to change notification settings - Fork 9
TCPリンクを追加 #91
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?
TCPリンクを追加 #91
Conversation
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.
table_with_aruco_cube.sdfとtable_with_red_cube.sdfのcubeの位置を下記に変更し、グリッパ角度等の調整はなしでお願いします。
<pose>0.2 0 1.05 0 0 0</pose>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Cubeの位置を下記を参考に調整してGazebo上で把持できることを確認しました。 |
@Kuwamai |
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.
把持位置について過去の名残がある部分は新しくきりのいい数値に設定したほうがよさそうです。
それ以外は大丈夫です!
来週実機で確認します 🙇
ちなみにですが、シミュレータ上だとしっかり持てる把持位置の調整がシビアでしたが、実機ではもう少し良さげだったでしょうか?
target_pose.position.z = 0.17; | ||
q.setRPY(to_radians(0), to_radians(90), to_radians(-90)); | ||
target_pose.orientation = tf2::toMsg(q); | ||
move_group_arm.setPoseTarget(target_pose); | ||
move_group_arm.move(); | ||
|
||
target_pose.position.y = -0.09; |
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.
ここはboxの位置でいいかと思います。
target_pose.position.y = -0.09; | |
target_pose.position.y = -0.1; |
move_group_arm.setPoseTarget(target_pose); | ||
move_group_arm.move(); | ||
|
||
// ----- Placing Preparation ----- | ||
move_group_arm.setNamedTarget("home"); | ||
move_group_arm.move(); | ||
|
||
target_pose.position.x = 0.15; | ||
target_pose.position.x = 0.27; |
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.
ここは適当にきりのいい位置でいいかと思います。
target_pose.position.x = 0.27; | |
target_pose.position.x = 0.25; |
|
||
// 下ろす | ||
control_arm(0.0, -0.15, 0.05, 0, 90, -90); | ||
control_arm(0.0, -0.27, 0.05, 0, 90, -90); |
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.
ここもきりのいい位置に置くとよさそうです。
control_arm(0.0, -0.27, 0.05, 0, 90, -90); | |
control_arm(0.0, -0.25, 0.05, 0, 90, -90); |
|
||
// ハンドを開く | ||
control_gripper(GRIPPER_OPEN); | ||
|
||
// 少しだけハンドを持ち上げる | ||
control_arm(0.0, -0.15, 0.10, 0, 90, -90); | ||
control_arm(0.0, -0.27, 0.10, 0, 90, -90); |
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.
control_arm(0.0, -0.27, 0.10, 0, 90, -90); | |
control_arm(0.0, -0.25, 0.10, 0, 90, -90); |
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
Co-authored-by: Kuwamai <[email protected]>
レビューありがとうございます。 |
実機でも動作確認できました。 |
What does this implement/fix?
目標とする手先の位置をlink4からグリッパの中心に変更するために新しくTCPリンクを追加します。
また、TCPリンクをデフォルトとしてサンプルも変更します。
Does this close any currently open issues?
#80
How has this been tested?
実機、Gazebo、mock_componentですべてのサンプルが動くことを確認しました。
Any other comments?
私の環境だけかもしれませんが、実機動作中、controller_managerがあらかじめ設定している100Hzの周期に達していないという警告が出ました。
80Hzに設定するとこの警告が出ないことも確認できました。
使用しているPCに依存する可能性が高そうであるため修正は行っていません。
Checklists