-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* LakeHouseのモデルをワールドに配置 * bridgeにscanトピックを追加 * センサのプラグインを追加 * READMEにカメラライントレースとSLAM&Navigationの実行方法を追記 * lakehouseワールドに30cmの黒いキューブを複数配置 * READMEに画像を追加 * 不足していた依存関係を追加 * コピペできるようにコマンドを修正 Co-authored-by: Shota Aoki <s.aoki@rt-net.jp> * 引数mapの説明を修正 Co-authored-by: Shota Aoki <s.aoki@rt-net.jp> * Copyrightの文面を修正 Co-authored-by: Shota Aoki <s.aoki@rt-net.jp> * 英語版READMEのコマンドもコピペできるように修正 --------- Co-authored-by: Shota Aoki <s.aoki@rt-net.jp>
- Loading branch information
1 parent
ef26922
commit 90fd430
Showing
8 changed files
with
344 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
raspimouse_gazebo/launch/raspimouse_with_lakehouse.launch.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# The MIT License (MIT) | ||
# | ||
# Copyright 2024 RT Corporation <support@rt-net.jp> | ||
# | ||
# 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', | ||
'lakehouse.sdf') | ||
world_launch = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource([ | ||
get_package_share_directory('raspimouse_gazebo'), | ||
'/launch/raspimouse_with_emptyworld.launch.py']), | ||
launch_arguments={ | ||
'world_name': world_file | ||
}.items() | ||
) | ||
|
||
return LaunchDescription([ | ||
SetParameter(name='use_sim_time', value=True), | ||
world_launch | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<model> | ||
<name>Black Cube 30cm</name> | ||
<version>1.0</version> | ||
<sdf version="1.6">model.sdf</sdf> | ||
|
||
<author> | ||
<name>YusukeKato</name> | ||
<email>yusuke.kato@rt-net.jp</email> | ||
</author> | ||
|
||
<description> | ||
Cube | ||
</description> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.6"> | ||
<model name="cube_30cm_black"> | ||
<link name="cube_black_link"> | ||
<inertial> | ||
<inertia> | ||
<ixx>1</ixx> | ||
<ixy>0</ixy> | ||
<ixz>0</ixz> | ||
<iyy>1</iyy> | ||
<iyz>0</iyz> | ||
<izz>1</izz> | ||
</inertia> | ||
<mass>1.0</mass> | ||
</inertial> | ||
<collision name="cube_black_collision"> | ||
<geometry> | ||
<box> | ||
<size>0.3 0.3 0.3</size> | ||
</box> | ||
</geometry> | ||
</collision> | ||
<visual name="cube_black_visual"> | ||
<material> | ||
<ambient>0 0 0 1</ambient> | ||
<diffuse>0 0 0 1</diffuse> | ||
<specular>0 0 0 0</specular> | ||
<emissive>0 0 0 1</emissive> | ||
</material> | ||
<geometry> | ||
<box> | ||
<size>0.3 0.3 0.3</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
</link> | ||
</model> | ||
</sdf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.