From 78b5a5159770f8304c972a3b0eed93cbd63fff77 Mon Sep 17 00:00:00 2001 From: YusukeKato Date: Fri, 17 Nov 2023 11:11:15 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=83=B3=E3=83=88=E3=83=AC?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E7=94=A8=E3=81=AE=E3=82=B3=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=82=92=E4=BD=9C=E6=88=90=20(#74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ライントレース用のコースを作成 * コースを地面より0.01浮かせる * 動作周期を修正 Co-authored-by: Shota Aoki * ラズパイマウスの初期位置を指定する引数を追加 * ラズパイマウスの初期位置をlaunchファイルから指定できるように変更 * モデル作成者の名前を変更 * blenderのモデルの作成者を変更 * コースモデルの大きさを修正 * コースモデルのスケールを修正 * コースモデルの作成者名を変更 * パネルの寸法が分かる名称に変更 * ワールド名を柔軟なものに変更 * 線の幅を4cmに変更 * READMEにモデル一覧を追加 --------- Co-authored-by: Shota Aoki --- README.en.md | 23 ++++ README.md | 25 ++++ .../raspimouse_with_emptyworld.launch.py | 18 +++ ...pimouse_with_line_follower_field.launch.py | 51 ++++++++ .../meshes/course_curve.jpg | Bin 0 -> 13806 bytes .../meshes/course_curve_50x50cm.dae | 115 ++++++++++++++++++ .../models/course_curve_50x50cm/model.config | 16 +++ .../models/course_curve_50x50cm/model.sdf | 34 ++++++ .../meshes/course_straight.jpg | Bin 0 -> 5959 bytes .../meshes/course_straight_50x50cm.dae | 115 ++++++++++++++++++ .../course_straight_50x50cm/model.config | 16 +++ .../models/course_straight_50x50cm/model.sdf | 34 ++++++ .../worlds/line_follower_field1.sdf | 76 ++++++++++++ 13 files changed, 523 insertions(+) create mode 100644 raspimouse_gazebo/launch/raspimouse_with_line_follower_field.launch.py create mode 100644 raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve.jpg create mode 100644 raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve_50x50cm.dae create mode 100644 raspimouse_gazebo/models/course_curve_50x50cm/model.config create mode 100644 raspimouse_gazebo/models/course_curve_50x50cm/model.sdf create mode 100644 raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight.jpg create mode 100644 raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight_50x50cm.dae create mode 100644 raspimouse_gazebo/models/course_straight_50x50cm/model.config create mode 100644 raspimouse_gazebo/models/course_straight_50x50cm/model.sdf create mode 100644 raspimouse_gazebo/worlds/line_follower_field1.sdf diff --git a/README.en.md b/README.en.md index 768d839..61bc52e 100644 --- a/README.en.md +++ b/README.en.md @@ -93,6 +93,29 @@ ros2 launch raspimouse_ros2_examples object_tracking.launch.py mouse:=false use_ ![](https://rt-net.github.io/images/raspberry-pi-mouse/raspimouse_sim_object_tracking.gif) +## Model data list + +### course_curve_50x50cm +Curve course panel for line following. +Panel size is 50 cm x 50 cm and line width is 4 cm. + +![](./raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve.jpg) + +### course_straight_50x50cm +Straight course panel for line following. +Panel size is 50 cm x 50 cm and line width is 4 cm. + +![](./raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight.jpg) + +### cube_*cm_color-name +Each cube is 5 cm, 7.5 cm, 10 cm, and 15 cm on a side. +The cube colors are red, yellow, blue, and green. + +![](https://rt-net.github.io/images/raspberry-pi-mouse/color_objects.png) + +### daeファイルについて +The dae file is edited in Blender 4.0. + ## License This repository is licensed under the MIT license, see [LICENSE]( ./LICENSE ). diff --git a/README.md b/README.md index a8a9bc7..740803d 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,31 @@ ros2 launch raspimouse_ros2_examples object_tracking.launch.py mouse:=false use_ ![](https://rt-net.github.io/images/raspberry-pi-mouse/raspimouse_sim_object_tracking.gif) +## モデルデータ一覧 + +### course_curve_50x50cm + +ライントレース用の曲線コースパネルです。 +パネルサイズは50cm x 50cm、線の幅は4cmです。 + +![](./raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve.jpg) + +### course_straight_50x50cm + +ライントレース用の直線コースパネルです。 +パネルサイズは50cm x 50cm、線の幅は4cmです。 + +![](./raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight.jpg) + +### cube_*cm_color-name +それぞれ一辺5cm、7.5cm、10cm、15cmの立方体です。 +色は赤、黄、青、緑です。 + +![](https://rt-net.github.io/images/raspberry-pi-mouse/color_objects.png) + +### daeファイルについて +daeファイルはBlender 4.0で編集しています。 + ## ライセンス このリポジトリはMITライセンスに基づいて公開されています。 diff --git a/raspimouse_gazebo/launch/raspimouse_with_emptyworld.launch.py b/raspimouse_gazebo/launch/raspimouse_with_emptyworld.launch.py index 3fd7629..f0aa8eb 100644 --- a/raspimouse_gazebo/launch/raspimouse_with_emptyworld.launch.py +++ b/raspimouse_gazebo/launch/raspimouse_with_emptyworld.launch.py @@ -50,6 +50,18 @@ def generate_launch_description(): 'world_name', default_value=get_package_share_directory('raspimouse_gazebo')+'/worlds/empty_world.sdf', description='Set world name.') + declare_arg_spawn_x = DeclareLaunchArgument( + 'spawn_x', + default_value='0.0', + description='Set initial position x.') + declare_arg_spawn_y = DeclareLaunchArgument( + 'spawn_y', + default_value='0.0', + description='Set initial position y.') + declare_arg_spawn_z = DeclareLaunchArgument( + 'spawn_z', + default_value='0.02', + description='Set initial position z.') env = {'IGN_GAZEBO_SYSTEM_PLUGIN_PATH': os.environ['LD_LIBRARY_PATH'], 'IGN_GAZEBO_RESOURCE_PATH': os.path.dirname( @@ -71,6 +83,9 @@ def generate_launch_description(): output='screen', arguments=['-topic', '/robot_description', '-name', 'raspimouse', + '-x', LaunchConfiguration('spawn_x'), + '-y', LaunchConfiguration('spawn_y'), + '-z', LaunchConfiguration('spawn_z'), '-allow_renaming', 'true'], ) @@ -140,6 +155,9 @@ def generate_launch_description(): declare_arg_lidar_frame, declare_arg_use_rgb_camera, declare_arg_world_name, + declare_arg_spawn_x, + declare_arg_spawn_y, + declare_arg_spawn_z, ign_gazebo, ignition_spawn_entity, robot_state_publisher, diff --git a/raspimouse_gazebo/launch/raspimouse_with_line_follower_field.launch.py b/raspimouse_gazebo/launch/raspimouse_with_line_follower_field.launch.py new file mode 100644 index 0000000..dae194a --- /dev/null +++ b/raspimouse_gazebo/launch/raspimouse_with_line_follower_field.launch.py @@ -0,0 +1,51 @@ +# The MIT License (MIT) +# +# Copyright 2023 RT Corporation +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of +# this software and associated documentation files (the "Software"), to deal in +# the Software without restriction, including without limitation the rights to +# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +# the Software, and to permit persons to whom the Software is furnished to do so, +# subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +import os + +from ament_index_python.packages import get_package_share_directory +from launch import LaunchDescription +from launch.actions import IncludeLaunchDescription +from launch_ros.actions import SetParameter +from launch.launch_description_sources import PythonLaunchDescriptionSource + + +def generate_launch_description(): + world_file = os.path.join( + get_package_share_directory('raspimouse_gazebo'), + 'worlds', + 'line_follower_field1.sdf') + world_launch = IncludeLaunchDescription( + PythonLaunchDescriptionSource([ + get_package_share_directory('raspimouse_gazebo'), + '/launch/raspimouse_with_emptyworld.launch.py']), + launch_arguments={ + 'world_name': world_file, + 'spawn_x': '0.0', + 'spawn_y': '0.0', + 'spawn_z': '0.02' + }.items() + ) + + return LaunchDescription([ + SetParameter(name='use_sim_time', value=True), + world_launch + ]) diff --git a/raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve.jpg b/raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve.jpg new file mode 100644 index 0000000000000000000000000000000000000000..69ded420d9384d75195061086f0919b7971941a2 GIT binary patch literal 13806 zcmeHt`B#(I*8iilTD4UX1S%gfL@YYh^T- zYY`Hr8fqd>Bor}*5JIfXL!cN!ln_wnDIh}#5E9$*7!-2K;=ks~a zu=m+#^X2AiVE?zS-?#$XwgJF4?F-nH0v7A!c=w*Ydv@*mME8@u`}XhG-M{uJC5-+Tt_`ABC{XL8#%U0|~j zFwt7xuCwi31OC%K+O=cn?hkc7*uG8sclds-Z=DaeZT~<=XV;Dobw1RB*{<`!hdXxa zestioU3!qO^v$lELj7>?=;vSmBP#cPmBAO#!07)mw7n42aLDd?%uU*_zi;*fAH6dV z1K3~wKPUhF{I3H4Rp7r0{8xehD)9fc0^70)sqP~ccgg-27l%|aUsV$vS>p`wWfQ$X zjT=Mlmz?dUrkaPuf&9YJU{e{rK$-0n*NhE#UTEhH)qIjxyzuo~(stfG!NTL{Fpd-A zlC=Lp6m%W48j08hl06U({;Pu3w6dlc#^}6Lbm+S4j@$ak0NHBRJ%KPgV6`v41Ca(F zsrTT*R0W4qOs6O(jT}b8p08{Ispje{gfp?-Z+Te6IbbJd3(jkl^bAS~?Xbt)jkblP zbbM>eke}>nRdv(}ICDMK05SdPQ)Wpmy)HR~8%KVWDu$S-yB{B0^k`=M^yC{}R@1;0 zE(fC`nWwk*R`$PG2xF*X5y>;vrVqR(OXuMAF00QHFg&vrXCWhOwg}H6;l_*U&HfnM zG#rl-6D>opi}0nQU$2dx{G#s0SbTeRYqF5XuJap8dg-9>?R|q;ceR5WgpywzOAp(x z4e-S0-^=BkJjmyT{Yqi(qnUNO3579?ayWHr>0}R1NIg1(Axa=f$a*KO@$+K z^8443e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M81b*A)R5#e&ffAr14qXsZ`zS(C3VV9VvsAZZGO~?CdOIo`6cNhLC z^HL01JyGkJo(L<8kRy(}KjmXZ1hrH$FLp|yN64y&ru2Ua0k-$ne`I8p$sD`r+SX7? zL4;CIn7H+ur4nZ|VI2l(KiXXSYx(}&8`H3`OBT=T?i}mdg)X<5cC*u6>!T+h{1Ft_oNX#U4mF2+ssIoOJ| z4o69HPWIWx+J#iM6pJChQHKWER9?jiXk1 zxf|93&$Jy2TiFjflFywDFF7Og?Y0{At^Q?_(qG&@t}P{31@i8~-ni$#26jqJng)0) z3y;utetfL`B;8qoQ0$+Eg@+t+L`O_H1|aC64LxteLsu7IVO|v?IBX2zbbbq`JMJ!_ zFSGB*=XG#7U^;!SyZ7yIu~Dhs%M_PP0H0^UUB>pQ}$+oiIhw>BEU24aNtAD*!CO1 z=eHZmBKl?i_$VADF3_?H4Cv*R$^!!f+87(N4fk(sVSd|3sb8K|oQ2(1K3U^V701Mc z*65mQkJjhh0ycpF!RxZ`fDf8i5tHKS5`09_bm*LIjUTNLnxXGbmiv) z+vB87U>bLsxe4S%z23s+_TN%ZUoOchYkX;}CDzLhlcn{99fqwPv;u(Y(jVrI_zl)o zK2&J$IlI4@Rc-=U>5}&Up1$3}UU@L!&EeQI4fqSNE%coch?j?L ZKxu`3#5Am#xN8$w@M--&rgS!6{V&j>XNdp+ literal 0 HcmV?d00001 diff --git a/raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve_50x50cm.dae b/raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve_50x50cm.dae new file mode 100644 index 0000000..2390079 --- /dev/null +++ b/raspimouse_gazebo/models/course_curve_50x50cm/meshes/course_curve_50x50cm.dae @@ -0,0 +1,115 @@ + + + + + YusukeKato + Blender 4.0.0 commit date:2023-11-13, commit time:17:26, hash:878f71061b8e + + 2023-11-16T14:58:23 + 2023-11-16T14:58:23 + + Z_UP + + + + + + + course_curve_jpg + + + + + course_curve_jpg-surface + + + + + + 0 0 0 1 + + + + + + 1.45 + + + + + + + + + course_curve.jpg + + + + + + + + + + + + -0.5 -0.5 0 0.5 -0.5 0 -0.5 0.5 0 0.5 0.5 0 + + + + + + + + + + 0 0 1 + + + + + + + + + + 1.00069e-4 0.9999001 0.9998998 9.998e-5 0.9998999 0.9998998 1.00069e-4 0.9999001 9.998e-5 1.00131e-4 0.9998998 9.998e-5 + + + + + + + + + + + + + + +

1 0 0 2 0 1 0 0 2 1 0 3 3 0 4 2 0 5

+
+
+
+
+ + + + 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 1 + + + + + + + + + + + + + + + +
diff --git a/raspimouse_gazebo/models/course_curve_50x50cm/model.config b/raspimouse_gazebo/models/course_curve_50x50cm/model.config new file mode 100644 index 0000000..58e33ed --- /dev/null +++ b/raspimouse_gazebo/models/course_curve_50x50cm/model.config @@ -0,0 +1,16 @@ + + + + course_curve_50x50cm + 1.0 + model.sdf + + + YusukeKato + yusuke.kato@rt-net.jp + + + + line follower course + + diff --git a/raspimouse_gazebo/models/course_curve_50x50cm/model.sdf b/raspimouse_gazebo/models/course_curve_50x50cm/model.sdf new file mode 100644 index 0000000..84ba3e6 --- /dev/null +++ b/raspimouse_gazebo/models/course_curve_50x50cm/model.sdf @@ -0,0 +1,34 @@ + + + + true + + + 0 0 0 0 0 0 + + + model://course_curve_50x50cm/meshes/course_curve_50x50cm.dae + 1 1 1 + + + + + + 0.9 + 0.9 + + + + + + 0 0 0 0 0 0 + + + model://course_curve_50x50cm/meshes/course_curve_50x50cm.dae + 1 1 1 + + + + + + diff --git a/raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight.jpg b/raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4bc01c5229cabeef9aea2e3b32778a43ffc64a76 GIT binary patch literal 5959 zcmex=>ukC3pCfH06P@c#eNE$E4ym`W^Iq^cNsNo pG|Wbm#%Ok;ZK<(Ufs!(BRPSgAjE2By2#kinXb23Y5a9oR69D2_Fy#OM literal 0 HcmV?d00001 diff --git a/raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight_50x50cm.dae b/raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight_50x50cm.dae new file mode 100644 index 0000000..a5c1745 --- /dev/null +++ b/raspimouse_gazebo/models/course_straight_50x50cm/meshes/course_straight_50x50cm.dae @@ -0,0 +1,115 @@ + + + + + YusukeKato + Blender 4.0.0 commit date:2023-11-13, commit time:17:26, hash:878f71061b8e + + 2023-11-16T14:55:03 + 2023-11-16T14:55:03 + + Z_UP + + + + + + + course_straight_jpg + + + + + course_straight_jpg-surface + + + + + + 0 0 0 1 + + + + + + 1.45 + + + + + + + + + course_straight.jpg + + + + + + + + + + + + -0.5 -0.5 0 0.5 -0.5 0 -0.5 0.5 0 0.5 0.5 0 + + + + + + + + + + 0 0 1 + + + + + + + + + + 1.00069e-4 0.9999001 0.9998998 9.998e-5 0.9998999 0.9998998 1.00069e-4 0.9999001 9.998e-5 1.00131e-4 0.9998998 9.998e-5 + + + + + + + + + + + + + + +

1 0 0 2 0 1 0 0 2 1 0 3 3 0 4 2 0 5

+
+
+
+
+ + + + 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 1 + + + + + + + + + + + + + + + +
diff --git a/raspimouse_gazebo/models/course_straight_50x50cm/model.config b/raspimouse_gazebo/models/course_straight_50x50cm/model.config new file mode 100644 index 0000000..6c7928f --- /dev/null +++ b/raspimouse_gazebo/models/course_straight_50x50cm/model.config @@ -0,0 +1,16 @@ + + + + course_straight_50x50cm + 1.0 + model.sdf + + + YusukeKato + yusuke.kato@rt-net.jp + + + + line follower course + + diff --git a/raspimouse_gazebo/models/course_straight_50x50cm/model.sdf b/raspimouse_gazebo/models/course_straight_50x50cm/model.sdf new file mode 100644 index 0000000..17e9f0d --- /dev/null +++ b/raspimouse_gazebo/models/course_straight_50x50cm/model.sdf @@ -0,0 +1,34 @@ + + + + true + + + 0 0 0 0 0 0 + + + model://course_straight_50x50cm/meshes/course_straight_50x50cm.dae + 1 1 1 + + + + + + 0.9 + 0.9 + + + + + + 0 0 0 0 0 0 + + + model://course_straight_50x50cm/meshes/course_straight_50x50cm.dae + 1 1 1 + + + + + + diff --git a/raspimouse_gazebo/worlds/line_follower_field1.sdf b/raspimouse_gazebo/worlds/line_follower_field1.sdf new file mode 100644 index 0000000..275ef4f --- /dev/null +++ b/raspimouse_gazebo/worlds/line_follower_field1.sdf @@ -0,0 +1,76 @@ + + + + + 0.010 + 1.0 + + + + + + + + + + + https://fuel.gazebosim.org/1.0/OpenRobotics/models/Sun + + + + + + https://fuel.gazebosim.org/1.0/OpenRobotics/models/Ground%20Plane + + + + + + model://course_straight_50x50cm + + 0 0 0.01 0 0 0 + + + + + model://course_curve_50x50cm + + 0.5 0 0.01 0 0 0 + + + + + model://course_curve_50x50cm + + 0.5 0.5 0.01 0 0 1.57 + + + + + model://course_straight_50x50cm + + 0 0.5 0.01 0 0 0 + + + + + model://course_curve_50x50cm + + -0.5 0 0.01 0 0 -1.57 + + + + + model://course_curve_50x50cm + + -0.5 0.5 0.01 0 0 3.14 + + + +