Skip to content

Commit

Permalink
Merge pull request tum-vision#2 from garyservin/algron
Browse files Browse the repository at this point in the history
Fixed empty world and gps parameters
  • Loading branch information
Julian Cerruti committed Aug 5, 2014
2 parents 2a07fb9 + 7e35ca0 commit 9934bb8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions cvg_sim_gazebo/launch/empty_world.launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<?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">
<!-- 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">
</include>

</node>
<node name="gazebo_gui" pkg="gazebo" type="gui" respawn="false" output="screen"/>
</launch>

<!-- Spawn simulated quadrotor uav -->
<include file="$(find cvg_sim_gazebo)/launch/spawn_quadrotor.launch" >
<arg name="model" value="$(find cvg_sim_gazebo)/urdf/quadrotor_sensors.urdf.xacro"/>
</include>
</launch>
4 changes: 2 additions & 2 deletions cvg_sim_gazebo_plugins/urdf/quadrotor_sensors.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ xmlns:xacro="http://ros.org/wiki/xacro"
<bodyName>base_link</bodyName>
<topicName>fix</topicName>
<velocityTopicName>fix_velocity</velocityTopicName>
<drift>5.0 5.0 5.0</drift>
<referenceLatitude>-25.291084</referenceLatitude>
<referenceLongitude>-57.629623</referenceLongitude>
<referenceAltitude>136</referenceAltitude>
<drift>5.0 5.0 5.0</drift>
<gaussianNoise>0.1 0.1 0.1</gaussianNoise>
<velocityDrift>0 0 0</velocityDrift>
<velocityGaussianNoise>0.1 0.1 0.1</velocityGaussianNoise>
<velocityGaussianNoise>0.0 0.0 0.0</velocityGaussianNoise>
</plugin>

<plugin name="quadrotor_groundtruth_sim" filename="libgazebo_ros_p3d.so">
Expand Down

0 comments on commit 9934bb8

Please sign in to comment.