Skip to content

Conversation

KuraZuzu
Copy link

@KuraZuzu KuraZuzu commented Jul 16, 2025

What does this implement/fix?

cartesian_pathサンプルを追加します。
動作概要は、CRANE X7のcartesian_pathサンプルと同様です。

Does this close any currently open issues?

しません。

How has this been tested?

Gzebo上でテストしました。

  • Ubuntu 24.04 Desktop
    • 6.11.0-29-generic
  • ROS 2 Jazzy
  • GAZEBO Harmonic v 8.9.0
ros2 launch sciurus17_gazebo sciurus17_with_table.launch.py 
ros2 launch sciurus17_examples example.launch.py example:='cartesian_path' use_sim_time:='true'

Any other comments?

Checklists

@KuraZuzu KuraZuzu self-assigned this Jul 16, 2025
@KuraZuzu KuraZuzu added the Type: Feature New Feature label Jul 16, 2025
@KuraZuzu KuraZuzu marked this pull request as ready for review July 16, 2025 09:39
@KuraZuzu KuraZuzu requested a review from Kuwamai July 16, 2025 09:40
Copy link
Contributor

@Kuwamai Kuwamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

軽微な修正点についていくつかコメントしました 🙇

@@ -15,6 +15,7 @@
- [Gazeboでサンプルプログラムを実行する場合](#gazeboでサンプルプログラムを実行する場合)
- [Examples](#examples)
- [gripper\_control](#gripper_control)
- [cartesian\_path](#cartesian_path)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

examplesの目次にも追加お願いします。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

追加しました。

move_group_gripper.setJointValueTarget(gripper_joint_values);
move_group_gripper.move();

// 座標(x=0.3, y=0.0161 z=0.1)を中心に、XY平面上に半径0.1 mの円を3回描くように手先を動かす
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中心のy座標がかなり細かい数値になっていますがこれにはなにか理由があるのでしょうか?
可動範囲の問題であれば0.1等キリのいい数値でいいかと思います。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.161 -> 0.2 に変更しました。円を描く上で、テーブルの上のキューブにぶつからないキリの良い数値であるため0.2としました。

0.161とした理由は、動作前のポーズであるl_arm_init_poseから大きく肩を動かさないような値に設定したためです。そのため、l_link2のY座標0.1605から四捨五入した0.161としていました。

image

@KuraZuzu KuraZuzu requested a review from Kuwamai July 30, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants