-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3613da8
commit fbafac5
Showing
3 changed files
with
169 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
layout: post | ||
title: launch파일구조분석 | ||
date: 2024-06-21 20:20 +0900 | ||
author: songdaegeun | ||
categories: ["gazebo", "launch"] | ||
tags: ["gazebo", "launch"] | ||
pin: false | ||
math: true | ||
--- | ||
|
||
#### code | ||
``` | ||
<launch> | ||
<!-- these are the arguments you can pass this launch file, for example paused:=true --> | ||
<arg name="paused" default="true"/> | ||
<arg name="use_sim_time" default="true"/> | ||
<arg name="gui" default="true"/> | ||
<arg name="headless" default="false"/> | ||
<arg name="debug" default="false"/> | ||
<!-- We resume the logic in empty_world.launch, changing only the name of the world to be launched --> | ||
<include file="$(find gazebo_ros)/launch/empty_world.launch"> | ||
<arg name="world_name" value="$(find aidin_arm)/worlds/rrbot.world"/> | ||
<arg name="debug" value="$(arg debug)" /> | ||
<arg name="gui" value="$(arg gui)" /> | ||
<arg name="paused" value="$(arg paused)"/> | ||
<arg name="use_sim_time" value="$(arg use_sim_time)"/> | ||
<arg name="headless" value="$(arg headless)"/> | ||
</include> | ||
<!-- ros_control rrbot launch file --> | ||
<include file="$(find aidin_arm)/launch/aidin_control.launch" /> | ||
s | ||
<!-- Load the URDF into the ROS Parameter Server --> | ||
<param name="robot_description" | ||
command="$(find xacro)/xacro --inorder '$(find aidin_arm)/urdf/aidin_arm.xacro'" /> | ||
<!-- Run a python script to the send a service call to gazebo_ros to spawn a URDF robot --> | ||
<node name="urdf_spawner" pkg="gazebo_ros" type="spawn_model" respawn="false" output="screen" | ||
args="-urdf -model aidin_arm -param robot_description | ||
-J arm_joint2 -1.5708 | ||
-J arm_joint3 3.1416 | ||
-J arm_joint5 0.5236 | ||
-unpause"/> | ||
<!-- <node name="urdf_spawner" pkg="gazebo_ros" type="spawn_model" respawn="false" output="screen" | ||
args="-urdf -model aidin_arm -param robot_description"/> --> | ||
<!-- <node pkg="aidin_arm" type="main" name="main" output="screen"/> --> | ||
</launch> | ||
``` | ||
#### Argument 설정 | ||
|
||
``` | ||
<arg name={} default="true"/> | ||
``` |
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,10 @@ | ||
--- | ||
layout: post | ||
title: urdf파일구조분석 | ||
date: 2024-06-21 20:18 +0900 | ||
author: songdaegeun | ||
categories: ["gazebo", "urdf"] | ||
tags: ["gazebo", "urdf"] | ||
pin: false | ||
math: true | ||
--- |