Skip to content

Commit 52fca05

Browse files
KuwamaiShota Aoki
andauthored
Sync with ros2 branch (#195)
* 点群認識サンプルの追加 (#176) * 点群を0.5mの距離でフィルタリング * Voxel gridでダウンサンプリング * 点群の座標変換 * 点群の座標変換修正 * 点群の取得範囲変更 * KdTreeによるクラスタリング * 認識した物体位置をtfで配信 * スタイル修正 * ファイル名変更 * point_cloud_detectionをサンプル実行用launchに追加 * 不要な変数を削除 * Update README * プレース後の物体を再度把持してしまうためプレース位置修正 * 認識後の点群をRvizに表示 * 平面検出処理追加 * コメント修正 * READMEに動画URL追加 * tfの表示時間短縮 * タイムスタンプを一致させるためheaderをコピー * 点群の重心位置を物体位置として配信 * tfの取得時間の範囲を変更 * 物体位置の高さ制限を追加 * 平面検出をコメントアウト * newをmake_sharedに置き換え * 点群処理を複数の関数に分割 * Copyright表記修正 Co-authored-by: Shota Aoki <[email protected]> * Update README * 変数の型修正 Co-authored-by: Shota Aoki <[email protected]> * 変数の型修正 Co-authored-by: Shota Aoki <[email protected]> * 変数名修正 Co-authored-by: Shota Aoki <[email protected]> * 点群取得範囲修正 Co-authored-by: Shota Aoki <[email protected]> * 平面検出の判定条件修正 Co-authored-by: Shota Aoki <[email protected]> * for文を範囲for文に変更 Co-authored-by: Shota Aoki <[email protected]> * for文を範囲for文に変更 Co-authored-by: Shota Aoki <[email protected]> * 認識範囲に点群がない場合INFOを出力 --------- Co-authored-by: Shota Aoki <[email protected]> * バージョンタグを4.2.0に更新 (#177) v4.2.0に更新 * 色認識サンプルの追加 (#183) * 色認識追加 * 二値化画像を配信 * 不要な処理を削除 * RVizに二値化画像を表示 * 距離のオフセット追加 * 変数名変更 * カーネルを変更 * 不要な空行を削除 * 画像取得時のheaderをtfに使用 * コメント、変数名修正 * Update README * コメント修正 * 変数名変更 * 動画URL追加 * バージョンタグを4.3.0に更新 (#184) * Remove gz ros2 controll installation. (#189) Remove gz ros2 controll installation * Gazeboのclockをtopicへ配信 (#192) ros_gz_bridge追加 * goal_toleranceの設定と把持角の調整 (#193) * goal_tolerance調整 * グリッパ角調整 * Prepare for release 4.4.0 (#194) 4.4.0 --------- Co-authored-by: Shota Aoki <[email protected]>
1 parent b861903 commit 52fca05

File tree

11 files changed

+17
-14
lines changed

11 files changed

+17
-14
lines changed

.ci.rosinstall

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
- git:
22
uri: https://github.com/rt-net/crane_x7_description.git
33
local-name: crane_x7_description
4-
version: ros2
5-
- git:
6-
uri: https://github.com/ros-controls/gz_ros2_control.git
7-
local-name: gz_ros2_control
8-
version: humble
4+
version: ros2

README.en.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ $ git clone -b ros2 https://github.com/rt-net/crane_x7_ros.git
5555
$ git clone -b ros2 https://github.com/rt-net/crane_x7_description.git
5656

5757
# Install dependencies
58-
$ git clone -b humble https://github.com/ros-controls/gz_ros2_control.git
5958
$ rosdep install -r -y -i --from-paths .
6059

6160
# Build & Install

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ $ git clone -b ros2 https://github.com/rt-net/crane_x7_ros.git
5757
$ git clone -b ros2 https://github.com/rt-net/crane_x7_description.git
5858

5959
# Install dependencies
60-
$ git clone -b humble https://github.com/ros-controls/gz_ros2_control.git
6160
$ rosdep install -r -y -i --from-paths .
6261

6362
# Build & Install

crane_x7/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>crane_x7</name>
5-
<version>4.3.0</version>
5+
<version>4.4.0</version>
66
<description>ROS 2 package suite of CRANE-X7</description>
77
<maintainer email="[email protected]">RT Corporation</maintainer>
88
<license>Apache License 2.0</license>

crane_x7_control/config/crane_x7_controllers.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ crane_x7_arm_controller:
2929
crane_x7_gripper_controller:
3030
ros__parameters:
3131
joint: crane_x7_gripper_finger_a_joint
32+
goal_tolerance: 0.1
3233

3334
command_interfaces:
3435
- position

crane_x7_control/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>crane_x7_control</name>
5-
<version>4.3.0</version>
5+
<version>4.4.0</version>
66
<description>The CRANE-X7 control package</description>
77
<maintainer email="[email protected]">RT Corporation</maintainer>
88
<license>Apache License 2.0</license>

crane_x7_examples/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>crane_x7_examples</name>
5-
<version>4.3.0</version>
5+
<version>4.4.0</version>
66
<description>CRANE-X7 examples package</description>
77
<maintainer email="[email protected]">RT Corporation</maintainer>
88
<license>Apache License 2.0</license>

crane_x7_examples/src/pick_and_place_tf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class PickAndPlaceTf : public rclcpp::Node
163163
{
164164
const double GRIPPER_DEFAULT = 0.0;
165165
const double GRIPPER_OPEN = angles::from_degrees(60.0);
166-
const double GRIPPER_CLOSE = angles::from_degrees(15.0);
166+
const double GRIPPER_CLOSE = angles::from_degrees(20.0);
167167

168168
// 何かを掴んでいた時のためにハンドを開閉
169169
control_gripper(GRIPPER_OPEN);

crane_x7_gazebo/launch/crane_x7_with_table.launch.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,20 @@ def generate_launch_description():
8282
output='screen',
8383
)
8484

85+
bridge = Node(
86+
package='ros_gz_bridge',
87+
executable='parameter_bridge',
88+
arguments=['/clock@rosgraph_msgs/msg/Clock[ignition.msgs.Clock'],
89+
output='screen'
90+
)
91+
8592
return LaunchDescription([
8693
SetParameter(name='use_sim_time', value=True),
8794
ign_gazebo,
8895
ignition_spawn_entity,
8996
move_group,
9097
spawn_joint_state_controller,
9198
spawn_arm_controller,
92-
spawn_gripper_controller
99+
spawn_gripper_controller,
100+
bridge
93101
])

crane_x7_gazebo/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>crane_x7_gazebo</name>
5-
<version>4.3.0</version>
5+
<version>4.4.0</version>
66
<description>The crane_x7_gazebo package</description>
77
<maintainer email="[email protected]">RT Corporation</maintainer>
88
<license>Apache License 2.0</license>

0 commit comments

Comments
 (0)