Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty_world.launch &spawn_quadrotor_2.launch #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions cvg_sim_gazebo/launch/empty_world.launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?xml version="1.0"?>
<launch>
<param name="/use_sim_time" value="true" />
<node name="empty_world_server" pkg="gazebo" type="gazebo" args="$(find cvg_sim_gazebo)/worlds/empty.world" respawn="false" output="screen">

</node>
<node name="gazebo_gui" pkg="gazebo" type="gui" respawn="false" output="screen"/>
<include file="$(find gazebo_ros)/launch/empty_world.launch">
<arg name="world_name" value="worlds/empty.world"/>
</include>


</launch>

4 changes: 2 additions & 2 deletions cvg_sim_gazebo/launch/spawn_quadrotor_2.launch
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<param name="robot_description" command="$(find xacro)/xacro.py '$(arg model)'" />

<!-- push robot_description to factory and spawn robot in gazebo -->
<node name="spawn_robot" pkg="gazebo" type="spawn_model"
<node name="spawn_robot" pkg="gazebo_ros" type="spawn_model"
args="-param robot_description
-urdf
-x -2.5
-y 0.5
-z 0.5
-Y 3.14159
-model quadrotor"
-model quadrotor2"
respawn="false" output="screen"/>

<!-- start robot state publisher -->
Expand Down