adding gazebo.launch

This commit is contained in:
Ly PECHVATTANA 2023-08-29 05:23:09 -07:00
parent b19f23ac71
commit 7160ce6809
5 changed files with 53 additions and 2 deletions

1
.catkin_workspace Normal file
View File

@ -0,0 +1 @@
# This file currently only serves to mark the location of a catkin workspace for tool integration

21
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
"configurations": [
{
"browse": {
"databaseFilename": "${default}",
"limitSymbolsToIncludedHeaders": false
},
"includePath": [
"/opt/ros/noetic/include/**",
"/home/sasu/kubot_ws/src/kubot_description/include/**",
"/usr/include/**"
],
"name": "ROS",
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu11",
"cppStandard": "c++14"
}
],
"version": 4
}

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"python.autoComplete.extraPaths": [
"/opt/ros/noetic/lib/python3/dist-packages"
],
"python.analysis.extraPaths": [
"/opt/ros/noetic/lib/python3/dist-packages"
]
}

View File

@ -0,0 +1,21 @@
<launch>
<arg name="model" default="$(find kubot_description)/urdf/kubot.urdf.xacro"/>
<arg name="world" default="$(find kubot_description)/worlds/ku_lab/ku_model.sdf"/>
<!-- <arg name="world" default="empty_world"/> -->
<param name="robot_description" command="$(find xacro)/xacro '$(find turtlebot_description)/urdf/turtlebot.urdf.xacro'" />
<include file="$(find gazebo_ros)/launch/empty_world.launch">
<arg name="world_name" value="$(arg world)"/>
<arg name="paused" value="false"/>
<arg name="use_sim_time" value="true"/>
<arg name="gui" value="true"/>
<arg name="recording" value="false"/>
<arg name="debug" value="false"/>
</include>
<node pkg="gazebo_ros" type="spawn_model" name="spawn_model"
args="-unpause -urdf -model robot -param robot_description"
output="screen" respawn="false"/>
</launch>

View File

@ -19,7 +19,7 @@
<collision>
<origin xyz="-0.064 0 0.047" rpy="0 0 0"/>
<geometry>
<box size="0.266 0.266 0.094"/>
<box size="0.266 0.266 0.094"/>
</geometry>
</collision>
@ -44,7 +44,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0"/>
<geometry>
<cylinder length="0.018" radius="0.033"/>
<cylinder length="0.018" radius="0.033"/>
</geometry>
</collision>