Skip to content
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

[WIP] add 3d bbox recognition #1

Open
wants to merge 3 commits into
base: kanazawa-bthesis-demo
Choose a base branch
from

Conversation

Kanazawanaoaki
Copy link

@Kanazawanaoaki Kanazawanaoaki commented Mar 11, 2022

eusのプログラムで指定した範囲内の点群だけをクラスタリングするtabletopの3次元bbox認識の認識部分を試すプログラム部分だけ試しに書いてみました.
使う場合はプログラムの名前とか中身も自由に変更してお好きに使って下さい.
できれば日曜日に,kitchen-spotでおたまを決めた位置に置く→arrange-spotに移動→記憶している位置の周辺を指定して3dbbox認識→把持をする.
のようなテストプログラムを作ってみようかなと思います.

サンプル

Screenshot from 2022-03-11 19-54-40

rosbagを再生

rosbagの場所: https://drive.google.com/file/d/17js3jA5gwsm99I02SqxaoVlHfAXYnXRN/view?usp=sharing

roslaunch jsk_2021_10_soup_from_boil rosbag_play.launch rosbag:=/home/kanazawa/Downloads/20220311_kanazawa_kitchen_test/20220311_kanazawa_kitchen_test_06.bag

tabletop認識のlaunchを立ち上げる.

roslaunch jsk_2021_10_soup_from_boil tabletop_recognition_with_dynamic_attention_clipper.launch run_rviz:=true

範囲を指定するtopicをpublish.

roscd jsk_2021_10_soup_from_boil/euslisp/util/
roseus 3dbbox.l 
(test-cup1)

もしくはコマンドラインから

$ rostopic pub /dynamic_attention_clipper/input/box jsk_recognition_msgs/BoundingBox "header:
  seq: 0
  stamp: {secs: 0, nsecs: 0}
  frame_id: 'base_link'
pose:
  position: {x: 0.8, y: -0.07, z: 0.8}
  orientation: {x: 0.0, y: 0.0, z: 0.0, w: 0.0}
dimensions: {x: 0.2, y: 0.2, z: 0.2}
value: 0.0
label: 0"

@708yamaguchi
Copy link
Owner

めっちゃ良い感じだと思います!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants