Respected Prof,
Below is the image of exercise 4.11
The right one is my output and it is not the same as the output expected. What could be the reason ? Everything in my code is the same as the solution part.
Below I’ve give my launch file and yaml file
1. my_move_base_launch_2.launch:
<?xml version="1.0"?>
<launch>
<arg name="no_static_map" default="false"/>
<arg name="base_global_planner" default="navfn/NavfnROS"/>
<arg name="base_local_planner" default="dwa_local_planner/DWAPlannerROS"/>
<!-- <arg name="base_local_planner" default="base_local_planner/TrajectoryPlannerROS"/> -->
<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
<param name="base_global_planner" value="$(arg base_global_planner)"/>
<param name="base_local_planner" value="$(arg base_local_planner)"/>
<rosparam file="$(find my_move_base_launcher)/params/my_move_base_params.yaml" command="load"/>
<!-- observation sources located in costmap_common.yaml -->
<rosparam file="$(find husky_navigation)/config/costmap_common.yaml" command="load" ns="global_costmap" />
<rosparam file="$(find husky_navigation)/config/costmap_common.yaml" command="load" ns="local_costmap" />
<!-- local costmap, needs size -->
<rosparam file="$(find husky_navigation)/config/costmap_local.yaml" command="load" ns="local_costmap" />
<param name="local_costmap/width" value="10.0"/>
<param name="local_costmap/height" value="10.0"/>
<!-- static global costmap, static map provides size -->
<rosparam file="$(find my_move_base_launcher)/params/my_global_costmap_params.yaml" command="load" ns="global_costmap" unless="$(arg no_static_map)"/>
<!-- global costmap with laser, for odom_navigation_demo -->
<rosparam file="$(find husky_navigation)/config/costmap_global_laser.yaml" command="load" ns="global_costmap" if="$(arg no_static_map)"/>
<param name="global_costmap/width" value="100.0" if="$(arg no_static_map)"/>
<param name="global_costmap/height" value="100.0" if="$(arg no_static_map)"/>
</node>
</launch>
2. Below is yaml file:
Also, Now I see this one line of code at the top of all .launch files:
<?xml version="1.0"?>
What does this mean?