|
1 | 1 | <?xml version="1.0"?>
|
2 | 2 | <launch>
|
3 | 3 |
|
4 |
| - <!-- Run the map server --> |
5 |
| - <node name="map_server" pkg="map_server" type="map_server" args="$(find cob_default_config)/envs/$(env ROBOT_ENV)/map.yaml"/> |
6 |
| - |
7 |
| - <!--- Run AMCL --> |
8 |
| - <include file="$(find cob_2dnav)/ros/launch/amcl_omni.launch" /> |
9 |
| - |
10 |
| - <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen"> |
11 |
| - <remap from="cmd_vel" to="base_controller/command"/> |
12 |
| - <remap from="odom" to="base_odometry/odom"/> |
13 |
| - <rosparam file="$(find cob_2dnav)/ros/launch/costmap_common_params.yaml" command="load" ns="global_costmap" /> |
14 |
| - <rosparam file="$(find cob_2dnav)/ros/launch/costmap_common_params.yaml" command="load" ns="local_costmap" /> |
15 |
| - <rosparam file="$(find cob_2dnav)/ros/launch/local_costmap_params.yaml" command="load" /> |
16 |
| - <rosparam file="$(find cob_2dnav)/ros/launch/global_costmap_params.yaml" command="load" /> |
17 |
| - <rosparam file="$(find cob_2dnav)/ros/launch/base_local_planner_params.yaml" command="load" /> |
18 |
| - </node> |
19 |
| - |
20 |
| - <!-- Robot pose ekf --> |
21 |
| - <node pkg="robot_pose_ekf" type="robot_pose_ekf" name="robot_pose_ekf" output="screen"> |
22 |
| - <param name="freq" value="30.0"/> |
23 |
| - <param name="sensor_timeout" value="1.0"/> |
24 |
| - <param name="publish_tf" value="true"/> |
25 |
| - <param name="odom_used" value="true"/> |
26 |
| - <param name="imu_used" value="true"/> |
27 |
| - <param name="vo_used" value="false"/> |
28 |
| - <remap from="odom" to="base_controller/odometry" /> |
29 |
| - <remap from="imu_data" to="torso_lift_imu/data" /> |
30 |
| - </node> |
| 4 | + <!-- Run the map server --> |
| 5 | + <node name="map_server" pkg="map_server" type="map_server" args="$(find cob_default_config)/envs/$(env ROBOT_ENV)/map.yaml"/> |
| 6 | + |
| 7 | + <!--- Run AMCL --> |
| 8 | + <include file="$(find cob_2dnav)/ros/launch/amcl_omni.launch" /> |
| 9 | + |
| 10 | + <!--- Run move base --> |
| 11 | + <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen"> |
| 12 | + <remap from="cmd_vel" to="base_controller/command"/> |
| 13 | + <remap from="odom" to="base_controller/odometry"/> |
| 14 | + |
| 15 | + <!--- load common configuration files --> |
| 16 | + <rosparam file="$(find cob_2dnav)/ros/config/costmap_common_params.yaml" command="load" ns="global_costmap" /> |
| 17 | + <rosparam file="$(find cob_2dnav)/ros/config/costmap_common_params.yaml" command="load" ns="local_costmap" /> |
| 18 | + |
| 19 | + <!--- load global navigation specific parameters --> |
| 20 | + <rosparam file="$(find cob_2dnav)/ros/config/global/local_costmap_params.yaml" command="load" /> |
| 21 | + <rosparam file="$(find cob_2dnav)/ros/config/global/global_costmap_params.yaml" command="load" /> |
| 22 | + |
| 23 | + <!--- load planner parameters --> |
| 24 | + <rosparam file="$(find cob_2dnav)/ros/config/base_local_planner_params.yaml" command="load" /> |
| 25 | + </node> |
| 26 | + |
| 27 | + <!-- Robot pose ekf --> |
| 28 | + <include file="$(find cob_2dnav)/ros/launch/robot_pose_ekf.launch" /> |
31 | 29 |
|
32 | 30 | </launch>
|
0 commit comments