Skip to content

Commit

Permalink
Setted up launch file for AMCL and map server node
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeS96 committed Jul 14, 2020
1 parent 887db00 commit 5febd6d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions localization/where_am_i/my_robot/launch/amcl.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>

<launch>

<!-- Map Server -->
<arg name="map_file" default="$(find my_robot)/maps/map.yaml"/>
<node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)" />

<!-- AMCL Node -->
<node name="amcl" pkg="amcl" type="amcl" output="screen">
<param name="odom_frame_id" value="odom"/>
<param name="odom_model_type" value="diff-corrected"/>
<param name="base_frame_id" value="robot_footprint"/>
<param name="global_frame_id" value="map"/>

<!-- If you choose to define initial pose here -->
<param name="initial_pose_x" value="0.6"/>
<param name="initial_pose_y" value="-5.5"/>
</node>

</launch>

0 comments on commit 5febd6d

Please sign in to comment.