forked from vinismarques/butia_navigation_system
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from butia-bots/add-doris-gazebo
Add doris gazebo
- Loading branch information
Showing
16 changed files
with
460 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
<launch> | ||
|
||
<arg name="scan_topic" default="scan" /> | ||
|
||
<node pkg="amcl" type="amcl" name="amcl" output="screen"> | ||
<param name="min_particles" value="500"/> | ||
<param name="kld_err" value="0.05"/> | ||
<param name="odom_alpha1" value="0.2"/> | ||
<param name="odom_alpha2" value="0.2"/> | ||
<param name="odom_alpha3" value="0.8"/> | ||
<param name="odom_alpha4" value="0.1"/> | ||
<param name="initial_pose_y" value="-0.3"/> | ||
<param name="initial_pose_x" value="-1.2"/> | ||
<param name="resample_interval" value="1"/> | ||
|
||
<!-- <remap from="scan" to="$(arg scan_topic)"/> --> | ||
<remap from="scan" to="$(arg scan_topic)"/> | ||
</node> | ||
|
||
</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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
image: cafe.pgm | ||
resolution: 0.050000 | ||
origin: [-13.800000, -21.800000, 0.000000] | ||
negate: 0 | ||
occupied_thresh: 0.65 | ||
free_thresh: 0.196 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
image: /home/cris/catkin_ws/src/butia_navigation_system/butia_navigation_gazebo/maps/demo_world.pgm | ||
resolution: 0.050000 | ||
origin: [-12.200000, -13.800000, 0.000000] | ||
negate: 0 | ||
occupied_thresh: 0.65 | ||
free_thresh: 0.196 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
image: room.pgm | ||
resolution: 0.050000 | ||
origin: [-15.400000, -15.400000, 0.000000] | ||
negate: 0 | ||
occupied_thresh: 0.65 | ||
free_thresh: 0.196 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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,81 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<!--env name="GAZEBO_MODEL_PATH" value="$GAZEBO_MODEL_PATH:$(find butia_navigation_gazebo)/models" /> | ||
<env name="GAZEBO_RESOURCE_PATH" value="$GAZEBO_RESOURCE_PATH:$(find butia_navigation_gazebo)/models" /--> | ||
|
||
<arg name="paused" default="false" /> | ||
<arg name="use_sim_time" default="true" /> | ||
<arg name="gui" default="true" /> | ||
<arg name="headless" default="false" /> | ||
<arg name="debug" default="false" /> | ||
<arg name="verbose" default="true" /> | ||
|
||
<arg name="start_sim" default="true" /> | ||
|
||
<!-- Select a map and world | ||
Willow Gagage: | ||
<arg name="world" default="worlds/willowgarage.world" /> | ||
<arg name="map" default="$(find butia_navigation_gazebo)/maps/willow.yaml" /> | ||
Playground: | ||
<arg name="world" default="$(find butia_navigation_gazebo)/worlds/playground.world" /> | ||
<arg name="map" default="$(find butia_navigation_gazebo)/maps/playground.yaml" /> | ||
--> | ||
<arg name="world" default="worlds/willowgarage.world" /> | ||
<arg name="map" default="$(find butia_navigation_gazebo)/maps/willow.yaml" /> | ||
|
||
<!-- Set command arguments --> | ||
<group if="$(arg use_sim_time)"> | ||
<param name="/use_sim_time" value="true" /> | ||
</group> | ||
|
||
<arg unless="$(arg paused)" name="command_arg1" value="" /> | ||
<arg if="$(arg paused)" name="command_arg1" value="-u" /> | ||
<arg unless="$(arg headless)" name="command_arg2" value="" /> | ||
<arg if="$(arg headless)" name="command_arg2" value="-r" /> | ||
<arg unless="$(arg verbose)" name="command_arg3" value="" /> | ||
<arg if="$(arg verbose)" name="command_arg3" value="--verbose" /> | ||
<arg unless="$(arg debug)" name="script_type" value="gzserver" /> | ||
<arg if="$(arg debug)" name="script_type" value="debug" /> | ||
|
||
<group if="$(arg start_sim)"> | ||
<!-- Start gazebo server--> | ||
<node name="gazebo" pkg="gazebo_ros" type="$(arg script_type)" respawn="false" output="screen" args="$(arg command_arg1) $(arg command_arg2) $(arg command_arg3) $(arg world)" /> | ||
|
||
|
||
<!-- Start gazebo client --> | ||
<group if="$(arg gui)"> | ||
<node name="gazebo_gui" pkg="gazebo_ros" type="gzclient" respawn="false" output="screen" /> | ||
</group> | ||
<!-- Spawn robot --> | ||
<arg name="urdf" default="$(find doris_description)/urdf/doris_description.urdf.xacro" /> | ||
<arg name="x" default="0" /> | ||
<arg name="y" default="0" /> | ||
<arg name="z" default="0" /> | ||
<arg name="name" default="pioneer3at_robot" /> | ||
<include file="$(find butia_navigation_gazebo)/spawn.launch"> | ||
<arg name="urdf" value="$(arg urdf)" /> | ||
<arg name="x" value="$(arg x)" /> | ||
<arg name="y" value="$(arg y)" /> | ||
<arg name="z" value="$(arg z)" /> | ||
</include> | ||
</group> | ||
|
||
<!-- Start map_server --> | ||
<node name="map_server" pkg="map_server" type="map_server" args="$(arg map)" /> | ||
|
||
<!-- Localization --> | ||
<include file="$(find butia_navigation_description)/config/amcl.launch.xml" /> | ||
|
||
<!-- Move base --> | ||
<arg name="cmd_vel" default="cmd_vel" /> | ||
<arg name="odom" default="odom" /> | ||
|
||
<include file="$(find butia_navigation_description)/config/move_base.launch.xml"> | ||
<arg name="cmd_vel_topic" value="$(arg cmd_vel)" /> | ||
<arg name="odom_topic" value="$(arg odom)" /> | ||
</include> | ||
|
||
<!-- RVIZ to view the visualization --> | ||
<node name="RVIZ" pkg="rviz" type="rviz" args=" -d $(find butia_navigation_gazebo)/navigate-pioneer3at.rviz" required="true" /> | ||
|
||
</launch> |
Oops, something went wrong.